libtool
[Top][All Lists]
Advanced

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

how to break out of the libtool rathole ?


From: Dennis Clarke
Subject: how to break out of the libtool rathole ?
Date: Wed, 17 Jul 2013 12:54:58 -0400

It seems that libtool needs libtool in order to build libtool. 

A circular dependency on itself, is just plain EVIL. 

Consider this : 

download sources to libtool-2.4.2.

extract. 

run configure : 


mimas$ ./configure --enable-dependency-tracking --enable-shared --enable-static
## ------------------------- ##
## Configuring libtool 2.4.2 ##
## ------------------------- ##

checking for a BSD-compatible install... libltdl/config/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... libltdl/config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
configure: autobuild project... GNU Libtool
configure: autobuild revision... 2.4.2 ()
configure: autobuild hostname... mimas
configure: autobuild mode... default
configure: autobuild timestamp... 20130717T163938Z
checking for gcc... /opt/studio/SOS11/SUNWspro/bin/cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/cc accepts -g... yes
checking for /opt/studio/SOS11/SUNWspro/bin/cc option to accept ISO C89... none 
needed
checking for style of include used by /usr/local/bin/gmake... GNU
checking dependency style of /opt/studio/SOS11/SUNWspro/bin/cc... dashXmstdout
checking whether /opt/studio/SOS11/SUNWspro/bin/cc and cc understand -c and -o 
together... yes
checking how to run the C preprocessor... /opt/studio/SOS11/SUNWspro/bin/cc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for fgrep... /usr/xpg4/bin/grep -F
checking for non-GNU ld... /usr/ccs/bin/sparcv9/ld
checking if the linker (/usr/ccs/bin/sparcv9/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... no
checking whether the shell understands "+="... no
checking how to convert sparc-sun-solaris2.8 file names to sparc-sun-solaris2.8 
format... func_convert_file_noop
checking how to convert sparc-sun-solaris2.8 file names to toolchain format... 
func_convert_file_noop
checking for /usr/ccs/bin/sparcv9/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from 
/opt/studio/SOS11/SUNWspro/bin/cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking for /opt/studio/SOS11/SUNWspro/bin/cc option to produce PIC... -KPIC 
-DPIC
checking if /opt/studio/SOS11/SUNWspro/bin/cc PIC flag -KPIC -DPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/cc static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/cc supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/cc supports -c -o file.o... (cached) 
yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/cc linker 
(/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... yes
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking whether we are using the GNU C++ compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/CC accepts -g... yes
checking dependency style of /opt/studio/SOS11/SUNWspro/bin/CC... dashXmstdout
checking how to run the C++ preprocessor... /opt/studio/SOS11/SUNWspro/bin/CC -E
checking whether the /opt/studio/SOS11/SUNWspro/bin/CC linker 
(/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes
checking for /opt/studio/SOS11/SUNWspro/bin/CC option to produce PIC... -KPIC 
-DPIC
checking if /opt/studio/SOS11/SUNWspro/bin/CC PIC flag -KPIC -DPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/CC static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/CC supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/CC supports -c -o file.o... (cached) 
yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/CC linker 
(/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU Fortran 77 compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/f90 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for /opt/studio/SOS11/SUNWspro/bin/f90 option to produce PIC... -KPIC
checking if /opt/studio/SOS11/SUNWspro/bin/f90 PIC flag -KPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... 
(cached) yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/f90 linker 
(/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU Fortran compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/f90 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for /opt/studio/SOS11/SUNWspro/bin/f90 option to produce PIC... -KPIC
checking if /opt/studio/SOS11/SUNWspro/bin/f90 PIC flag -KPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... 
(cached) yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/f90 linker 
(/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for gccgo... no
checking for gcj... no
checking for windres... no
checking whether /usr/local/bin/gmake supports order-only prerequisites... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
mimas$ 

lovely .. run gmake and watch the process fail : 

mimas$ gmake
sed -e s,@MACRO_VERSION\@,2.4.2,g -e s,@MACRO_REVISION\@,1.3201,g -e 
s,@MACRO_SERIAL\@,3201,g -e s,@PACKAGE\@,libtool,g -e 
s,@PACKAGE_BUGREPORT\@,address@hidden,g -e 
s,@PACKAGE_URL\@,http://www.gnu.org/software/libtool/,g -e 
s,@PACKAGE_NAME\@,GNU Libtool,g -e s,@package_revision\@,1.3201,g -e 
s,@PACKAGE_STRING\@,GNU Libtool 2.4.2,g -e s,@PACKAGE_TARNAME\@,libtool,g -e 
s,@PACKAGE_VERSION\@,2.4.2,g -e s,@TIMESTAMP\@,,g -e s,@VERSION\@,2.4.2,g 
./libltdl/m4/ltversion.in > ./libltdl/m4/ltversion.m4
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/local/bin/bash 
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001/libltdl/config/missing 
--run aclocal-1.11 -I libltdl/m4
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001/libltdl/config/missing: 
line 52: aclocal-1.11: command not found
WARNING: `aclocal-1.11' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /usr/local/bin/bash 
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001/libltdl/config/missing 
--run automake-1.11 --gnu
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001/libltdl/config/missing: 
line 52: automake-1.11: command not found
WARNING: `automake-1.11' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/local/bin/bash 
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001/libltdl/config/missing 
--run autoconf
aclocal.m4:16: warning: this file was generated for autoconf 2.68.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
/usr/local/bin/bash ./config.status --recheck
running CONFIG_SHELL=/usr/local/bin/bash /usr/local/bin/bash ./configure 
--enable-dependency-tracking --enable-shared --enable-static 
CC=/opt/studio/SOS11/SUNWspro/bin/cc CFLAGS=-dy -xmemalign=8s -errfmt=error 
-erroff=%none -errshort=full -errwarn=%none -fns=no -ftrap=%none -xarch=v9 
-xcode=pic32 -g -i -mc -Qy -v -Wl,-R/usr/local/lib -Xa -xbuiltin=%none 
-xcache=generic -xchip=ultra -xdebugformat=dwarf -xdepend=no -xjobs=1 
-xlinkopt=0 -xnolibmil -xnolibmopt -xprefetch=auto,explicit 
-xregs=no%appl,float -xrestrict=%none -xs -xstrconst -xtemp=/var/tmp -xunroll=1 
-xvis=no -Dsun=1 -Dunix=1 -Dsparc=1 -D__sparcv9 -D__sun -D__unix 
-D__SUNPRO_C=0x580 -D__SunOS_5_8 -D__sparc -D__SVR4 -D_POSIX_PTHREAD_SEMANTICS 
-D_LARGEFILE64_SOURCE -D_TS_ERRNO CXX=/opt/studio/SOS11/SUNWspro/bin/CC 
CXXFLAGS=-dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 
-xarch=v9 -xchip=ultra -xcache=generic -mc -xunroll=1 -xbuiltin=%none 
-xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -x
s -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO 
F77=/opt/studio/SOS11/SUNWspro/bin/f90 FC=/opt/studio/SOS11/SUNWspro/bin/f90 
--no-create --no-recursion
## ------------------------- ##
## Configuring libtool 2.4.2 ##
## ------------------------- ##

checking for a BSD-compatible install... libltdl/config/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... libltdl/config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
configure: autobuild project... GNU Libtool
configure: autobuild revision... 2.4.2 ()
configure: autobuild hostname... mimas
configure: autobuild mode... default
configure: autobuild timestamp... 20130717T164201Z
checking for gcc... /opt/studio/SOS11/SUNWspro/bin/cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/cc accepts -g... yes
checking for /opt/studio/SOS11/SUNWspro/bin/cc option to accept ISO C89... none 
needed
checking for style of include used by /usr/local/bin/gmake... GNU
checking dependency style of /opt/studio/SOS11/SUNWspro/bin/cc... dashXmstdout
checking whether /opt/studio/SOS11/SUNWspro/bin/cc and cc understand -c and -o 
together... yes
checking how to run the C preprocessor... /opt/studio/SOS11/SUNWspro/bin/cc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for fgrep... /usr/xpg4/bin/grep -F
checking for non-GNU ld... /usr/ccs/bin/sparcv9/ld -64
checking if the linker (/usr/ccs/bin/sparcv9/ld -64) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert sparc-sun-solaris2.8 file names to sparc-sun-solaris2.8 
format... func_convert_file_noop
checking how to convert sparc-sun-solaris2.8 file names to toolchain format... 
func_convert_file_noop
checking for /usr/ccs/bin/sparcv9/ld -64 option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from 
/opt/studio/SOS11/SUNWspro/bin/cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking for /opt/studio/SOS11/SUNWspro/bin/cc option to produce PIC... -KPIC 
-DPIC
checking if /opt/studio/SOS11/SUNWspro/bin/cc PIC flag -KPIC -DPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/cc static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/cc supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/cc supports -c -o file.o... (cached) 
yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/cc linker 
(/usr/ccs/bin/sparcv9/ld -64 -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... yes
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking whether we are using the GNU C++ compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/CC accepts -g... yes
checking dependency style of /opt/studio/SOS11/SUNWspro/bin/CC... dashXmstdout
checking how to run the C++ preprocessor... /opt/studio/SOS11/SUNWspro/bin/CC -E
checking whether the /opt/studio/SOS11/SUNWspro/bin/CC linker 
(/usr/ccs/bin/sparcv9/ld -64 -64) supports shared libraries... yes
checking for /opt/studio/SOS11/SUNWspro/bin/CC option to produce PIC... -KPIC 
-DPIC
checking if /opt/studio/SOS11/SUNWspro/bin/CC PIC flag -KPIC -DPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/CC static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/CC supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/CC supports -c -o file.o... (cached) 
yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/CC linker 
(/usr/ccs/bin/sparcv9/ld -64 -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU Fortran 77 compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/f90 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for /opt/studio/SOS11/SUNWspro/bin/f90 option to produce PIC... -KPIC
checking if /opt/studio/SOS11/SUNWspro/bin/f90 PIC flag -KPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... 
(cached) yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/f90 linker 
(/usr/ccs/bin/sparcv9/ld -64 -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU Fortran compiler... no
checking whether /opt/studio/SOS11/SUNWspro/bin/f90 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for /opt/studio/SOS11/SUNWspro/bin/f90 option to produce PIC... -KPIC
checking if /opt/studio/SOS11/SUNWspro/bin/f90 PIC flag -KPIC works... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 static flag -Bstatic works... no
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... yes
checking if /opt/studio/SOS11/SUNWspro/bin/f90 supports -c -o file.o... 
(cached) yes
checking whether the /opt/studio/SOS11/SUNWspro/bin/f90 linker 
(/usr/ccs/bin/sparcv9/ld -64 -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for gccgo... no
checking for gcj... no
checking for windres... no
checking whether /usr/local/bin/gmake supports order-only prerequisites... yes
configure: creating ./config.status
 /usr/local/bin/bash ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
rm -f libtoolize.tmp libtoolize
sed -e 's,@aclocal_DATA\@,m4/argz.m4 m4/libtool.m4 m4/ltdl.m4 m4/ltoptions.m4 
m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4,g' -e 
's,@aclocaldir\@,/usr/local/share/aclocal,g' -e 
's,@datadir\@,/usr/local/share,g' -e 's,@EGREP\@,/usr/xpg4/bin/grep -E,g' -e 
's,@FGREP\@,/usr/xpg4/bin/grep -F,g' -e 's,@GREP\@,/usr/xpg4/bin/grep,g' -e 
's,@host_triplet\@,sparc-sun-solaris2.8,g' -e 's,@LN_S\@,ln -s,g' -e 
"s,@pkgconfig_files\@,config/compile config/config.guess config/config.sub 
config/depcomp config/install-sh config/missing config/ltmain.sh,g" -e 
's,@pkgdatadir\@,/usr/local/share/libtool,g' -e 
"s,@pkgltdl_files\@,libltdl/COPYING.LIB libltdl/README libltdl/Makefile.inc 
libltdl/Makefile.am libltdl/configure.ac libltdl/aclocal.m4 libltdl/Makefile.in 
libltdl/config-h.in libltdl/configure libltdl/argz_.h libltdl/argz.c 
libltdl/loaders/dld_link.c libltdl/loaders/dlopen.c libltdl/loaders/dyld.c 
libltdl/loaders/load_add_on.c libltdl/loaders/loadlibrary.c 
libltdl/loaders/shl_load.c libltd
l/lt__dirent.c libltdl/lt__strl.c libltdl/libltdl/lt__alloc.h 
libltdl/libltdl/lt__dirent.h libltdl/libltdl/lt__glibc.h 
libltdl/libltdl/lt__private.h libltdl/libltdl/lt__strl.h 
libltdl/libltdl/lt_dlloader.h libltdl/libltdl/lt_error.h 
libltdl/libltdl/lt_system.h libltdl/libltdl/slist.h libltdl/loaders/preopen.c 
libltdl/lt__alloc.c libltdl/lt_dlloader.c libltdl/lt_error.c libltdl/ltdl.c 
libltdl/ltdl.h libltdl/slist.c,g" -e 's,@prefix\@,/usr/local,g' -e 
's,@SED\@,/usr/local/bin/gsed,g' \
        ./libtoolize.in > libtoolize.tmp
chmod a+x libtoolize.tmp
chmod a-w libtoolize.tmp
mv -f libtoolize.tmp libtoolize
/usr/local/bin/bash 
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001/libltdl/config/install-sh 
-d . libltdl/
cp ./libltdl/argz_.h libltdl/argz.h-t
mv libltdl/argz.h-t libltdl/argz.h
(CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/local/bin/bash 
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001/libltdl/config/missing 
--run autoheader)
rm -f stamp-h1
touch config-h.in
cd . && /usr/local/bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/local/bin/gmake  all-recursive
gmake[1]: Entering directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001'
gmake[2]: Entering directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001'
test -f doc/.dirstamp || /usr/local/bin/gmake  doc/.dirstamp
gmake[3]: Entering directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001'
gmake[3]: Leaving directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001'
source='libltdl/loaders/preopen.c' 
object='libltdl/loaders/libltdl_libltdl_la-preopen.lo' libtool=yes \
DEPDIR=.deps depmode=dashXmstdout /usr/local/bin/bash ./libltdl/config/depcomp \
/usr/local/bin/bash ./libtool  --tag=CC   --mode=compile 
/opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I.  -DLTDLOPEN=libltdl 
-DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl 
-I./libltdl/libltdl   -dy -xmemalign=8s -errfmt=error -erroff=%none 
-errshort=full -errwarn=%none -fns=no -ftrap=%none -xarch=v9 -xcode=pic32 -g -i 
-mc -Qy -v -Wl,-R/usr/local/lib -Xa -xbuiltin=%none -xcache=generic 
-xchip=ultra -xdebugformat=dwarf -xdepend=no -xjobs=1 -xlinkopt=0 -xnolibmil 
-xnolibmopt -xprefetch=auto,explicit -xregs=no%appl,float -xrestrict=%none -xs 
-xstrconst -xtemp=/var/tmp -xunroll=1 -xvis=no -Dsun=1 -Dunix=1 -Dsparc=1 
-D__sparcv9 -D__sun -D__unix -D__SUNPRO_C=0x580 -D__SunOS_5_8 -D__sparc 
-D__SVR4 -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -c -o 
libltdl/loaders/libltdl_libltdl_la-preopen.lo `test -f 
'libltdl/loaders/preopen.c' || echo './'`libltdl/loaders/preopen.c
libtool: Version mismatch error.  This is libtool 2.4.2, revision 1.3337,
libtool: but the definition of this LT_INIT comes from revision 1.3201.
libtool: You should recreate aclocal.m4 with macros from revision 1.3337
libtool: of libtool 2.4.2 and run autoconf again.
gmake[2]: *** [libltdl/loaders/libltdl_libltdl_la-preopen.lo] Error 63
gmake[2]: Leaving directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.001'
gmake: *** [all] Error 2
mimas$

So hold on her a sec.  So configure works but them the build fails because of
some mismatch in versions of libtool ? 

Let's try to run autoreconf shall we ? 

Re-extract to a fresh source directory. 


Do we have autoreconf ? 


mimas$ autoreconf --version 
autoreconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.



Excellent and what happens where we run that ? 



mimas$ autoreconf --verbose --force --install 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I libltdl/m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force --ltdl
Can't exec "libtoolize": No such file or directory at 
/usr/local/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN3> line 6.
autoreconf: failed to run libtoolize: No such file or directory
autoreconf: libtoolize is needed because this package uses Libtool
mimas$ 



So libtool needs libtool in order to be built.  

This is officially a tool chain rathole. 

Dennis 



reply via email to

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