Greetings:
I've successfully compiled the Amanda 3.3.0 client on one Solaris 10 SPARC
box (configure/make/make install), and it works!
On my second of five boxes, the configure runs ok, I think, but the make
craps out.
Configure syntax:
*./configure CC=/opt/SUNWspro/bin/cc CXX=CC CFLAGS="-xO3 -g
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
> CPPFLAGS="-I/usr/include" CPPFLAGS="-I/usr/include" --without-ipv6
--with-user=amandabackup --with-group=disk \
> --without-server --without-restore*
Last few lines of 'make' results:
*Making all in ndmp-src
make all-am
source='ndmp0_xdr.c' object='ndmp0_xdr.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
/bin/bash ../libtool --tag=CC --mode=compile /opt/SUNWspro/bin/cc
-DHAVE_CONFIG_H -I. -I../config -I../common-src -I../common-src
-I../gnulib -I/usr/include -D_REENTRANT -D_GNU_SOURCE
-I/usr/local/include -mt -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-DNDMOS_CONST_NDMJOBLIB_REVISION='"amanda-3.3.0"' -xO3 -g
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -c -o ndmp0_xdr.lo ndmp0_xdr.c
libtool: compile: /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I../config
-I../common-src -I../common-src -I../gnulib -I/usr/include -D_REENTRANT
-D_GNU_SOURCE -I/usr/local/include -mt -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-DNDMOS_CONST_NDMJOBLIB_REVISION=\"amanda-3.3.0\" -xO3 -g
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -c ndmp0_xdr.c -KPIC -DPIC -o .libs/ndmp0_xdr.o
"../gnulib/time.h", line 39: invalid directive
"../gnulib/stdio.h", line 35: invalid directive
"../gnulib/stdio.h", line 724: syntax error before or at: *
"../gnulib/stdio.h", line 740: syntax error before or at: *
"../gnulib/stdio.h", line 743: undefined symbol: f
"/usr/include/rpc/xdr.h", line 535: syntax error before or at: FILE
"/usr/include/rpc/xdr.h", line 535: warning: undefined or missing type for:
FILE
"/usr/include/rpc/xdr.h", line 535: warning: undefined or missing type for:
const
cc: acomp failed for ndmp0_xdr.c
*** Error code 1
make: Fatal error: Command failed for target `ndmp0_xdr.lo'
Current working directory /u01/amanda-3.3.0/ndmp-src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /u01/amanda-3.3.0/ndmp-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 all-recursive | sed s/-recursive//`; \
list='. gnulib config common-src amar-src amandad-src xfer-src
ndmp-src client-src application-src recover-src oldrecover-src
perl po man example packaging installcheck'; 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; \
(CDPATH="${ZSH_VERSION+.}:" && 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 `all-recursive'
Current working directory /u01/amanda-3.3.0
*** Error code 1
make: Fatal error: Command failed for target `all'*
Now, I'm no developer, obviously, but I've always gotten the make to run
successfully if configure completed before.
Any help?
Thanks!!!
Neil