[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bootstrap problem?

From: Dave Morrison
Subject: bootstrap problem?
Date: Thu, 03 May 2001 16:31:39 -0400


Unless I'm mistaken, it seems that the CVS automake has developed a bit
of a a bootstrap problem with the introduction of 
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/ 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
BEGIN failed--compilation aborted at
/home/dave/software/gnu/a-b/automake line 39.
make: *** [../automake/] Error 2

The problem is that Automake/ 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)

RCS file: /cvs/automake/automake/,v
retrieving revision 1.79
diff -u -r1.79
---        2001/05/03 08:21:05     1.79
+++        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=."
 if test -z "$PERL"; then


David Morrison  Brookhaven National Laboratory  phone: 631-344-5840
                Physics Department, Bldg 510 C    fax: 631-344-3253
                          Upton, NY 11973-5000  email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]