[Flac-dev] Mac OS X - xmms plugin probs

Ben Hines bhines at alumni.ucsd.edu
Tue May 21 04:59:03 PDT 2002

I'm making a Fink package for FLAC. It all builds fine except for the 
xmms plugin. I'd use the pbproject, but fink users are likely to want 
the xmms plugin which pbxbuild does not build. Also it seems the 
pbproject does not build dynamic libraries.

I build with:

./configure --prefix=/sw --mandir=/sw/share/man
make install DESTDIR=/tmp (to simulate building into a deb file)

The xmms plugin build fails with:

mkdir /tmp/sw/lib/xmms
mkdir /tmp/sw/lib/xmms/Input
  ../../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_0/flac-1.0.2/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__ -g -O2 -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 -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
mv: rename libxmms-flac.so to libxmms-flac.soU: 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'

This looks like a libtool problem.. any ideas? It wants the *.so file 
but should it be looking for the *.lo file instead? Why does it need 
to relink the plugin at install time?

btw, earlier, i also get:

ranlib /tmp/sw/lib/libFLAC.a
chmod 644 /tmp/sw/lib/libFLAC.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'

Which is wrong, the lib is (correctly) being put in /sw/lib. Only the 
message is wrong.


More information about the Flac-dev mailing list