This looks similar to the problem i have with openmotif, and FLAC also:

"libtool 1.4.2 (gettext 0.11): Relinking fails when DESTDIR set"


http://mail.gnu.org/pipermail/bug-libtool/2002-February/003018.html
http://mail.gnu.org/pipermail/libtool/2002-April/006244.html
http://mail.gnu.org/pipermail/libtool/2002-April/006250.html

They have a patch to supposedly fix the bug:
http://mail.gnu.org/pipermail/libtool/2002-April/006268.html 
http://mail.gnu.org/pipermail/bug-libtool/2002-February/003019.html

Maybe these should be added to (or linked to on) our libtool fixes 
page, since fink packages often use DESTDIR.

However, i can't get the patch to work on FLAC. It tries to link it 
with the full not yet installed /sw/lib/libFLAC.dylib path and doesnt 
add DESTDIR to -L.  This is precisely the same bug i have with the 
openmotif package.

  ../../libtool-disable-static --mode=install /usr/bin/install -c 
libxmms-flac.la /tmp/sw/lib/xmms/Input/libxmms-flac.la
libtool-disable-static: install: warning: relinking `libxmms-flac.la'
(cd 
/Users/ben/Desktop/flac-1_0_2-src_1/flac-1.0.2-patched/src/plugin_xmms; 
/bin/sh ../../libtool-disable-static --mode=relink gcc -I../.. 
-I./include -I ../../include -Wall -W -O3 -DNDEBUG 
-fomit-frame-pointer -funroll-loops -finline-functions -Winline 
-DFLaC__INLINE=__inline__ -I/sw/include -I/sw/include 
-I/sw/include/xmms -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 
-I/sw/lib/glib/include -I/usr/X11R6/include -L/sw/lib -o 
libxmms-flac.la -rpath /sw/lib/xmms/Input -module -avoid-version 
plugin.lo ../../src/libFLAC/libFLAC.la -L/sw/lib -L/sw/lib 
-L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext 
-lX11 -lm -lxmms -logg)
~/Desktop/flac-1_0_2-src_1/flac-1.0.2-patched/src/plugin_xmms/.libs
gcc -bundle -flat_namespace -undefined suppress -o 
.libs/libxmms-flac.so  plugin.lo  -L/sw/lib /sw/lib/libFLAC.dylib 
-L/usr/X11R6/lib /sw/lib/libgtk.dylib /sw/lib/libgdk.dylib 
/sw/lib/libgmodule.dylib /sw/lib/libglib.dylib -ldl 
/sw/lib/libintl.dylib -lXext -lX11 -lm /sw/lib/libxmms.dylib 
/sw/lib/libogg.dylib -lc -install_name 
/sw/lib/xmms/Input/libxmms-flac.so
gcc: /sw/lib/libFLAC.dylib: No such file or directory
libtool-disable-static: install: error: relink `libxmms-flac.la' with 
the above command before installing it
libtool-disable-static: install: warning: remember to run 
`libtool-disable-static --finish /sw/lib/xmms/Input'


Maybe one of you libtool hackers could come up with a better libtool 
patch? Or get this one to work?

Anyway, i'll put the flac files on the flac item, if anyone wants to 
check it out.

http://sourceforge.net/tracker/index.php?func=detail&aid=541678&group_id=17203&atid=371315

-Ben
-- 
http://homepage.mac.com/bhines/

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to