Subject: FW: Errors compiling Libtool-2.4.4

From: Ted Carr <[email-masked]>
Date: Mon, 12 Jan 2015 14:59:56 +0000

Hello All,

I have a need to get libtool compiled for Solaris 8 using Sun Studio compiler, but I am having an issue; any help would be highly appreciated!  Below is a journal of sorts of the issue I am having and the work that I have done to try and resolve the issue, to no avail...

**** All of my comments are prepended with four asterisks
**** Mostly for my sanity...  ;-)

**** Adventures in compiling Libtool-2.4.4 on Solaris 8 with 
**** the Sun Studio 11 C Compiler and some help from GNU tools.

**** I have spent the last few days building all of the GNU tools
**** tools I need to get my application built, so all are at the
**** latest version I believe.

**** Mind you, I really have no idea what I am doing, this is all just guesswork on my part...

**** The existing environment:

[pkgbldr@uptuslab008 /var/tmp]$ uname -a
SunOS uptuslab008 5.8 Generic_127721-10 sun4u sparc SUNW,Sun-Fire-V240

[pkgbldr@uptuslab008 /var/tmp]$ bash --version
GNU bash, version 4.3.0(1)-release (sparc-sun-solaris2.8)

[pkgbldr@uptuslab008 /var/tmp]$ tar --version
tar (GNU tar) 1.28

[pkgbldr@uptuslab008 /var/tmp]$ aclocal --version
aclocal (GNU automake) 1.15

[pkgbldr@uptuslab008 /var/tmp]$ automake --version
automake (GNU automake) 1.15

[pkgbldr@uptuslab008 /var/tmp]$ autoconf --version
autoconf (GNU Autoconf) 2.69

[pkgbldr@uptuslab008 /var/tmp]$ gettext --version
gettext (GNU gettext-runtime) 0.19.4

[pkgbldr@uptuslab008 /var/tmp]$ help2man --version
GNU help2man 1.46.4

[pkgbldr@uptuslab008 /var/tmp]$ make --version
GNU Make 4.1

[pkgbldr@uptuslab008 /var/tmp]$ cc -V
cc: Sun C 5.8 Patch 121015-07 2009/04/22

[pkgbldr@uptuslab008 /var/tmp]$ perl --version
This is perl 5, version 20, subversion 1 (v5.20.1) built for sun4-solaris

[pkgbldr@uptuslab008 /var/tmp]$ patch --version
GNU patch 2.7

[pkgbldr@uptuslab008 /var/tmp]$ m4 --version
m4 (GNU M4) 1.4.17

[pkgbldr@uptuslab008 /var/tmp]$ gitfm -version
GNU Interactive Tools 4.9.5

**** Downloaded the source and got to work...

[pkgbldr@uptuslab008 /var/tmp]$ tar xf libtool-2.4.4.tar.gz
[pkgbldr@uptuslab008 /var/tmp]$ cd libtool-2.4.4
[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ ./configure --prefix=/opt/GNUlibtool
## ------------------------- ##
## Configuring libtool 2.4.4 ##
## ------------------------- ##

checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) 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.4
configure: autobuild hostname... uptuslab008
configure: autobuild mode... default
configure: autobuild timestamp... 20150108T200903Z
checking for gcc... no
checking for cc... 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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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/sparcv9/nm -p
checking the name lister (/usr/ccs/bin/sparcv9/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
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... (cached) ranlib
checking command to parse /usr/ccs/bin/sparcv9/nm -p output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
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 cc option to produce PIC... -KPIC -DPIC
checking if cc PIC flag -KPIC -DPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/ccs/bin/sparcv9/ld) 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... no
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 what extension is used for runtime loadable modules... .so
checking what 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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking how to run the C++ preprocessor... CC -E
checking whether the CC linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC -DPIC
checking if CC PIC flag -KPIC -DPIC works... yes
checking if CC static flag -Bstatic works... yes
checking if CC supports -c -o file.o... yes
checking if CC supports -c -o file.o... (cached) yes
checking whether the CC linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 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 f77 option to produce PIC... -KPIC
checking if f77 PIC flag -KPIC works... yes
checking if f77 static flag -Bstatic works... yes
checking if f77 supports -c -o file.o... yes
checking if f77 supports -c -o file.o... (cached) yes
checking whether the f77 linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... f95
checking whether we are using the GNU Fortran compiler... no
checking whether f95 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 f95 option to produce PIC... -KPIC
checking if f95 PIC flag -KPIC works... yes
checking if f95 static flag -Bstatic works... yes
checking if f95 supports -c -o file.o... yes
checking if f95 supports -c -o file.o... (cached) yes
checking whether the f95 linker (/usr/ccs/bin/sparcv9/ld) 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 that generated files are newer than configure... done
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

**** Configure completes successfully - that was easy!
**** Running make

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ make MAKE=/opt/GNUmake/bin/make
  GEN      m4/ltversion.m4
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /var/tmp/libtool-2.4.4/build-aux/missing aclocal-1.14 -I m4
/var/tmp/libtool-2.4.4/build-aux/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:1014: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127

**** The first run of make dies from not being able to find aclocal-1.14 - I have 1.15 installed.
**** Edited the Makefile to remove -1.14 from the end of autoconf and automake...

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ vim Makefile
AUTOCONF = ${SHELL} /var/tmp/libtool-2.4.4/build-aux/missing autoconf
AUTOMAKE = ${SHELL} /var/tmp/libtool-2.4.4/build-aux/missing automake

