W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

Bootstrap bug

From: John Summerfield <summer@OS2.ami.com.au>
Date: Mon, 21 Feb 2000 21:02:34 +0800
Message-Id: <200002211303.VAA29569@emu.os2.ami.com.au>
To: www-lib@w3.org
I did an anonymous CVS checkout of libwww today (our time) as described in 
the w3 pages into ~/w3library; the checkout created the subdirectory 

I created a script:
#!/bin/bash -x
export PATH=/opt/egcs3/bin:$PATH
cd libwww
perl config/winConfigure.pl || exit $?
aclocal || exit $?
autoheader || exit $?
automake || exit $?
autoconf || exit $?
rm -rf build
mkdir build
cd build
../configure --prefix=/usr --with-gnu-ld  --with-regex --with-zlib
sleep 40
make || exit $?

(the sleep overcomes a mismatch in times between my NFS server and my 
workstation; it has no relevant effect on the build process).
The final make fails:
Making all in User
make[3]: Entering directory `/u02/summer/w3library/libwww/build/Library/Use
(cd ../../../Library/User && \
perl ../../../config/makeindx.pl ../src/ ../src/WWW*.html > 
/bin/sh: ../../../Library/User/Extrnals.html: No such file or directory
make[3]: *** [Extrnals.html] Error 1
make[3]: Leaving directory `/u02/summer/w3library/libwww/build/Library/User
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/u02/summer/w3library/libwww/build/Library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u02/summer/w3library/libwww/build'
make: *** [all-recursive-am] Error 2
+ exit 2

After some head-scratching and assorted stuffing around, I find that ite 
build process is running the perl script in the wrong directory:
(cd ../../../Library/User &&pwd&& perl ../../../config/makeindx.pl ../src/ 
../src/WWW*.html > ../../../Library/User/Extrnals.html)

I copied the failing command and added 'pwd' to see what it's doing.

This fails on Red Hat Linux 5.x and 6.1 (and I expect, on every other 

Doubtless it will work if I don't build 'using a different directory.' I 
prefer to use the different directory as it highlights everything that's 

John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
Received on Monday, 21 February 2000 10:12:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC