Amanda-Users

Re: compile fail on Soalris 10 X86/AMD64

2006-02-21 22:42:49
Subject: Re: compile fail on Soalris 10 X86/AMD64
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda users list <amanda-users AT amanda DOT org>
Date: Tue, 21 Feb 2006 22:33:54 -0500
On Tue, Feb 21, 2006 at 07:18:37PM -0500, stan wrote:
> 
> I'v got a brand spanking new Ultra 40, just for running Amanda! I',
> trhilled.
> 
> But, I seem to be having a problem geting either the stable version, or the
> latest 2.5 bersion to build coreclty. here's a logfile from the stable
> build.
> 
> 
> Script started on Tue Feb 21 18:57:19 2006
> root@amanda # make
...
> gcc -shared -Wl,-h -Wl,libamanda-2.4.5p1.so -o .libs/libamanda-2.4.5p1.so  =
> =2Elibs/alloc.o .libs/amflock.o .libs/clock.o .libs/debug.o .libs/dgram.o .=
> libs/error.o .libs/file.o .libs/fileheader.o .libs/amfeatures.o .libs/match=
> =2Eo .libs/protocol.o .libs/regcomp.o .libs/regerror.o .libs/regexec.o .lib=
> s/regfree.o .libs/security.o .libs/statfs.o .libs/stream.o .libs/token.o .l=
> ibs/util.o .libs/versuff.o .libs/version.o .libs/pipespawn.o .libs/sl.o  -l=
> gen -lm -ltermcap -lsocket -lnsl -lintl -lc=20

> (cd .libs && rm -f libamanda.so && ln -s libamanda-2.4.5p1.so libamanda.so)

  |||||
  vvvvv
> false cru .libs/libamanda.a  alloc.o amflock.o clock.o debug.o dgram.o erro=
> r.o file.o fileheader.o amfeatures.o match.o protocol.o regcomp.o regerror.=
> o regexec.o regfree.o security.o statfs.o stream.o token.o util.o versuff.o=
>  version.o pipespawn.o sl.o
> *** Error code 1
> make: Fatal error: Command failed for target `libamanda.la'

The command "false" should have been "ar", the "archive" command used to
build and extract from libraries.  Likely you are running some release
of Sol 10 and I'm unfamiliar with that.  In Sol 9 x86 "ar" is found in
/usr/xpg4/bin and in /usr/ccs/bin.

A guess, when you ran configure the directory containing ar was not in your
PATH, configure couldn't find ar and thus used the false command instead.
Your Makefile probably contains a line like   AR = /usr/bin/false  .

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)