I am compiling amanda on the following:

[332][root@hertz]:src/amanda/amanda# uname -a
SunOS hertz.math.purdue.edu 5.10 Generic_142901-11 i86pc i386 i86pc

This is the script that I use:

+++++\
PATH="/opt/SunStudio/bin:/usr/sfw/bin:/usr/bin:/usr/sbin:/usr/bin:/usr/ccs/bin" 
export PATH

LD_LIBRARY_PATH="/usr/lib:/usr/include:/usr/sfw/lib:/usr/local/lib" 
export LD_LIBRARY_PATH

./configure \
        CC=/opt/SunStudio/bin/cc \
        LDFLAGS="-L/usr/sfw/lib -L/usr/local/lib/amanda -R/usr/sfw/lib 
-R/usr/local/lib/amanda " \
        CPFLAGS="-I/usr/sfw/include -I/usr/swf/include" \
        CLFAGS="/usr/sfw/include -I/usr/sfw/include -I/usr/local/include" \
        MTX=/opt/csw/sbin/mtx \
        PERL=/opt/csw/bin/perl \
        GNUTAR=/usr/sfw/bin/gtar \
        --prefix=/local/amanda/amanda \
        --with-user=amandabackup \
        --with-group=amanda  \
        --with-gnuplot=/opt/csw/bin/gnuplot \
        --with-gnutar-listdir=/var/amanda/gnutar-lists \
        --with-index-server=hertz \
        --with-tape-server=hertz \
        --without-ipv6 \
        --with-bsd-security \
        --with-bsdtcp-security \
        --enable-static-binary \
        --disable-s3-device  
+++++

This is a snippet of the output.

+++++
libtool: compile:  /opt/SunStudio/bin/cc -DHAVE_CONFIG_H -I. -I../config 
-I../common-src -I../common-src -I../gnulib -D_REENTRANT -D_GNU_SOURCE -mt 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -c amar.c -o amar.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=link /opt/SunStudio/bin/cc  -g 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -release 3.2.3 -L/usr/sfw/lib 
-L/usr/local/lib/amanda -R/usr/sfw/lib -R/usr/local/lib/amanda   -o libamar.la 
-rpath /local/amanda/amanda/lib/amanda amar.lo ../common-src/libamanda.la -lm 
-mt -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0   -lsocket -lnsl 
-lresolv -lintl -lcrypto  
libtool: link: /opt/SunStudio/bin/cc -G -h libamar-3.2.3.so -o 
.libs/libamar-3.2.3.so  .libs/amar.o   
-R/local/src/amanda/amanda-3.2.3/common-src/.libs 
-R/local/amanda/amanda/lib/amanda -R/usr/sfw/lib -R/usr/local/lib/amanda 
-L/usr/sfw/lib -L/usr/local/lib/amanda ../common-src/.libs/libamanda.so -lm 
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lsocket -lnsl -lresolv 
-lintl -lcrypto -lc  -mt   -mt
libtool: link: (cd ".libs" && rm -f "libamar.so" && ln -s "libamar-3.2.3.so" 
"libamar.so")
libtool: link: /usr/ccs/bin/ar cru .libs/libamar.a  amar.o
libtool: link: ranlib .libs/libamar.a
egrep: syntax error
egrep: syntax error
egrep: syntax error
egrep: syntax error
egrep: syntax error
egrep: syntax error
egrep: syntax error
+++++

Throughout the compile I get the egrep syntax error. It does not seem to cause 
problems as the compile completes and the test all run correctly.

I looked at the libtool script but not sure how to track this down. 

Any suggestions.

Robert




_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System                    EMAIL: [email protected]
Purdue University                            ROOM: MATH-807
Department of Mathematics                   PHONE: (765) 494-6055
150 N. University Street                      
West Lafayette, IN 47907-2067            
 


Reply via email to