[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fail to boostrap with CVS autoconf/automake
From: |
Ralf Wildenhues |
Subject: |
Re: fail to boostrap with CVS autoconf/automake |
Date: |
Wed, 7 Dec 2005 10:30:22 +0100 |
User-agent: |
Mutt/1.5.11 |
* Eric Blake wrote on Tue, Dec 06, 2005 at 09:13:42PM CET:
> > Using latest CVS autoconf/automake I am encountering this sort of
> > problem when bootstrapping/configuring libtool:
> >
> > config.status: executing libtool commands
> > sed: can't read libltdl/config/ltmain.sh: No such file or directory
> > sed: can't read libltdl/config/ltmain.sh: No such file or directory
> >
> > In fact, while running the bootstrap script, there are complaints
> > about this "missing" file for every directory.
>
> I've seen this when I run ./bootstrap on an already
> bootstrapped tree.
Am I correct that both of you do in-tree (non-VPATH) builds?
Please try the patch below.
BTW, I'm pretty sure the `bootstrap' step needs a capable `make'
(last time I tried, GNU make and NetBSD make worked).
Cheers,
Ralf
* bootstrap: always remove Makefile, to avoid triggering the
autotools rebuild rules before autoreconf builds these.
Reported by Bob Friesenhahn <address@hidden>.
Index: bootstrap
===================================================================
RCS file: /cvsroot/libtool/libtool/bootstrap,v
retrieving revision 1.73
diff -u -r1.73 bootstrap
--- bootstrap 20 Nov 2005 09:14:51 -0000 1.73
+++ bootstrap 7 Dec 2005 07:27:53 -0000
@@ -104,8 +104,8 @@
# Whip up a dirty Makefile:
makes='Makefile.am libltdl/Makefile.inc'
-test -f Makefile ||
- $SED '/^if /,/^endif$/d;/^else$/,/^endif$/d;/^include /d' $makes > Makefile
+rm -f Makefile
+$SED '/^if /,/^endif$/d;/^else$/,/^endif$/d;/^include /d' $makes > Makefile
# Building distributed files from configure is bad for automake, so we
# generate them here, and have Makefile rules to keep them up to date.