The build bombs out on the xmms plugin on redhat 7.1 box: ../../libtool-disable-static --mode=link gcc -I../.. -I./include -I ../../include -Wall -W -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops -finline-functions -Winline -DFLaC__INLINE=__inline__ -O2 -march=i386 -mcpu=i686 -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o libxmms-flac.la -rpath /usr/lib/xmms/Input -module -avoid-version plugin.lo ../../src/libFLAC/libFLAC.la -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms libtool-disable-static: link: error: cannot link shared libraries into libtool libraries make[2]: *** [libxmms-flac.la] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/flac-1.0/src/plugin_xmms' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/flac-1.0/src' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.19960 (%build) Any suggestions? -- miles
> The build bombs out on the xmms plugin on redhat 7.1 box: > > ../../libtool-disable-static --mode=link gcc -I../.. -I./include -I > ../../include -Wall -W -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops > -finline-functions -Winline -DFLaC__INLINE=__inline__ -O2 -march=i386 > -mcpu=i686 > -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -o libxmms-flac.la -rpath > /usr/lib/xmms/Input -module -avoid-version plugin.lo > ../../src/libFLAC/libFLAC.la -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk > -rdynamic > -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms > libtool-disable-static: link: error: cannot link shared libraries into > libtool > libraries > make[2]: *** [libxmms-flac.la] Error 1 > make[2]: Leaving directory > `/usr/src/redhat/BUILD/flac-1.0/src/plugin_xmms' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/flac-1.0/src' > make: *** [all-recursive] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.19960 (%build) > > Any suggestions?this happened to me when i used macros %configure in %build section of .spec file. try to use ./configure instead, this works for me. here is my .spec ~~~~~~ andrei ICQ: 111752051 -------------- next part -------------- A non-text attachment was scrubbed... Name: flac.spec Type: application/octet-stream Size: 2443 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20010725/9f0f875a/flac.obj
> The build bombs out on the xmms plugin on redhat 7.1 box: > Any suggestions?i'm using rpm-based distrib with patched rpm 3.0.6. i've got the same trouble with rpm packaging. in macros %configure of %build section executes command libtoolize --copy --force which overwrites 4 files from standart flac package. with these files building ends with error. finally, i solved this with %undefine __libtoolize and here's my last version of spec. it builds flac, libflac, flac-devel and xmms-flac packages. ~~~~~~ andrei ICQ: 111752051
> > The build bombs out on the xmms plugin on redhat 7.1 box: > > Any suggestions? > > i'm using rpm-based distrib with patched rpm 3.0.6. > i've got the same trouble with rpm packaging. > in macros %configure of %build section executes command > libtoolize --copy --force > which overwrites 4 files from standart flac package. > with these files building ends with error. > finally, i solved this with > %undefine __libtoolize > > and here's my last version of spec. > it builds flac, libflac, flac-devel and xmms-flac packages.sorry, for missing .spec. here is goes... ~~~~~~ andrei ICQ: 111752051 -------------- next part -------------- A non-text attachment was scrubbed... Name: flac.spec Type: application/octet-stream Size: 2574 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20010726/fe4a7fed/flac.obj