Amanda-Users

Re: Problems compiling Amanda on Solaris

2005-06-22 11:57:16
Subject: Re: Problems compiling Amanda on Solaris
From: "khalid maqsudi" <khalid7621 AT hotmail DOT com>
To: "Aaron Taylor" <kusoneko AT gmail DOT com>, <amanda-users AT amanda DOT org>
Date: Wed, 22 Jun 2005 11:36:15 -0400
I had the same error a few weeks ago.  When you do a make, use the bsd
version.  /usr/ccs/bin/make and it should work fine.

-Khalid


----- Original Message ----- 
From: "Aaron Taylor" <kusoneko AT gmail DOT com>
To: <amanda-users AT amanda DOT org>
Sent: Tuesday, June 21, 2005 7:16 PM
Subject: Problems compiling Amanda on Solaris


> I'm trying to compile Amanda 2.4.5 on Solaris 10 3/05 on an E450.
>
> I searched the list archives and google, but haven't had much luck at
> finding anything.
>
> I created and amanda user and group, my configure line was:
> "./configure --with-user=amanda --with-group=amanda". Then, I did a
> "make" and get the output at the bottom of this message. I'm having a
> heck of a time finding anything to do with this on Google and the error
> message isn't too descriptive(at least to me). Anyone have any
> suggestions or is there more info I can post to help diagnose this?
>
> Making all in config
> make[1]: Entering directory `/usr/local/src/amanda-2.4.5/config'
> make  all-am
> make[2]: Entering directory `/usr/local/src/amanda-2.4.5/config'
> make[2]: Leaving directory `/usr/local/src/amanda-2.4.5/config'
> make[1]: Leaving directory `/usr/local/src/amanda-2.4.5/config'
> Making all in common-src
> make[1]: Entering directory `/usr/local/src/amanda-2.4.5/common-src'
> /bin/bash ../libtool --mode=link gcc  -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -g -O2    -R/usr/local/lib -L/usr/local/lib  -o
> libamanda.la -rpath /usr/local/lib -release 2.4.5 alloc.lo amflock.lo
> clock.lo debug.lo dgram.lo error.lo file.lo fileheader.lo amfeatures.lo
> match.lo protocol.lo regcomp.lo regerror.lo regexec.lo regfree.lo
> security.lo statfs.lo stream.lo token.lo util.lo versuff.lo version.lo
> pipespawn.lo sl.lo  -lgen -lm  -ltermcap -lsocket -lnsl -lintl
> rm -fr  .libs/libamanda-2.4.5.so .libs/libamanda.so
> gcc -shared -Wl,-h -Wl,libamanda-2.4.5.so -o .libs/libamanda-2.4.5.so
> .libs/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.o .libs/protocol.o .libs/regcomp.o .libs/regerror.o
> .libs/regexec.o .libs/regfree.o .libs/security.o .libs/statfs.o
> .libs/stream.o .libs/token.o .libs/util.o .libs/versuff.o
> .libs/version.o .libs/pipespawn.o .libs/sl.o  -R/usr/local/lib
> -L/usr/local/lib -lgen -lm -ltermcap -lsocket -lnsl -lintl -lc
> (cd .libs && rm -f libamanda.so && ln -s libamanda-2.4.5.so
> libamanda.so)
> false cru .libs/libamanda.a  alloc.o amflock.o clock.o debug.o dgram.o
> error.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
> make[1]: *** [libamanda.la] Error 1
> make[1]: Leaving directory `/usr/local/src/amanda-2.4.5/common-src'
> make: *** [all-recursive] Error 1
> -- 
> Thanks,
>    -Aaron Taylor
>
>