PDA

View Full Version : Where is amgpgcrypt ?


jaymax
June 7th, 2008, 02:26 PM
Doing a 2.6.0 installation
./configure termnates Ok!
then 'make' hiccups

make: don't know how to make amgpgcrypt. Stop

Used several different tarball distros, consistent results and --
Can't find "amgpgcrypt" any where, perhaps someone out there can help

Thanks

dustin
June 7th, 2008, 06:00 PM
please post your ./configure command line

jaymax
June 9th, 2008, 05:24 PM
I'll have to recreate the line, normally I would have run config.status to run from the log. I had since cleanen up the shell as I was attempting a ports update. Is there a record of the comand line entry normally stored somewhere? Here is the Makefile from config.status output =>

machine_1> config.status
config.status: creating Makefile
config.status: creating amandad-src/Makefile
config.status: creating amplot/Makefile
config.status: creating changer-src/Makefile
config.status: creating client-src/Makefile
config.status: creating common-src/Makefile
config.status: creating common-src/versuff.c
config.status: creating config/Makefile
config.status: creating device-src/Makefile
config.status: creating device-src/tests/Makefile
config.status: creating dumper-src/Makefile
config.status: creating example/Makefile
config.status: creating example/amanda-client.conf
config.status: creating example/amanda.conf
config.status: creating example/chg-mcutil.conf
config.status: creating example/template.d/amanda-S3.conf
config.status: creating example/template.d/advanced.conf
config.status: creating example/template.d/amanda-harddisk.conf
config.status: creating example/template.d/amanda-single-tape.conf
config.status: creating example/template.d/amanda-tape-changer.conf
config.status: creating gnulib/Makefile
config.status: creating installcheck/Makefile
config.status: creating man/Makefile
config.status: creating oldrecover-src/Makefile
config.status: creating packaging/Makefile
config.status: creating perl/Makefile
config.status: creating po/Makefile
config.status: creating recover-src/Makefile
config.status: creating restore-src/Makefile
config.status: creating server-src/Makefile
config.status: creating tape-src/Makefile
config.status: creating config/config.h
config.status: config/config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands

Thanks!

dustin
June 9th, 2008, 09:04 PM
Look in the first few lines of config.status itself, or of config.log. The command-line should be included there. Please also include the last dozen or so lines before the 'make' error message.

jaymax
June 10th, 2008, 04:51 PM
Sorry, I missed it, it was in config.log

./configure --with-gnu-ld --with-user=jaymax --with-owner=root --with-group=staff


Prefailing lines =>

creating libamanda.la
(cd .libs && rm -f libamanda.la && ln -s ../libamanda.la libamanda.la)
/usr/local/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2 -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o amflock-test amflock-test.o libamanda.la -lm -Wl,--export-dynamic -pthread -L/usr/local/lib -lglib-2.0 -liconv -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lintl -lcrypto -L/usr/local/lib -lcurl -lssl -lcrypto -lz
gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2 -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o .libs/amflock-test amflock-test.o -Wl,--export-dynamic -pthread ./.libs/libamanda.so -L/usr/local/lib -lm /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so -pthread /usr/local/lib/libglib-2.0.so -liconv -lintl /usr/local/lib/libcurl.so -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib/amanda -Wl,--rpath -Wl,/usr/local/lib
creating amflock-test
make: don't know how to make amgpgcrypt. Stop
*** Error code 2

Stop in /usr/local/amanda/amanda-2.6.0p1/common-src.
*** Error code 1

Stop in /usr/local/amanda/amanda-2.6.0p1.


Thanks

jaymax
June 10th, 2008, 05:08 PM
Lines above were less than a dozen, just wrapped around considerably -including a larger slice here.

rm -fr .libs/libamanda.lax
mkdir .libs/libamanda.lax
rm -fr .libs/libamanda.lax/libgnu.a
mkdir .libs/libamanda.lax/libgnu.a
(cd .libs/libamanda.lax/libgnu.a && /usr/bin/ar x /usr/local/amanda/amanda-2.6.0p1/common-src/../gnulib/.libs/libgnu.a)
/usr/bin/ar cru .libs/libamanda.a alloc.o amfeatures.o amflock.o clock.o columnar.o conffile.o debug.o dgram.o event.o file.o fileheader.o glib-util.o match.o packet.o pipespawn.o protocol.o security.o security-util.o sl.o sockaddr-util.o stream.o tapelist.o timestamp.o token.o util.o versuff.o amflock-posix.o amflock-flock.o amflock-lockf.o amflock-lnlock.o bsd-security.o local-security.o version.o .libs/libamanda.lax/libgnu.a/base64.o .libs/libamanda.lax/libgnu.a/full-read.o .libs/libamanda.lax/libgnu.a/full-write.o .libs/libamanda.lax/libgnu.a/lock.o .libs/libamanda.lax/libgnu.a/asnprintf.o .libs/libamanda.lax/libgnu.a/fsusage.o .libs/libamanda.lax/libgnu.a/physmem.o .libs/libamanda.lax/libgnu.a/printf-args.o .libs/libamanda.lax/libgnu.a/printf-parse.o .libs/libamanda.lax/libgnu.a/safe-read.o .libs/libamanda.lax/libgnu.a/safe-write.o .libs/libamanda.lax/libgnu.a/tempname.o .libs/libamanda.lax/libgnu.a/vasnprintf.o
ranlib .libs/libamanda.a
rm -fr .libs/libamanda.lax
creating libamanda.la
(cd .libs && rm -f libamanda.la && ln -s ../libamanda.la libamanda.la)
/usr/local/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2 -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o amflock-test amflock-test.o libamanda.la -lm -Wl,--export-dynamic -pthread -L/usr/local/lib -lglib-2.0 -liconv -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lintl -lcrypto -L/usr/local/lib -lcurl -lssl -lcrypto -lz
gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2 -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o .libs/amflock-test amflock-test.o -Wl,--export-dynamic -pthread ./.libs/libamanda.so -L/usr/local/lib -lm /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so -pthread /usr/local/lib/libglib-2.0.so -liconv -lintl /usr/local/lib/libcurl.so -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib/amanda -Wl,--rpath -Wl,/usr/local/lib
creating amflock-test
make: don't know how to make amgpgcrypt. Stop
*** Error code 2

Stop in /usr/local/amanda/amanda-2.6.0p1/common-src.
*** Error code 1

Stop in /usr/local/amanda/amanda-2.6.0p1.

dustin
June 11th, 2008, 07:13 AM
From your use of --with-gne-ld, I suspect you're not using GNU make. Amanda requires GNU make to compile correctly. If this isn't the problem, then please verify that common-src/amgpgcrypt.pl exists, and try (cd common-src; gmake amgpgcrypt).

jaymax
June 15th, 2008, 10:22 PM
Thanks , that was the problem, thanks again.