Amanda-Users

RE: can't make on Solaris 10: Failed make install!

2008-01-09 10:45:52
Subject: RE: can't make on Solaris 10: Failed make install!
From: "Byarlay, Wayne A." <wab AT purdue DOT edu>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Wed, 9 Jan 2008 10:39:18 -0500
Yes; in fact here's a tall screen grab of the tail end of the make install:



.
.
.

dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='gnulib  config  common-src  amandad-src  tape-src  client-src dumper-src  
server-src changer-src  restore-src  recover-src oldrecover-src  amplot  man 
docs example'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'
-bash-3.00# echo $PATH         
/usr/bin:usr/local/bin:/usr/ccs/bin:/usr/sfw/bin
-bash-3.00# PATH=/usr/bin:/usr/local/bin:usr/sfw/bin
-bash-3.00# echo $PATH
/usr/bin:/usr/local/bin:usr/sfw/bin
-bash-3.00# make install
-bash: make: command not found
-bash-3.00# pwd
/amanda/amanda-2.5.2p1
-bash-3.00# /usr/gcc/bin/make install
-bash: /usr/gcc/bin/make: No such file or directory
-bash-3.00# /usr/ccs/bin/make install
Making install in gnulib
/usr/ccs/bin/make  install-am
Making install in config
Making install in common-src
test -z "/usr/local/lib" || /bin/bash ../config/mkinstalldirs "/usr/local/lib"
 /bin/bash ../libtool --mode=install ../config/install-sh -c  'libamanda.la' 
'/usr/local/lib/libamanda.la'
../config/install-sh -c .libs/libamanda-2.5.2p1.so 
/usr/local/lib/libamanda-2.5.2p1.so
(cd /usr/local/lib && { ln -s -f libamanda-2.5.2p1.so libamanda.so || { rm -f 
libamanda.so && ln -s libamanda-2.5.2p1.so libamanda.so; }; })
chmod +x /usr/local/lib/libamanda-2.5.2p1.so
../config/install-sh -c .libs/libamanda.lai /usr/local/lib/libamanda.la
../config/install-sh -c .libs/libamanda.a /usr/local/lib/libamanda.a
ranlib /usr/local/lib/libamanda.a
../libtool: line 6226: ranlib: command not found
*** Error code 127
The following command caused the error:
list='libamanda.la'; for p in $list; do \
  if test -f $p; then \
    f=`echo $p | sed -e 's|^.*/||'`; \
    echo " /bin/bash ../libtool --mode=install ../config/install-sh -c  '$p' 
'/usr/local/lib/$f'"; \
    /bin/bash ../libtool --mode=install ../config/install-sh -c  "$p" 
"/usr/local/lib/$f"; \
  else :; fi; \
done
make: Fatal error: Command failed for target `install-libLTLIBRARIES'
Current working directory /amanda/amanda-2.5.2p1/common-src
*** Error code 1
The following command caused the error:
/usr/ccs/bin/make  install-exec-am install-data-am
make: Fatal error: Command failed for target `install-am'
Current working directory /amanda/amanda-2.5.2p1/common-src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='gnulib  config  common-src  amandad-src  tape-src  client-src dumper-src  
server-src changer-src  restore-src  recover-src oldrecover-src  amplot  man 
docs example'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && /usr/ccs/bin/make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  /usr/ccs/bin/make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'


-bash-3.00#












-----Original Message-----
From: djmitche AT gmail DOT com [mailto:djmitche AT gmail DOT com] On Behalf Of 
Dustin J. Mitchell
Sent: Wednesday, January 09, 2008 10:37 AM
To: Byarlay, Wayne A.
Cc: amanda-users AT amanda DOT org
Subject: Re: can't make on Solaris 10: Failed make install!

On Jan 9, 2008 10:19 AM, Byarlay, Wayne A. <wab AT purdue DOT edu> wrote:
> But, as it seems, now "make install" fails with "make: Fatal error: Command 
> failed for target 'install-recursive'
>
> Do I need to install gmake? (have downloaded it already from the gnu site).

Yes, but I would be surprised if you got that far without using it.
IIRC, it's already at /usr/sfw/bin/gmake.  Can you send the preceding
couple of lines to that failure?

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com