**** Ran make again...

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ make MAKE=/opt/GNUmake/bin/make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /var/tmp/libtool-2.4.4/build-aux/missing aclocal -I m4
 cd . && /bin/bash /var/tmp/libtool-2.4.4/build-aux/missing automake --gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /var/tmp/libtool-2.4.4/build-aux/missing autoconf
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --prefix=/opt/GNUlibtool --no-create --no-recursion
## ------------------------- ##
## Configuring libtool 2.4.4 ##
## ------------------------- ##

checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether /opt/GNUmake/bin/make sets $(MAKE)... yes
checking whether /opt/GNUmake/bin/make supports nested variables... yes
checking whether /opt/GNUmake/bin/make supports nested variables... (cached) 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.4
configure: autobuild hostname... uptuslab008
configure: autobuild mode... default
configure: autobuild timestamp... 20150108T201328Z
checking for gcc... no
checking for cc... 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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by /opt/GNUmake/bin/make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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/sparcv9/nm -p
checking the name lister (/usr/ccs/bin/sparcv9/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
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... (cached) ranlib
checking command to parse /usr/ccs/bin/sparcv9/nm -p output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
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 cc option to produce PIC... -KPIC -DPIC
checking if cc PIC flag -KPIC -DPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/ccs/bin/sparcv9/ld) 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... no
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 what extension is used for runtime loadable modules... .so
checking what 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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking how to run the C++ preprocessor... CC -E
checking whether the CC linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC -DPIC
checking if CC PIC flag -KPIC -DPIC works... yes
checking if CC static flag -Bstatic works... yes
checking if CC supports -c -o file.o... yes
checking if CC supports -c -o file.o... (cached) yes
checking whether the CC linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 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 f77 option to produce PIC... -KPIC
checking if f77 PIC flag -KPIC works... yes
checking if f77 static flag -Bstatic works... yes
checking if f77 supports -c -o file.o... yes
checking if f77 supports -c -o file.o... (cached) yes
checking whether the f77 linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... f95
checking whether we are using the GNU Fortran compiler... no
checking whether f95 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 f95 option to produce PIC... -KPIC
checking if f95 PIC flag -KPIC works... yes
checking if f95 static flag -Bstatic works... yes
checking if f95 supports -c -o file.o... yes
checking if f95 supports -c -o file.o... (cached) yes
checking whether the f95 linker (/usr/ccs/bin/sparcv9/ld) 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 that generated files are newer than configure... done
configure: creating ./config.status
 /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
  GEN      libtoolize
  GEN      libltdl/libltdl/lt__argz.h
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /var/tmp/libtool-2.4.4/build-aux/missing autoheader)
rm -f stamp-h1
touch config-h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/opt/GNUmake/bin/make  all-recursive
make[1]: Entering directory '/var/tmp/libtool-2.4.4'
Making all in .
make[2]: Entering directory '/var/tmp/libtool-2.4.4'
make[3]: Entering directory '/var/tmp/libtool-2.4.4'
make[3]: Leaving directory '/var/tmp/libtool-2.4.4'
  CC       libltdl/loaders/libltdl_libltdl_la-preopen.lo
libtool: Version mismatch error.  This is libtool 2.4.4, revision 2.4.4,
libtool: but the definition of this LT_INIT comes from revision .
libtool: You should recreate aclocal.m4 with macros from revision 2.4.4
libtool: of libtool 2.4.4 and run autoconf again.
Makefile:1257: recipe for target 'libltdl/loaders/libltdl_libltdl_la-preopen.lo' failed
make[2]: *** [libltdl/loaders/libltdl_libltdl_la-preopen.lo] Error 63
make[2]: Leaving directory '/var/tmp/libtool-2.4.4'
Makefile:1600: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/libtool-2.4.4'
Makefile:989: recipe for target 'all' failed
make: *** [all] Error 2

**** Make dies because: "the definition of this LT_INIT comes from revision ." 
**** Notice the lack of a 'revision' number listed...  Was removed when make regenerated the config.status above.
**** Edited config.status to put the revision number back in...

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ ~ewc45582/SunOS/bin/vim config.status
macro_revision='' ---> Updated to be macro_revision='2.4.4'

**** Ran make again

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ make MAKE=/opt/GNUmake/bin/make       
 /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
  GEN      libtoolize
/opt/GNUmake/bin/make  all-recursive
make[1]: Entering directory '/var/tmp/libtool-2.4.4'
Making all in .
make[2]: Entering directory '/var/tmp/libtool-2.4.4'
  CC       libltdl/loaders/libltdl_libltdl_la-preopen.lo
  CC       libltdl/libltdl_libltdl_la-lt__alloc.lo
  CC       libltdl/libltdl_libltdl_la-lt_dlloader.lo
  CC       libltdl/libltdl_libltdl_la-lt_error.lo
  CC       libltdl/libltdl_libltdl_la-ltdl.lo
  CC       libltdl/libltdl_libltdl_la-slist.lo
  CC       libltdl/loaders/dlopen.lo
  CCLD     libltdl/dlopen.la
  CC       libltdl/lt__argz.lo
  CCLD     libltdl/libltdl.la
  GEN      libltdl/aclocal.m4
  GEN      libltdl/Makefile.in
  GEN      libltdl/stamp-mk
  GEN      libltdl/config-h.in
  GEN      libltdl/configure
