Gentoo Archives: gentoo-user

From: Harm Geerts <harmgeerts@××××.nl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Gentoo's make - a problem?
Date: Sun, 01 Oct 2006 02:16:38
Message-Id: 200610010410.30021.harmgeerts@home.nl
In Reply to: [gentoo-user] Gentoo's make - a problem? by "Michael [Plouj] Ploujnikov"
1 On Sunday 01 October 2006 01:33, Michael [Plouj] Ploujnikov wrote:
2 > I'm trying to compile wine outside of it's source directory manually
3 > and make seems to be broken. The gist is: make needs to build a
4 > makedep tool before the rest of compilation can proceed. However, when
5 > I do 'make depend' it starts using makedep which doesn't exist yet. A
6 > wine developer keeps suggesting to me that this could be potentially a
7 > problem with Gentoo's make.
8 > Here is what 'make depend' should print:
9 > $ make depend
10 > make[1]: Entering directory `/usr/local/src/test/tools'
11 > gcc -c -I../../wine.git/tools -I. -I../../wine.git/include
12 > -I../include -I/usr/include/freetype2 -Wall -pipe
13 > -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement
14 > -Wwrite-strings -Wpointer-arith -g -O2 -o makedep.o
15 > ../../wine.git/tools/makedep.c
16 > gcc -g -O2 -o makedep makedep.o
17 > ../tools/makedep -C../../wine.git/tools -S../../wine.git -T..
18 > -I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c
19 > makedep.c relpath.c sfnt2fnt.c
20 > make[1]: Leaving directory `/usr/local/src/test/tools'
21 > ...
22 >
23 > Here is what I actually see:
24 > $ make depend
25 > make[1]: Entering directory `/home/plouj/apps/build_dir/tools'
26 > ../tools/makedep -C../../wine-git/tools -S../../wine-git -T..
27 > -I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c
28 > makedep.c relpath.c sfnt2fnt.c
29 > make[1]: ../tools/makedep: Command not found
30 > make[1]: [Makefile] Error 127 (ignored)
31 > make[1]: `../../wine-git/tools/makedep' is up to date.
32 > make[1]: Leaving directory `/home/plouj/apps/build_dir/tools'
33 > make[1]: Entering directory `/home/plouj/apps/build_dir/dlls'
34 > make[2]: Entering directory `/home/plouj/apps/build_dir/dlls/activeds'
35 > ../../tools/makedep -C../../../wine-git/dlls/activeds
36 > -S../../../wine-git -T../.. activeds_main.c
37 > ...
38 >
39 > My wine source is in ~/apps/wine-git
40 > I'm trying to compile wine inside ~/apps/build_dir
41 > I do this (on Gentoo AMD64):
42 >
43 > ../wine-git/configure --x-libraries=/emul/linux/x86/usr/lib/
44 > LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib"
45 >
46 > configure succeeds
47 >
48 > Then I run make (or make depend, which is called if I just run 'make')
49 > and get the errors above.
50 > What is supposed to happen is make depend should build tools/makedep
51 > and then use makedep to build various wine parts. It seems that
52 > something that is not right with my system is causing make to skip
53 > building makedep, and result in a failure.
54 >
55 > I really hope that someone with expertise in make, Linux compilation
56 > processes and Gentoo would take a look at this. If there is a better
57 > place to post this, please let me know.
58
59 It's probably not the first time the jobserver messes it up cause the ebuild
60 builds wine like this:
61 make -j1 depend && make
62
63 Does that work for you ?
64 --
65 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Gentoo's make - a problem? "Michael [Plouj] Ploujnikov" <ploujj@×××××.com>