libtool
[Top][All Lists]
Advanced

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

Re: libtool 1.5.6 still not supporting make distcheck


From: Jacob Meuser
Subject: Re: libtool 1.5.6 still not supporting make distcheck
Date: Tue, 16 Nov 2004 18:32:51 -0800
User-agent: Mutt/1.4.2i

On Tue, Nov 16, 2004 at 08:59:08PM -0500, Sean Dague wrote:
> Bob,
> 
> The following log is still valid for where the breakdown occurs:
> http://dague.net/libtool.txt.
> 
> That is a complete build log, plus all versions of the software.
> 
> The problem comes at:
> 
> /bin/sh ../../mkinstalldirs
> /home/sdague/tmp/am-dc-28498//home/sdague/openhpi/openhpi-1.9.3/_inst/lib
>  /bin/sh ../libtool --mode=install /usr/bin/install -c  libopenhpi.la
> /home/sdague/tmp/am-dc-28498//home/sdague/openhpi/openhpi-1.9.3/_inst/lib/libopenhpi.la
> libtool: install: warning: relinking libopenhpi.la'
> (cd /home/sdague/openhpi/openhpi-1.9.3/_build/src; /bin/sh ../libtool
> --mode=relink gcc -g -O2 -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -Wall -Wmissing-prototypes
> -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2
> -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-qual
> -Wcast-align -Werror -D_GNU_SOURCE -D_REENTRANT -fexceptions -g -O2 -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral
> -Wno-format-y2k -Wcast-qual -Wcast-align -Werror -D_GNU_SOURCE -D_REENTRANT
> -fexceptions -o libopenhpi.la -rpath
> /home/sdague/openhpi/openhpi-1.9.3/_inst/lib -L../utils -version-info 10:3:9
> -export-symbols ../../src/hpi.sym config.lo domain.lo event.lo alarm.lo
> hotswap.lo lock.lo plugin.lo plugin_static.lo init.lo safhpi.lo session.lo
> oHpi.lo ../utils/libopenhpiutils.la -lltdl -pthread -lgthread-2.0 -lglib-2.0
> -lm -lpthread -inst-prefix-dir /home/sdague/tmp/am-dc-28498/)
> echo "{ global:" > .libs/libopenhpi.ver
>  cat ../../src/hpi.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libopenhpi.ver
>  echo "local: *; };" >> .libs/libopenhpi.ver
>  gcc -shared  .libs/config.o .libs/domain.o .libs/event.o .libs/alarm.o
> .libs/hotswap.o .libs/lock.o .libs/plugin.o .libs/plugin_static.o
> .libs/init.o .libs/safhpi.o .libs/session.o .libs/oHpi.o
> -L/home/sdague/tmp/am-dc-28498//usr/lib  -Wl,--rpath
> -Wl,/home/sdague/openhpi/openhpi-1.9.3/_inst/lib -L/usr/lib
> -L/home/sdague/openhpi/openhpi-1.9.3/_build/utils
> -L/home/sdague/openhpi/openhpi-1.9.3/_inst/lib -lopenhpiutils -lltdl
> -pthread -lgthread-2.0 -lglib-2.0 -lm -lpthread  -Wl,-soname
> -Wl,libopenhpi.so.1 -Wl,-version-script -Wl,.libs/libopenhpi.ver -o
> .libs/libopenhpi.so.1.9.3
> /usr/bin/ld: cannot find -lopenhpiutils
> collect2: ld returned 1 exit status
> libtool: install: error: relink libopenhpi.la' with the above command before
> installing it
> make[4]: *** [install-libLTLIBRARIES] Error 1
> make[4]: Leaving directory /home/sdague/openhpi/openhpi-1.9.3/_build/src'
> make[3]: *** [install-am] Error 2
> make[3]: Leaving directory /home/sdague/openhpi/openhpi-1.9.3/_build/src'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory /home/sdague/openhpi/openhpi-1.9.3/_build/src'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory /home/sdague/openhpi/openhpi-1.9.3/_build'
> make: *** [distcheck] Error 1
> 

curious also what's in ../utils/libopenhpiutils.la

probably

installed=yes

and

libdir='/home/sdague/openhpi/openhpi-1.9.3/_inst/lib'

but

/home/sdague/openhpi/openhpi-1.9.3/_inst/lib/libopenhpiutils.so
doesn't yet exist?

maybe this patch helps?

--- ltmain.in.orig      Tue Aug  3 00:49:02 2004
+++ ltmain.in   Sat Aug  7 17:00:56 2004
@@ -2611,7 +2611,7 @@ EOF
            add_dir=
            add=
            # Finalize command for both is simple: just hardcode it.
-           if test "$hardcode_direct" = yes; then
+           if test "$hardcode_direct" = yes && test -f $libdir/$linklib; then
              add="$libdir/$linklib"
            elif test "$hardcode_minus_L" = yes; then
              add_dir="-L$libdir"


that's for libtool-1.5.10, shouldn't have trouble applying it to 1.5.6.

not sure how correct that is though.

-- 
<address@hidden>




reply via email to

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