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