Amanda-Users

make install fails for amanda-2.6.0b2-20080306

2008-03-06 09:43:39
Subject: make install fails for amanda-2.6.0b2-20080306
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org, amanda-devel AT amanda DOT org
Date: Thu, 06 Mar 2008 09:34:59 -0500
I hasdn't built one since amanda-2.6.0b2-20080229 as it has been a busy week.

It builds ok, but the make install bails out:
===============
make  install-data-hook
make[4]: Entering directory `/home/amanda/amanda-2.6.0b2-20080306/common-src'
Setting installation permissions on data
  (dest=/usr/local/sbin)
  (chown=amanda)
chown amanda:disk /usr/local/sbin/amgpgcrypt
chown amanda:disk /usr/local/sbin/amcryptsimple
chown amanda:disk /usr/local/sbin/amcrypt
chown amanda:disk /usr/local/sbin/amaespipe
chown amanda:disk /usr/local/sbin/amcrypt-ossl
chown amanda:disk /usr/local/sbin/amcrypt-ossl-asym
  (dest=)
  (chown=amanda)
chown amanda:disk /amanda-sh-lib.sh
chown: cannot access `/amanda-sh-lib.sh': No such file or directory
make[4]: *** [installperms-data] Error 1
make[4]: Leaving directory `/home/amanda/amanda-2.6.0b2-20080306/common-src'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/amanda/amanda-2.6.0b2-20080306/common-src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/amanda/amanda-2.6.0b2-20080306/common-src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/amanda/amanda-2.6.0b2-20080306/common-src'
make: *** [install-recursive] Error 1
==================
What did I do wrong?  Same old build script I've been using for a year or 
more:
===============
#!/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-gnu-ld \
        --prefix=/usr/local \
        --with-tapedev="FILE:/amandatapes" \
        --with-debugging=/tmp/amanda-dbg/ \
        --with-tape-server=coyote \
        --with-bsdtcp-security --with-amandahosts \
        --with-configdir=/usr/local/etc/amanda \
        --with-config=Daily \
        --with-gnutar=/bin/tar

make
==============
FWIW, amanda-2.6.0b2-20080304 just built, installed and amchecks ok. 
amanda-2.6.0b2-20080305 coming up.  And it fails the build with a different 
error:
==============
config.status: creating amgtar
chmod a+x amgtar
make[2]: *** No rule to make target `generic-dumper', needed by `all-am'.  
Stop.
make[2]: Leaving directory `/home/amanda/amanda-2.6.0b2-20080305/dumper-src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/amanda/amanda-2.6.0b2-20080305/dumper-src'
make: *** [all-recursive] Error 1
==============
So I guess I'm running 304 tonight.  Its the last good build AND install.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Operative: "When your quarry goes to ground, leave no ground to go to."
                                --"Serenity"

<Prev in Thread] Current Thread [Next in Thread>