While trying to emerge media-libs/audiofile-0.2.6-r2 I ran into the following problem source='g711.c' object='g711.lo' libtool=yes \ depfile='.deps/g711.Plo' tmpdepfile='.deps/g711.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -DNDEBUG -O2 -pipe -c -o g711.lo `test -f g711.c || echo './'`g711.c source='pcm.c' object='pcm.lo' libtool=yes \ depfile='.deps/pcm.Plo' tmpdepfile='.deps/pcm.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -DNDEBUG -O2 -pipe -c -o pcm.lo `test -f pcm.c || echo './'`pcm.c ../../libtool: line 1: s%^.*/%%: No such file or directory ../../libtool: line 1: s%^.*/%%: No such file or directory ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. ../../libtool: line 1: -e: command not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found : compile: cannot determine name of library object from `' make[3]: *** [g711.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found : compile: cannot determine name of library object from `' make[3]: *** [pcm.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
The elibtoolize call breaks the compilation. The same holds for the tiff package. Flameeyes: any idea how to resolve this without conditionalising the elibtoolize call? Without it works perfectly fine on OSX, with it doesn't as you get many errors like posted above.
Fix elibtoolize, it already handles Darwin userland differently I think, but I'm not really sure what it does at the end. I think kito knows a bit more about it.
exg fixed elibtoolize for darwin