Neil,

I built 3.3.0 ok on my systems, but have it running on only 
1/3 where I tried to install it. I can dig up the thread if
you'd like, it would be nice to resolve it and maybe together
we can find out what I did wrong.

As a matter of course though, I build once, tar up the installation
tree and move it to the next box. I need to make install but I never
re-run configure nor the primary make of the binaries if I can
avoid it.

                                                best of luck,

                                                Brian

On Thu, Dec 15, 2011 at 02:38:34PM -0600, Neil Carter wrote:
> 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
---
   Brian R Cuttler                 brian.cutt...@wadsworth.org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to