Amanda-Users

Building amanda on Mac OS X

2005-07-07 17:16:54
Subject: Building amanda on Mac OS X
From: Chris Marble <cmarble AT odin.ac.hmc DOT edu>
To: amanda-users AT amanda DOT org
Date: Thu, 7 Jul 2005 14:01:43 -0700 (PDT)
I'm tring to build amanda client on a new Mac 10.4.1 box.

./configure --prefix=/usr/local/amanda-2.4.5 --with-user=amanda 
--with-group=wheel --with-config=hmcis --without-server 
--host=powerpc-apple-darwin

Then a simple make which ends with:
/bin/sh ../libtool --mode=link gcc  -g -O2     -o libamanda.la -rpath 
/usr/local/amanda-2.4.5/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  -lm  
-ltermcap
gcc -dynamiclib -flat_namespace -undefined suppress -o 
.libs/libamanda-2.4.5.dylib  .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  -lm -ltermcap -install_name  
/usr/local/amanda-2.4.5/lib/libamanda-2.4.5.dylib
/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -lm 
is not an object file (not allowed in a library)
/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: 
-lSystem is not an object file (not allowed in a library)
make[1]: *** [libamanda.la] Error 1
make: *** [all-recursive] Error 1

I did a "make distclean" and tried it with
 ./configure --prefix=/usr/local/amanda-2.4.5 --with-user=amanda 
--with-group=wheel --with-config=hmcis --without-server
and the make fails with the same message.

Suggestions?  My amanda server is 2.4.4p1 so I can use an older version.
I just wanted the latest on the new client.
-- 
  Chris_Marble AT hmc DOT edu - HMC UNIX Systems Manager
  My opinions are my own and probably don't represent anything anyway.

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