Amanda-Users

make install problem, irix, amanda 2.4.4p1 (7/16 snapshot)

2003-09-18 09:36:52
Subject: make install problem, irix, amanda 2.4.4p1 (7/16 snapshot)
From: Brian Cuttler <brian AT wadsworth DOT org>
To: amanda-users AT amanda DOT org, Chris Knight <knight AT sodor.wadsworth DOT org>
Date: Thu, 18 Sep 2003 09:31:10 -0400 (EDT)
>From scratch using the 7/16 snapshot of 2.4.4p1.

build seems to run ok

# ./configure --with-tcpportrange=10084,10100 --with-udpportrange=932,948 \
    --with-user=amanda --with-group=sys

Will not include the make output (its too big but will sent it if
its requested).

Runing make a second time shows no errors (everything is already
built so no work is really performed). I do this to catch any errors
from the first time though, is something doesn't build it'll retry
and I'll see the compiler/linker errors more easilly (valid theory?).

Make install doesn't get very far, though the file we are trying to
install seems to be present and available.

Oh, ran unzip, untar and make as myself (brian), run the install
as root. /usr/local/lib is local to the box.

bali 8# df  /usr/local/lib
Filesystem             Type  blocks     use     avail  %use Mounted on
/dev/root               xfs 35287456 27384640  7902816  78  /

All work is done on the local system (amanda server "bali").

bali 7# ls -l /usr/local/lib/libam*
-rwxr-xr-x    1 root     sys       195256 Mar  1  1999 
/usr/local/lib/libamanda.so.2.0.0
-rw-r--r--    1 root     sys        29684 Sep 18 08:39 
/usr/local/lib/libamclient-2.4.1p1.so.0.0.0
-rw-r--r--    1 root     sys        36708 Sep 18 08:39 
/usr/local/lib/libamclient.a
-rw-r--r--    1 root     sys          517 Sep 18 08:39 
/usr/local/lib/libamclient.la
lrwxr-xr-x    1 root     sys           28 Sep 18 08:39 /usr/local/lib/libamclien
<lines removed>


bali 2# make install
Making install in config
Making install in common-src
        /bin/sh ../config/mkinstalldirs /usr/local/lib
 /bin/sh ../libtool --mode=install /usr/local/bin/install -c  libamanda.la 
/usr/local/lib/libamanda.la
/usr/local/bin/install -c .libs/libamanda-2.4.4p1-20030716.so 
/usr/local/lib/libamanda-2.4.4p1-20030716.so
/usr/local/bin/install: can't open libamanda-2.4.4p1-20030716.so: No such file 
or directory.
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

Problem looks like the source file is missing, but I believe I see it
and should be able to read it.

Oh, just for clarity, current directory is not local to the box but
I should have sufficient access to the files, no ?

# df .
Filesystem             Type  blocks     use     avail  %use Mounted on
csserv:/source          nfs 34826500 32954956  1871544  95  
/tmp_mnt/local/source

bali 3# ls -l common-src/.libs
total 1626
-rwxr-xr-x    1 brian    nuucp     353392 Sep 18 09:16 
libamanda-2.4.4p1-20030716.so
-rw-r--r--    1 brian    nuucp     475860 Sep 18 09:16 libamanda.a
lrwxr-xr-x    1 brian    csusers       15 Sep 18 09:16 libamanda.la -> 
../libamanda.la
-rw-r--r--    1 brian    nuucp        820 Sep 18 09:16 libamanda.lai
lrwxr-xr-x    1 brian    csusers       29 Sep 18 09:16 libamanda.so -> 
libamanda-2.4.4p1-20030716.so
-rw-r--r--    1 brian    nuucp        109 Sep 18 09:16 so_locations


bali 13# ls -l /usr/local/lib/libamanda*
-rwxr-xr-x    1 root     sys       195256 Mar  1  1999 /usr/local/lib/libamanda.

This is really weird but shouldn't prevent a root write to the directory.

bali 14# ls -ld /usr/local/lib
drwxrwxr-x   25 leith    dev         4096 Sep 18 09:00 /usr/local/lib

bali 15# chown root:sys /usr/local/lib
bali 16# make install
Making install in config
Making install in common-src
        /bin/sh ../config/mkinstalldirs /usr/local/lib
 /bin/sh ../libtool --mode=install /usr/local/bin/install -c  libamanda.la 
/usr/local/lib/libamanda.la
/usr/local/bin/install -c .libs/libamanda-2.4.4p1-20030716.so 
/usr/local/lib/libamanda-2.4.4p1-20030716.so
/usr/local/bin/install: can't open libamanda-2.4.4p1-20030716.so: No such file 
or directory.
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)


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