bug-gnu-utils
[Top][All Lists]
Advanced

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

problem with gettext and libtool


From: Warren L Dodge
Subject: problem with gettext and libtool
Date: Fri, 20 Dec 2002 15:00:12 -0800 (PST)

I forgot one thing in this last message. I believe the behavior is
different on solaris 2.5 versus solaris 8

I also notices I mixed sun5.1 and sun5.8 in my message. This one fixed
that



I configured gettext with this command

../gettext-0.11.5/configure --prefix=/proj/wdt/gettext-0.11.5 
--with-libiconv-prefix=/proj/wdt/sun5.8

In /proj/wdt/sun5.8/lib I have a links pointing to the libiconv libraries

/proj/wdt/sun5.8/lib/libiconv.la       -> 
/proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.la
/proj/wdt/sun5.8/lib/libiconv.so       -> 
/proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so*
/proj/wdt/sun5.8/lib/libiconv.so.2     -> 
/proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so.2*
/proj/wdt/sun5.8/lib/libiconv.so.2.0.3 -> 
/proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so.2.0.3
/proj/wdt/sun5.8/lib/libiconv.so.2.1.0 -> 
/proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so.2.1.0*
/proj/wdt/sun5.8/lib/libiconv_plug.so  -> 
/proj/wdt/gnu_sun5.8/libiconv/lib/libiconv_plug.so

Now in /proj/wdt/gnu_sun5.8 the libinconv is actually a link also

libiconv -> libiconv-1.8/
libiconv-1.8/


So the problem comes when libtool run. Somewhere in the configure step
and the gmake step there is a difference in the way that the pointer
to the libiconv libraries is handled.

Here is what the make says

 /bin/sh ../libtool --mode=install /proj/wdt/sun5.8/bin/ginstall -c  
libgettextsrc.la /proj/wdt/gnu_sun5.8/gettext-0.11.5/lib/libgettextsrc.la
libtool: install: warning: relinking `libgettextsrc.la'
cd /proj/wdtold/warrend/gnusrc/gettext-0.11.5/gettext-0.11.5_sun5.8/src; 
/bin/sh ../libtool --mode=relink gcc -g -O2 -o libgettextsrc.la -rpath 
/proj/wdt/gnu_sun5.8/gettext-0.11.5/lib -release 0.11.5 ../lib/
ibgettextlib.la ../intl/libintl.la -L/proj/wdt/sun5.8/lib -liconv 
-R/proj/wdt/sun5.8/lib -L/proj/wdt/sun5.8/lib -liconv -R/proj/wdt/sun5.8/lib 
-lc -no-undefined message.lo po.lo po-lex.lo po-gram-gen.lo po-h
sh-gen.lo po-charset.lo open-po.lo dir-list.lo str-list.lo read-po.lo 
write-po.lo msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo 
msgl-english.lo file-list.lo msgl-charset.lo po-time.lo plural.lo plura
-table.lo format.lo format-c.lo format-python.lo format-lisp.lo format-elisp.lo 
format-librep.lo format-java.lo format-awk.lo format-pascal.lo format-ycp.lo 
format-tcl.lo
libtool: link: warning: `/proj/wdt/sun5.8/lib/libiconv.la' seems to be moved
libtool: link: warning: `/proj/wdt/sun5.8/lib/libiconv.la' seems to be moved

I put echos in the libtool at this error message


/proj/wdt/sun5.8/lib/libiconv.la
/proj/wdt/gnu_sun5.8/libiconv-1.8/libiconv.la

are the two things it fails on. But via the links they really are the
same.

I really want it to stick to the /proj/wdt/sun5.8 without going
through link so I can install a newer version and just chnage one
link.



reply via email to

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