1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Sun, 30 Jul 2006, Jonathan Schaeffer wrote: |
5 |
|
6 |
> Hi list, |
7 |
> |
8 |
> I can't compile modular xorg, stable version. |
9 |
> The error occurs while compiling libxkbfile : |
10 |
> |
11 |
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ |
12 |
> -I../include/X11/extensions/ -O2 -pipe -march=k8 -MT |
13 |
> cout.lo -MD -MP -MF .deps/cout.Tpo -c cout.c -fPIC -DPIC -o .libs/cout.o |
14 |
> cout.c:35:21: X11/Xos.h: No such file or directory |
15 |
> cout.c:36:22: X11/Xlib.h: No such file or directory |
16 |
> cout.c:37:24: X11/XKBlib.h: No such file or directory |
17 |
> cout.c:38:36: X11/extensions/XKBgeom.h: No such file or directory |
18 |
> In file included from cout.c:40: |
19 |
> ../include/X11/extensions/XKMformat.h:32:32: X11/extensions/XKB.h: No |
20 |
> such file or directory |
21 |
> ../include/X11/extensions/XKMformat.h:33:37: |
22 |
> X11/extensions/XKBproto.h: No such file or directory |
23 |
> |
24 |
> And then the bunch of "Syntax error" "undeclared (first use in this |
25 |
> function)" shows up |
26 |
> |
27 |
> I joined the tree output of the portage working directory. It seems to |
28 |
> miss some file ... |
29 |
> can someone help me ? |
30 |
> |
31 |
|
32 |
Somehow, you are getting things out of order. If you look at the ebuild |
33 |
for libxkbfile, you will see dependencies for x11-libs/libX11 and |
34 |
x11-proto/kbproto. You can't tell from your error messages, but, for |
35 |
example, /usr/include/X11/Xlib.h comes from x11-libs/libX11, and |
36 |
/usr/include/X11/Xos.h comes from x11-proto/xproto, x11-proto/xproto is a |
37 |
dependency for pretty much all of xorg-x11-7.x (X-modular). (And by the |
38 |
way, X11/extensions/XKBgeom.h does come from kbproto.) |
39 |
|
40 |
It is not clear from your report how you are building X-modular. |
41 |
Generally, though, something like 'emerge -pv xorg-x11 x11' should show |
42 |
you a huge build in the proper order. What you are seeing should not be |
43 |
possible unless (1) portage thinks all those dependencies are present, but |
44 |
for some reason they are not, or (2) you are building with 'emerge -O ...' |
45 |
for some reason. |
46 |
|
47 |
> thanks a lot |
48 |
> |
49 |
> Jo |
50 |
> |
51 |
> |
52 |
|
53 |
I am pretty sure I know what you are seeing, but how it got that way I |
54 |
cannot guess. Hope this gives you some ideas, though. |
55 |
|
56 |
Regards, |
57 |
Ferris |
58 |
|
59 |
- -- |
60 |
Ferris McCormick (P44646, MI) <fmccor@g.o> |
61 |
Developer, Gentoo Linux (Devrel, Sparc) |
62 |
-----BEGIN PGP SIGNATURE----- |
63 |
Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux) |
64 |
|
65 |
iD8DBQFEzQGPQa6M3+I///cRAiBEAJ4sYzR++nNKC8G8r2eVl+R6qsjKewCfTf3L |
66 |
xDjfaKqapjfq/+BgzgjdKzc= |
67 |
=70S8 |
68 |
-----END PGP SIGNATURE----- |
69 |
-- |
70 |
gentoo-amd64@g.o mailing list |