On Sunday 01 October 2006 01:33, Michael [Plouj] Ploujnikov wrote: > I'm trying to compile wine outside of it's source directory manually > and make seems to be broken. The gist is: make needs to build a > makedep tool before the rest of compilation can proceed. However, when > I do 'make depend' it starts using makedep which doesn't exist yet. A > wine developer keeps suggesting to me that this could be potentially a > problem with Gentoo's make. > Here is what 'make depend' should print: > $ make depend > make[1]: Entering directory `/usr/local/src/test/tools' > gcc -c -I../../wine.git/tools -I. -I../../wine.git/include > -I../include -I/usr/include/freetype2 -Wall -pipe > -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement > -Wwrite-strings -Wpointer-arith -g -O2 -o makedep.o > ../../wine.git/tools/makedep.c > gcc -g -O2 -o makedep makedep.o > ../tools/makedep -C../../wine.git/tools -S../../wine.git -T.. > -I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c > makedep.c relpath.c sfnt2fnt.c > make[1]: Leaving directory `/usr/local/src/test/tools' > ... > > Here is what I actually see: > $ make depend > make[1]: Entering directory `/home/plouj/apps/build_dir/tools' > ../tools/makedep -C../../wine-git/tools -S../../wine-git -T.. > -I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c > makedep.c relpath.c sfnt2fnt.c > make[1]: ../tools/makedep: Command not found > make[1]: [Makefile] Error 127 (ignored) > make[1]: `../../wine-git/tools/makedep' is up to date. > make[1]: Leaving directory `/home/plouj/apps/build_dir/tools' > make[1]: Entering directory `/home/plouj/apps/build_dir/dlls' > make[2]: Entering directory `/home/plouj/apps/build_dir/dlls/activeds' > ../../tools/makedep -C../../../wine-git/dlls/activeds > -S../../../wine-git -T../.. activeds_main.c > ... > > My wine source is in ~/apps/wine-git > I'm trying to compile wine inside ~/apps/build_dir > I do this (on Gentoo AMD64): > > ../wine-git/configure --x-libraries=/emul/linux/x86/usr/lib/ > LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" > > configure succeeds > > Then I run make (or make depend, which is called if I just run 'make') > and get the errors above. > What is supposed to happen is make depend should build tools/makedep > and then use makedep to build various wine parts. It seems that > something that is not right with my system is causing make to skip > building makedep, and result in a failure. > > I really hope that someone with expertise in make, Linux compilation > processes and Gentoo would take a look at this. If there is a better > place to post this, please let me know.
It's probably not the first time the jobserver messes it up cause the ebuild builds wine like this: make -j1 depend && make Does that work for you ? -- gentoo-user@gentoo.org mailing list