make[2]: Leaving directory '/var/tmp/libtool-2.4.4'
make[1]: Leaving directory '/var/tmp/libtool-2.4.4'
[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$

**** make now completes successfully
**** Now to run make check.

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ make MAKE=/opt/GNUmake/bin/make check
  GEN      public-submodule-commit
/opt/GNUmake/bin/make  check-recursive
make[1]: Entering directory '/var/tmp/libtool-2.4.4'
Making check in .
make[2]: Entering directory '/var/tmp/libtool-2.4.4'
/opt/GNUmake/bin/make  check-local
make[3]: Entering directory '/var/tmp/libtool-2.4.4'
  CC       libltdl/loaders/libltdl_libltdlc_la-preopen.lo
  CC       libltdl/libltdl_libltdlc_la-lt__alloc.lo
  CC       libltdl/libltdl_libltdlc_la-lt_dlloader.lo
  CC       libltdl/libltdl_libltdlc_la-lt_error.lo
  CC       libltdl/libltdl_libltdlc_la-ltdl.lo
  CC       libltdl/libltdl_libltdlc_la-slist.lo
  CCLD     libltdl/libltdlc.la
## ----------------------------- ##
## GNU Libtool 2.4.4 test suite. ##
## ----------------------------- ##

Libtoolize operation.

  1: libtoolize macro installation                   ok
  2: libtoolize macro directory mismatch error       ok
  3: multiple AC_CONFIG_MACRO_DIRS invocation        ok
  4: multiple AC_CONFIG_MACRO_DIRS directories       ok
  5: libtoolize ACLOCAL_AMFLAGS extraction           ok
  6: libtoolize macro serial update                  ok
  7: libtoolize config files serial update           ok
  8: diagnose missing LT_CONFIG_LTDL_DIR             ok
  9: copy ltdl.m4 with shared macro directory        ok
 10: correctly parse LTDL_INIT from configure.ac     ok
 11: diagnose missing LTDL_INIT invocation           ok
 12: upgrading verbatim style aclocal.m4             ok
 13: verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIRS    ok
 14: nonrecursive ltdl with AC_CONFIG_MACRO_DIRS     ok
 15: subproject ltdl with unconventional layout      ok
 16: Subproject ltdl without GNU M4                  ok
 17: LIBTOOLIZE_OPTIONS                              ok
 18: cleanup old installation                        ok

Basic libtool operation.

 19: check help output                               ok
 20: diagnose no mode specified                      ok
 21: quote shell meta-characters in filenames        ok
 22: transform source suffices                       ok
 23: check link mode operation                       ok
 24: check objectlist file operation                 ok
 25: test LT_SUPPORTED_TAG interface                 ok

Linking and loading.

 26: link against a preloaded static library         FAILED (demo.at:389)
 27: build and dynamically load a module             FAILED (demo.at:406)
 28: preload static and dynamic module               FAILED (demo.at:423)
 29: deplibs_check_method                            FAILED (demo.at:468)
 30: disable fast install                            FAILED (demo.at:485)
 31: force PIC objects                               FAILED (demo.at:501)
 32: force non-PIC objects                           skipped (demo.at:535)
 33: hardcoding library path                         FAILED (demo.at:612)
 34: binary relinking at install time                FAILED (demo.at:720)
 35: uninstalled libraries have priority             FAILED (demo.at:791)
 36: linking with long file names                    FAILED (demo.at:978)
 37: override pic_flag at configure time             skipped (pic_flag.at:39)
 38: test --with-pic                                 skipped (with-pic.at:40)

Convenience libraries.

 39: build and link against a static library         FAILED (cdemo.at:141)
 40: build and link against a dynamic library        FAILED (cdemo.at:156)
 41: build both static and dynamic                   FAILED (cdemo.at:171)
 42: allow_undefined_flag                            FAILED (cdemo.at:191)
 43: C convenience archives                          ok
 44: C++ convenience archives                        ok
 45: F77 convenience archives                        ok
 46: FC convenience archives                         ok
 47: Java convenience archives                       skipped (convenience.at:230)

Library interdependencies.

 48: static library interdependencies                FAILED (depdemo.at:291)
 49: shared library interdependencies                FAILED (depdemo.at:308)
 50: shared and static interdependencies             FAILED (depdemo.at:325)
 51: disable fast install                            FAILED (depdemo.at:343)
 52: binary relinking at install time                FAILED (depdemo.at:360)

Testing libtool functions.

 53: standard command line options                   ok
 54: mode short-hands                                ok
 55: debug tracing                                   ok
 56: duplicate members in archive tests              ok
 57: duplicate convenience archive names             ok
 58: preserve duplicate convenience deps             expected failure (duplicate_deps.at:74)
 59: passing CC flags through libtool                ok
 60: passing CXX flags through libtool               ok
 61: passing F77 flags through libtool               ok
 62: passing FC flags through libtool                ok
 63: passing GCJ flags through libtool               skipped (flags.at:116)
 64: inherited_linker_flags                          ok
 65: Link order test                                 ok
 66: Link order of deplibs                           ok
 67: Failure tests                                   ok
 68: shlibpath_overrides_runpath                     ok
 69: Runpath in libtool library files                ok
 70: static linking flags for programs               ok
 71: ccache -all-static                              ok
 72: Export test                                     ok
 73: export from a DLL with a .def file              skipped (export-def.at:35)
 74: sys_lib_search_path                             ok
 75: sys_lib_search_path on w32                      skipped (search-path.at:85)
 76: indirect convenience                            ok
 77: indirect uninstalled                            ok
 78: static library contains static library          expected failure (archive-in-archive.at:56)
 79: both of -o prog and -o prog$EXEEXT work         skipped (exeext.at:29)
 80: execute mode                                    ok
 81: bindir basic lib test                           ok
 82: bindir install tests                            ok
 83: cwrapper for uninstalled executables            ok
 84: cwrapper string length                          skipped (cwrapper.at:190)
 85: cwrapper and installed shared libraries         ok
 86: deplib in subdir                                ok
 87: inferred tag                                    ok
 88: CXX inferred tag                                ok
 89: F77 inferred tag                                ok
 90: FC inferred tag                                 ok
 91: GCJ inferred tag                                skipped (infer-tag.at:84)
 92: localized compiler messages                     skipped (localization.at:60)
 93: nocase library search                           skipped (nocase.at:33)
 94: Install tests                                   ok
 95: versioning                                      ok

DESTDIR tests

 96: Simple DESTDIR install                          ok
 97: DESTDIR with in-package deplibs                 ok

Support for older m4 interface.

 98: AM_PROG_LIBTOOL                                 ok
 99: AC_WITH_LTDL                                    FAILED (old-m4-iface.at:162)
100: AC_CONFIG_MACRO_DIR                             ok

Support for older libltdl interfaces.

101: Makefile.inc                                    FAILED (old-ltdl-iface.at:130)

Libtool subdir-objects support.

102: C subdir-objects                                FAILED (am-subdir.at:78)
103: C++ subdir-objects                              FAILED (am-subdir.at:146)

Libltdl functionality.

104: lt_dlexit unloading libs                        ok
105: lt_dlopenadvise library loading                 ok
106: lt_dlopen error messages                        expected failure (lt_dlopen.at:101)
107: lt_dlopen archive                               ok
108: lt_dlopenext error messages                     ok
109: libdir of installed modules                     ok
110: ltdl API                                        ok
111: dlloader API                                    ok
112: loadlibrary error messages                      skipped (loadlibrary.at:250)
113: syntax of .la files                             expected failure (lalib-syntax.at:133)
114: resident modules                                ok
115: SList functionality                             ok
116: enforced lib prefix                             ok

Dynamic ltdl runtime loading.

117: dynamically ltdl preload static modules         FAILED (mdemo.at:631)
118: dynamically ltdl load a shared module           FAILED (mdemo.at:648)
119: ltdl load shared and static modules             FAILED (mdemo.at:665)
120: ltdl dryrun                                     FAILED (mdemo.at:681)
121: link with library that loads ltdl modules       FAILED (mdemo.at:843)

Standalone Libltdl.

122: compiling softlinked libltdl                    FAILED (standalone.at:35)
123: compiling copied libltdl                        FAILED (standalone.at:50)
124: installable libltdl                             FAILED (standalone.at:67)
125: linking libltdl without autotools               FAILED (standalone.at:85)

Subproject Libltdl.

126: compiling softlinked libltdl                    FAILED (subproject.at:62)
127: compiling copied libltdl                        FAILED (subproject.at:78)
128: installable libltdl                             FAILED (subproject.at:97)
129: linking libltdl without autotools               FAILED (subproject.at:115)

Nonrecursive Automake Libltdl.

130: compiling softlinked libltdl                    FAILED (nonrecursive.at:92)
131: compiling copied libltdl                        FAILED (nonrecursive.at:116)
132: installable libltdl                             FAILED (nonrecursive.at:142)

Recursive Automake Libltdl.

133: compiling softlinked libltdl                    FAILED (recursive.at:69)
134: compiling copied libltdl                        FAILED (recursive.at:89)
135: installable libltdl                             FAILED (recursive.at:111)

C++ language support.

136: static library                                  FAILED (tagdemo.at:344)
137: shared library                                  FAILED (tagdemo.at:359)
138: shared and static together                      FAILED (tagdemo.at:374)
139: allow_undefined_flag                            FAILED (tagdemo.at:392)

C++ template tests.

140: simple template test                            ok
141: template test with subdirs                      ok

Constructors.

142: C++ static constructors                         ok
143: C++ exception handling                          ok

libtool script generation.

144: config.status                                   FAILED (early-libtool.at:112)
145: config.lt                                       FAILED (early-libtool.at:218)

Libtool usage in GCC

146: AC_NO_EXECUTABLES                               ok

Detecting identical deplibs.

147: build tree relpaths                             expected failure (deplibs-ident.at:69)

configure interface to libltdl.

148: installable libltdl                             FAILED (configure-iface.at:145)
149: --with-ltdl-include/lib                         FAILED (configure-iface.at:178)
150: --with-included-ltdl                            FAILED (configure-iface.at:283)
151: convenience libltdl                             ok

F77 language support.

152: static library                                  FAILED (f77demo.at:305)
153: shared library                                  FAILED (f77demo.at:320)
154: shared and static together                      FAILED (f77demo.at:335)

Fortran language support.

155: static library                                  FAILED (fcdemo.at:319)
156: shared library                                  FAILED (fcdemo.at:334)
157: shared and static together                      FAILED (fcdemo.at:349)

Mac OS X tests

158: darwin fat compile                              skipped (darwin.at:42)
159: darwin concurrent library extraction            ok
160: darwin gdb debug information                    skipped (darwin.at:154)
161: darwin ld warnings changing configure results   ok
162: darwin can lt_dlopen .dylib and .so files       skipped (darwin.at:249)

Windows tests.

163: dumpbin -symbols section hiding                 skipped (dumpbin-symbols.at:42)
164: deplibs without file command                    ok

sysroot tests

165: -L=.../lib -l                                   skipped (sysroot.at:203)
166: -L SYSROOT/.../lib -l                           skipped (sysroot.at:204)
167: SYSROOT/.../*.la                                skipped (sysroot.at:205)

Libtool stress test.

168: Link option thorough search test                ok
169: Run tests with low max_cmd_len                  FAILED (cmdline_wrap.at:48)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 149 tests were run,
63 failed (5 expected failures).
20 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

   To: <[email-masked]>
   Subject: [GNU Libtool 2.4.4] testsuite: 26 27 28 29 30 31 33 34 35 36 39 40 41 42 48 49 50 51 52 99 101 102 103 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 144 145 148 149 150 152 153 154 155 156 157 169 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `tests/testsuite.dir'.

Makefile:2452: recipe for target 'check-local' failed
make[3]: *** [check-local] Error 1
make[3]: Leaving directory '/var/tmp/libtool-2.4.4'
Makefile:1891: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/var/tmp/libtool-2.4.4'
Makefile:1600: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/libtool-2.4.4'
Makefile:1893: recipe for target 'check' failed
make: *** [check] Error 2

**** I have attached the log output from the testsuite.
**** While a lot of checks failed, I thought I would install it
**** anyway so I could try running autoreconfig on libtool 
**** to avoid the errors that occurred earlier.

[root@uptuslab008 /var/tmp/libtool-2.4.4]# make install
make  install-recursive
Making install in .
 build-aux/install-sh -c -d '/opt/GNUlibtool/bin'
 build-aux/install-sh -c libtool '/opt/GNUlibtool/bin'
 build-aux/install-sh -c -d '/opt/GNUlibtool/lib'
 /bin/bash ./libtool   --mode=install build-aux/install-sh -c   libltdl/libltdl.la '/opt/GNUlibtool/lib'
libtool: install: build-aux/install-sh -c libltdl/.libs/libltdl.so.7.3.1 /opt/GNUlibtool/lib/libltdl.so.7.3.1
libtool: install: (cd /opt/GNUlibtool/lib && { ln -s -f libltdl.so.7.3.1 libltdl.so.7 || { rm -f libltdl.so.7 && ln -s libltdl.so.7.3.1 libltdl.so.7; }; })
libtool: install: (cd /opt/GNUlibtool/lib && { ln -s -f libltdl.so.7.3.1 libltdl.so || { rm -f libltdl.so && ln -s libltdl.so.7.3.1 libltdl.so; }; })
libtool: install: chmod +x /opt/GNUlibtool/lib/libltdl.so.7.3.1
libtool: install: build-aux/install-sh -c libltdl/.libs/libltdl.lai /opt/GNUlibtool/lib/libltdl.la
libtool: install: build-aux/install-sh -c libltdl/.libs/libltdl.a /opt/GNUlibtool/lib/libltdl.a
libtool: install: chmod 644 /opt/GNUlibtool/lib/libltdl.a
libtool: install: ranlib /opt/GNUlibtool/lib/libltdl.a
 GREP='/usr/xpg4/bin/grep' SED='/usr/bin/sed' './build-aux/inline-source' libtoolize > '/opt/GNUlibtool/bin/libtoolize'
rm -rf '/opt/GNUlibtool/share/libtool'/*
 build-aux/install-sh -c -m 644 './m4/libtool.m4' '/opt/GNUlibtool/share/aclocal/libtool.m4'
 build-aux/install-sh -c -m 644 './m4/ltargz.m4' '/opt/GNUlibtool/share/aclocal/ltargz.m4'
 build-aux/install-sh -c -m 644 './m4/ltdl.m4' '/opt/GNUlibtool/share/aclocal/ltdl.m4'
 build-aux/install-sh -c -m 644 './m4/ltoptions.m4' '/opt/GNUlibtool/share/aclocal/ltoptions.m4'
 build-aux/install-sh -c -m 644 './m4/ltsugar.m4' '/opt/GNUlibtool/share/aclocal/ltsugar.m4'
 build-aux/install-sh -c -m 644 './m4/ltversion.m4' '/opt/GNUlibtool/share/aclocal/ltversion.m4'
 build-aux/install-sh -c -m 644 './m4/lt~obsolete.m4' '/opt/GNUlibtool/share/aclocal/lt~obsolete.m4'
 build-aux/install-sh -c './build-aux/compile' '/opt/GNUlibtool/share/libtool/build-aux/compile'
 build-aux/install-sh -c './build-aux/config.guess' '/opt/GNUlibtool/share/libtool/build-aux/config.guess'
 build-aux/install-sh -c './build-aux/config.sub' '/opt/GNUlibtool/share/libtool/build-aux/config.sub'
 build-aux/install-sh -c './build-aux/depcomp' '/opt/GNUlibtool/share/libtool/build-aux/depcomp'
 build-aux/install-sh -c './build-aux/install-sh' '/opt/GNUlibtool/share/libtool/build-aux/install-sh'
 build-aux/install-sh -c './build-aux/missing' '/opt/GNUlibtool/share/libtool/build-aux/missing'
 build-aux/install-sh -c -m 644 './build-aux/ltmain.sh' '/opt/GNUlibtool/share/libtool/build-aux/ltmain.sh'
 build-aux/install-sh -c -m 644 './libltdl/COPYING.LIB' '/opt/GNUlibtool/share/libtool/COPYING.LIB'
 build-aux/install-sh -c -m 644 './libltdl/Makefile.am' '/opt/GNUlibtool/share/libtool/Makefile.am'
 build-aux/install-sh -c -m 644 './libltdl/Makefile.in' '/opt/GNUlibtool/share/libtool/Makefile.in'
 build-aux/install-sh -c -m 644 './libltdl/README' '/opt/GNUlibtool/share/libtool/README'
 build-aux/install-sh -c -m 644 './libltdl/configure.ac' '/opt/GNUlibtool/share/libtool/configure.ac'
 build-aux/install-sh -c -m 644 './libltdl/aclocal.m4' '/opt/GNUlibtool/share/libtool/aclocal.m4'
 build-aux/install-sh -c -m 644 './libltdl/config-h.in' '/opt/GNUlibtool/share/libtool/config-h.in'
 build-aux/install-sh -c -m 644 './libltdl/configure' '/opt/GNUlibtool/share/libtool/configure'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt__alloc.h' '/opt/GNUlibtool/share/libtool/libltdl/lt__alloc.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt__argz_.h' '/opt/GNUlibtool/share/libtool/libltdl/lt__argz_.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt__dirent.h' '/opt/GNUlibtool/share/libtool/libltdl/lt__dirent.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt__glibc.h' '/opt/GNUlibtool/share/libtool/libltdl/lt__glibc.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt__private.h' '/opt/GNUlibtool/share/libtool/libltdl/lt__private.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt__strl.h' '/opt/GNUlibtool/share/libtool/libltdl/lt__strl.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt_dlloader.h' '/opt/GNUlibtool/share/libtool/libltdl/lt_dlloader.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt_error.h' '/opt/GNUlibtool/share/libtool/libltdl/lt_error.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/lt_system.h' '/opt/GNUlibtool/share/libtool/libltdl/lt_system.h'
 build-aux/install-sh -c -m 644 './libltdl/libltdl/slist.h' '/opt/GNUlibtool/share/libtool/libltdl/slist.h'
 build-aux/install-sh -c -m 644 './libltdl/loaders/dld_link.c' '/opt/GNUlibtool/share/libtool/loaders/dld_link.c'
 build-aux/install-sh -c -m 644 './libltdl/loaders/dlopen.c' '/opt/GNUlibtool/share/libtool/loaders/dlopen.c'
 build-aux/install-sh -c -m 644 './libltdl/loaders/dyld.c' '/opt/GNUlibtool/share/libtool/loaders/dyld.c'
 build-aux/install-sh -c -m 644 './libltdl/loaders/load_add_on.c' '/opt/GNUlibtool/share/libtool/loaders/load_add_on.c'
 build-aux/install-sh -c -m 644 './libltdl/loaders/loadlibrary.c' '/opt/GNUlibtool/share/libtool/loaders/loadlibrary.c'
 build-aux/install-sh -c -m 644 './libltdl/loaders/preopen.c' '/opt/GNUlibtool/share/libtool/loaders/preopen.c'
 build-aux/install-sh -c -m 644 './libltdl/loaders/shl_load.c' '/opt/GNUlibtool/share/libtool/loaders/shl_load.c'
 build-aux/install-sh -c -m 644 './libltdl/lt__alloc.c' '/opt/GNUlibtool/share/libtool/lt__alloc.c'
 build-aux/install-sh -c -m 644 './libltdl/lt__argz.c' '/opt/GNUlibtool/share/libtool/lt__argz.c'
 build-aux/install-sh -c -m 644 './libltdl/lt__dirent.c' '/opt/GNUlibtool/share/libtool/lt__dirent.c'
 build-aux/install-sh -c -m 644 './libltdl/lt__strl.c' '/opt/GNUlibtool/share/libtool/lt__strl.c'
 build-aux/install-sh -c -m 644 './libltdl/lt_dlloader.c' '/opt/GNUlibtool/share/libtool/lt_dlloader.c'
 build-aux/install-sh -c -m 644 './libltdl/lt_error.c' '/opt/GNUlibtool/share/libtool/lt_error.c'
 build-aux/install-sh -c -m 644 './libltdl/ltdl.c' '/opt/GNUlibtool/share/libtool/ltdl.c'
 build-aux/install-sh -c -m 644 './libltdl/ltdl.h' '/opt/GNUlibtool/share/libtool/ltdl.h'
 build-aux/install-sh -c -m 644 './libltdl/ltdl.mk' '/opt/GNUlibtool/share/libtool/ltdl.mk'
 build-aux/install-sh -c -m 644 './libltdl/slist.c' '/opt/GNUlibtool/share/libtool/slist.c'
chmod a+x '/opt/GNUlibtool/share/libtool/configure'
 build-aux/install-sh -c -d '/opt/GNUlibtool/include'
 build-aux/install-sh -c -m 644 libltdl/ltdl.h '/opt/GNUlibtool/include'
 build-aux/install-sh -c -d '/opt/GNUlibtool/share/info'
 build-aux/install-sh -c -m 644 ./doc/libtool.info ./doc/libtool.info-1 ./doc/libtool.info-2 '/opt/GNUlibtool/share/info'
 build-aux/install-sh -c -d '/opt/GNUlibtool/include/libltdl'
 build-aux/install-sh -c -m 644 libltdl/libltdl/lt_system.h libltdl/libltdl/lt_error.h libltdl/libltdl/lt_dlloader.h '/opt/GNUlibtool/include/libltdl'
 build-aux/install-sh -c -d '/opt/GNUlibtool/share/man/man1'
 build-aux/install-sh -c -m 644 ./doc/libtool.1 ./doc/libtoolize.1 '/opt/GNUlibtool/share/man/man1'

**** Now to see if I could run 'autoreconf -vfi' to fix up libtool and have everything just work.
**** That is to say run a './configure --prefix=/opt/GNUlibtool ; make ; make install'
**** Again, I really have no idea what I am doing, this is all just guesswork on my part.

**** I remove the source completely and start from scratch:

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ cd ..
[pkgbldr@uptuslab008 /var/tmp]$ rm -Rf libtool-2.4.4        
[pkgbldr@uptuslab008 /var/tmp]$ tar xfz libtool-2.4.4.tar.gz
[pkgbldr@uptuslab008 /var/tmp]$ cd libtool-2.4.4
[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ autoreconf -vfi      
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force --ltdl
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/compile'
libtoolize: copying file 'build-aux/config.guess'
libtoolize: copying file 'build-aux/config.sub'
libtoolize: copying file 'build-aux/depcomp'
libtoolize: copying file 'build-aux/install-sh'
libtoolize: copying file 'build-aux/missing'
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltargz.m4'
libtoolize: copying file 'm4/ltdl.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'libltdl'.
libtoolize: copying file 'libltdl/COPYING.LIB'
libtoolize: copying file 'libltdl/Makefile.am'
libtoolize: copying file 'libltdl/Makefile.in'
libtoolize: copying file 'libltdl/README'
libtoolize: copying file 'libltdl/configure.ac'
libtoolize: copying file 'libltdl/aclocal.m4'
libtoolize: copying file 'libltdl/config-h.in'
libtoolize: copying file 'libltdl/configure'
libtoolize: copying file 'libltdl/libltdl/lt__alloc.h'
libtoolize: copying file 'libltdl/libltdl/lt__argz_.h'
libtoolize: copying file 'libltdl/libltdl/lt__dirent.h'
libtoolize: copying file 'libltdl/libltdl/lt__glibc.h'
libtoolize: copying file 'libltdl/libltdl/lt__private.h'
libtoolize: copying file 'libltdl/libltdl/lt__strl.h'
libtoolize: copying file 'libltdl/libltdl/lt_dlloader.h'
libtoolize: copying file 'libltdl/libltdl/lt_error.h'
libtoolize: copying file 'libltdl/libltdl/lt_system.h'
libtoolize: copying file 'libltdl/libltdl/slist.h'
libtoolize: copying file 'libltdl/loaders/dld_link.c'
libtoolize: copying file 'libltdl/loaders/dlopen.c'
libtoolize: copying file 'libltdl/loaders/dyld.c'
libtoolize: copying file 'libltdl/loaders/load_add_on.c'
libtoolize: copying file 'libltdl/loaders/loadlibrary.c'
libtoolize: copying file 'libltdl/loaders/preopen.c'
libtoolize: copying file 'libltdl/loaders/shl_load.c'
libtoolize: copying file 'libltdl/lt__alloc.c'
libtoolize: copying file 'libltdl/lt__argz.c'
libtoolize: copying file 'libltdl/lt__dirent.c'
libtoolize: copying file 'libltdl/lt__strl.c'
libtoolize: copying file 'libltdl/lt_dlloader.c'
libtoolize: copying file 'libltdl/lt_error.c'
libtoolize: copying file 'libltdl/ltdl.c'
libtoolize: copying file 'libltdl/ltdl.h'
libtoolize: copying file 'libltdl/slist.c'
libtoolize: Remember to add 'LTDL_INIT' to configure.ac.
autoreconf: running: /opt/GNUautoconf/bin/autoconf --force
autoreconf: running: /opt/GNUautoconf/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
automake: error: cannot open < libltdl/ltdl.mk: No such file or directory
autoreconf: automake failed with exit status: 1

**** FAIL: libltdl/ltdl.mk is removed from the libltdl dir when it is copying in the other files.
**** Wanting to see what would happen, I copied it back in right after it was removed
**** while the autoreconf -vfi was still running:

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force --ltdl
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/compile'
libtoolize: copying file 'build-aux/config.guess'
libtoolize: copying file 'build-aux/config.sub'
libtoolize: copying file 'build-aux/depcomp'
libtoolize: copying file 'build-aux/install-sh'
libtoolize: copying file 'build-aux/missing'
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltargz.m4'
libtoolize: copying file 'm4/ltdl.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'libltdl'.
libtoolize: copying file 'libltdl/COPYING.LIB'
libtoolize: copying file 'libltdl/Makefile.am'
libtoolize: copying file 'libltdl/Makefile.in'
libtoolize: copying file 'libltdl/README'
libtoolize: copying file 'libltdl/configure.ac'
libtoolize: copying file 'libltdl/aclocal.m4'
libtoolize: copying file 'libltdl/config-h.in'
libtoolize: copying file 'libltdl/configure'
libtoolize: copying file 'libltdl/libltdl/lt__alloc.h'
libtoolize: copying file 'libltdl/libltdl/lt__argz_.h'
libtoolize: copying file 'libltdl/libltdl/lt__dirent.h'
libtoolize: copying file 'libltdl/libltdl/lt__glibc.h'
libtoolize: copying file 'libltdl/libltdl/lt__private.h'
libtoolize: copying file 'libltdl/libltdl/lt__strl.h'
libtoolize: copying file 'libltdl/libltdl/lt_dlloader.h'
libtoolize: copying file 'libltdl/libltdl/lt_error.h'
libtoolize: copying file 'libltdl/libltdl/lt_system.h'
libtoolize: copying file 'libltdl/libltdl/slist.h'
libtoolize: copying file 'libltdl/loaders/dld_link.c'
libtoolize: copying file 'libltdl/loaders/dlopen.c'
libtoolize: copying file 'libltdl/loaders/dyld.c'
libtoolize: copying file 'libltdl/loaders/load_add_on.c'
libtoolize: copying file 'libltdl/loaders/loadlibrary.c'
libtoolize: copying file 'libltdl/loaders/preopen.c'
libtoolize: copying file 'libltdl/loaders/shl_load.c'
libtoolize: copying file 'libltdl/lt__alloc.c'
libtoolize: copying file 'libltdl/lt__argz.c'
libtoolize: copying file 'libltdl/lt__dirent.c'
libtoolize: copying file 'libltdl/lt__strl.c'
libtoolize: copying file 'libltdl/lt_dlloader.c'
libtoolize: copying file 'libltdl/lt_error.c'
libtoolize: copying file 'libltdl/ltdl.c'
libtoolize: copying file 'libltdl/ltdl.h'
libtoolize: copying file 'libltdl/slist.c'
libtoolize: Remember to add 'LTDL_INIT' to configure.ac.
autoreconf: running: /opt/GNUautoconf/bin/autoconf --force
autoreconf: running: /opt/GNUautoconf/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'

**** It thinks it completes successfully.
**** Then, running a configure completes successfully:

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ ./configure --prefix=/opt/GNUlibtool
## ------------------------- ##
## Configuring libtool 2.4.4 ##
## ------------------------- ##

checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) 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.4
configure: autobuild hostname... uptuslab008
configure: autobuild mode... default
configure: autobuild timestamp... 20150108T195456Z
checking for gcc... no
checking for cc... 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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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/sparcv9/nm -p
checking the name lister (/usr/ccs/bin/sparcv9/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
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... (cached) ranlib
checking command to parse /usr/ccs/bin/sparcv9/nm -p output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
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 cc option to produce PIC... -KPIC -DPIC
checking if cc PIC flag -KPIC -DPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/ccs/bin/sparcv9/ld) 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... no
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 what extension is used for runtime loadable modules... .so
checking what 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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking how to run the C++ preprocessor... CC -E
checking whether the CC linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC -DPIC
checking if CC PIC flag -KPIC -DPIC works... yes
checking if CC static flag -Bstatic works... yes
checking if CC supports -c -o file.o... yes
checking if CC supports -c -o file.o... (cached) yes
checking whether the CC linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 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 f77 option to produce PIC... -KPIC
checking if f77 PIC flag -KPIC works... yes
checking if f77 static flag -Bstatic works... yes
checking if f77 supports -c -o file.o... yes
checking if f77 supports -c -o file.o... (cached) yes
checking whether the f77 linker (/usr/ccs/bin/sparcv9/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking how to hardcode library paths into programs... immediate
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... f95
checking whether we are using the GNU Fortran compiler... no
checking whether f95 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 f95 option to produce PIC... -KPIC
checking if f95 PIC flag -KPIC works... yes
checking if f95 static flag -Bstatic works... yes
checking if f95 supports -c -o file.o... yes
checking if f95 supports -c -o file.o... (cached) yes
checking whether the f95 linker (/usr/ccs/bin/sparcv9/ld) 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 that generated files are newer than configure... done
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 

**** However, make fails like this:

[pkgbldr@uptuslab008 /var/tmp/libtool-2.4.4]$ make
make: *** No rule to make target 'm4/ltversion.in', needed by 'm4/ltversion.m4'.  Stop.

**** I have to give up for now ... I have other work I need to get moving on.
**** Any help to get this all to work as expected would be most appreciated!!

Cheers,

Ted Carr
Technical Analyst
Hosting Design and Integration
CBS IT Services

GSK
1250 S. Collegeville Road, Collegeville, Pennsylvania, 19426-0989, United States
Email	[email-masked]

gsk.com  |  Twitter  |  YouTube  |  Facebook  |  Flickr