libtool
[Top][All Lists]
Advanced

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

Re: how to break out of the libtool rathole ?


From: Dennis Clarke
Subject: Re: how to break out of the libtool rathole ?
Date: Wed, 17 Jul 2013 23:17:32 -0400


----- Original Message -----
From: Peter Johansson <address@hidden>
Date: Wednesday, July 17, 2013 11:01 pm
Subject: Re: how to break out of the libtool rathole ?
To: address@hidden


> On 07/18/2013 02:54 AM, Dennis Clarke wrote:
> > 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.
> This rule to generate 'aclocal.m4' should not be triggered when 
> building 
> from configure. Looks like you have touched some file.

this is getting just silly.

Here is what I will do ... see these ? : 

mimas$ ls -lapin /usr/local/bin/acloc*
    765381 -rwxr-xr-x   2 16411    20002      36828 Jul 17 15:03 
/usr/local/bin/aclocal
    765381 -rwxr-xr-x   2 16411    20002      36828 Jul 17 15:03 
/usr/local/bin/aclocal-1.14


I will make a symlink to aclocal-1.11 just to keep this libtool build process 
happy : 


mimas$ cd /usr/local/bin
mimas$ 
mimas$ ls -l acloc*
-rwxr-xr-x   2 dclarke  adbs       36828 Jul 17 15:03 aclocal
-rwxr-xr-x   2 dclarke  adbs       36828 Jul 17 15:03 aclocal-1.14
mimas$ 
mimas$ ln ./aclocal ./aclocal-1.11
mimas$ ls -lin acloc*
    765381 -rwxr-xr-x   3 16411    20002      36828 Jul 17 15:03 aclocal
    765381 -rwxr-xr-x   3 16411    20002      36828 Jul 17 15:03 aclocal-1.11
    765381 -rwxr-xr-x   3 16411    20002      36828 Jul 17 15:03 aclocal-1.14
mimas$ 

once more with feeling 


mimas$ pwd
/usr/local/build
mimas$ mdigest -a sha1 ../src/libtool-2.4.2.tar.gz 
22b71a8b5ce3ad86e1094e7285981cae10e6ff88  ../src/libtool-2.4.2.tar.gz
mimas$ gzip -dc ../src/libtool-2.4.2.tar.gz | tar -xf - 
mimas$ mv libtool-2.4.2 libtool-2.4.2_SunOS5.8_sparcv9.003
mimas$ cd libtool-2.4.2_SunOS5.8_sparcv9.003

See?  See what I touched there?   Nothing.  This is straight from the tarball.


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... 20130718T030938Z
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$ 




mimas$ 
mimas$ 
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.003/libltdl/config/missing 
--run aclocal-1.11 -I libltdl/m4

   out of the gate we see that aclocal-1.11 is used !   What a surprise.  :-\

next thing I see is this : 

CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/local/bin/bash 
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.003/libltdl/config/missing 
--run aclocal-1.11 -I libltdl/m4
 cd . && /usr/local/bin/bash 
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.003/libltdl/config/missing 
--run automake-1.11 --gnu
/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.003/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.

   Well I guess I need to make another link from automake to automake-1.11 also 
? 

       probably ...

a few moments later I see .. drum roll please : 


gmake[3]: Entering directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.003'
gmake[3]: Leaving directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.003'
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.003'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/local/build/libtool-2.4.2_SunOS5.8_sparcv9.003'
gmake: *** [all] Error 2
mimas$ 

so here we are in the libtool rathole as I call it with no way out but to fake 
that certain
specific versions of other tools pre-exist?  

Am I on the right track to get past this foobar mess ? 





reply via email to

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