On Monday 22 December 2003 12:43, Frank Smith wrote:
>--On Monday, December 22, 2003 17:23:07 +0000 Dean Pullen
<dean.pullen AT virtuefusion DOT com> wrote:
>> Well it looks like I'd better make it myself...I was dreading
>> this.
>>
>> Used Gene's script, then did a make install as root and got:
>>
>># /bin/sh ../config/mkinstalldirs /usr/bin/man/man8 # mkdir
>> /usr/bin/man # mkdir: `/usr/bin/man' exists but is not a directory
>> # mkdir /usr/bin/man/man8 # mkdir: cannot create directory
>> `/usr/bin/man/man8': Not a directory # make[2]: *** [install-man8]
>> Error 1 # make[2]: Leaving directory `/amanda-2.4.4p1/man'
>># make[1]: *** [install-am] Error 2
>># make[1]: Leaving directory `/amanda-2.4.4p1/man'
>># make: *** [install-recursive] Error 1
>>
>>
>> Help! :-/
>
>Looks like you are trying to stuff the man pages in a bin directory
>(/usr/bin/man is the man command, the installer should be trying to
>use the directory /usr/man, /usr/share/man, /usr/local/man, or
>wherever it goes on your platform. I'm guessing something's amiss
>in Gene's configure script (possibly a line got truncated, wrapped,
>or dropped).
>
>Frank
Here it is again. Please note that there cannot be any characters
after the backslash except the invisible newline.
---------------------------------
#!/bin/sh
# since I'm always forgetting to su amanda...
if [ `whoami` != 'amanda' ]; then
echo
echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
echo "Amanda needs to be configured and built by the user amanda,"
echo "but must be installed by user root."
echo
exit 1
fi
make clean
rm -f config.status config.cache
./configure --with-user=amanda \
--with-group=disk \
--with-owner=amanda \
--with-tape-device=/dev/nst0 \
--with-changer-device=/dev/sg1 \
--with-gnu-ld --prefix=/usr/local \
--with-debugging=/tmp/amanda-dbg/ \
--with-tape-server=coyote.coyote.den \
--with-amandahosts \
--with-configdir=/usr/local/etc/amanda
make
---------------------------------------
Save the message without opening it in an editor, then edit the
message down to the script, not including the -------------------
lines.
Better yet, I'll attach it this time too.
Just save it and chmod +x, or run it with an "sh <gh.cf"
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
gh.cf
Description: application/shellscript
|