bug-libtool
[Top][All Lists]
Advanced

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

Infinite ./configure loop


From: Carlo Wood
Subject: Infinite ./configure loop
Date: Mon, 23 Oct 2000 12:14:32 +0200
User-agent: Mutt/1.1i

After a fresh CVS checkout I did:

./bootstrap
./configure --prefix=/usr/src/libtool/install-prefix

this resulted in an infinitely loop.

I edited ./configure (directly) in the base
directory (/usr/src/libtool/libtool) and added a few
echoes to this part:

# The second clause should only fire when bootstrapping the
# libtool distribution, otherwise you forgot to ship ltmain.sh
# with your package, and you will get complaints that there are
# no rules to generate ltmain.sh.
echo "PWD = `pwd`"
echo "ltmain = \"$ltmain\""
if test -f "$ltmain"; then
  :
else
  # If there is no Makefile yet, we rely on a make rule to execute
  # `config.status --recheck' to rerun these tests and create the
  # libtool script then.
  echo "WE ARE HERE" 1>&6 
  test -f Makefile && make "$ltmain"
  echo "WE GET HERE" 1>&6
fi  

(only) the four echoes where added.

The output of the ./configure --prefix=/usr/src/libtool/install-prefix
is then:

/usr/src/libtool/libtool>./configure --prefix=/usr/src/libtool/install-prefix
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found

----------------------------------------------------
Configuring libtool 1.3c (1.809 2000/10/02 01:18:16)
----------------------------------------------------

checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
PWD = /usr/src/libtool/libtool
ltmain = "./ltmain.sh"
WE ARE HERE
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --prefix=/usr/src/libtool/install-prefix 
--enable-ltdl-install --no-create --no-recursion
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found

----------------------------------------------------
Configuring libtool 1.3c (1.809 2000/10/02 01:18:16)
----------------------------------------------------

checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
PWD = /usr/src/libtool/libtool
ltmain = "./ltmain.sh"
WE ARE HERE
make[1]: Entering directory `/usr/src/libtool/libtool'
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --prefix=/usr/src/libtool/install-prefix 
--enable-ltdl-install --no-create --no-recursion
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
...etc

Indeed 'ltmain.sh' is missing.
I worked around this by copying ltmain.sh manually.

-- 
Carlo Wood <address@hidden>                        -=- Jesus Loves you -=-



reply via email to

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