Hi,
Unless I'm mistaken, it seems that the CVS automake has developed a bit
of a a bootstrap problem with the introduction of Automake::Struct.pm.
If I try to build things from scratch, I get this:
# ../automake/configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for perl... /usr/local/bin/perl
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating lib/Automake/Makefile
creating m4/Makefile
creating tests/Makefile
creating automake
creating aclocal
# make
cd ../automake && /home/dave/software/gnu/a-b/aclocal --acdir=m4
cd ../automake && \
/home/dave/software/gnu/a-b/automake --amdir=. --gnits Makefile
Can't locate Automake/Struct.pm in @INC (@INC contains:
/usr/local/share/automake /opt/phenix/lib/perl5/site_perl
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at /home/dave/software/gnu/a-b/automake line
39.
BEGIN failed--compilation aborted at
/home/dave/software/gnu/a-b/automake line 39.
make: *** [../automake/Makefile.in] Error 2
The problem is that Automake/Struct.pm hasn't been installed yet, but
it's needed during the build. Like I said, maybe I'm doing something
odd, but I have successfully built CVS automake about a million times
before. Here's one simple way to solve things (I'm sure there are more
clever ways)
Index: configure.in
===================================================================
RCS file: /cvs/automake/automake/configure.in,v
retrieving revision 1.79
diff -u -r1.79 configure.in
--- configure.in 2001/05/03 08:21:05 1.79
+++ configure.in 2001/05/03 20:30:49
@@ -4,7 +4,7 @@
AM_INIT_AUTOMAKE(automake, 1.4e)
ACLOCAL="`pwd`/aclocal --acdir=m4"
-AUTOMAKE="`pwd`/automake --amdir=."
+AUTOMAKE="env PERL5LIB=./lib `pwd`/automake --amdir=."
AC_PATH_PROG(PERL, perl)
if test -z "$PERL"; then
Enjoy,
Dave
--
David Morrison Brookhaven National Laboratory phone: 631-344-5840
Physics Department, Bldg 510 C fax: 631-344-3253
Upton, NY 11973-5000 email: [EMAIL PROTECTED]