-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 30 Jul 2006, Jonathan Schaeffer wrote:

Hi list,

I can't compile modular xorg, stable version.
The error occurs while compiling libxkbfile :

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/
-I../include/X11/extensions/ -O2 -pipe -march=k8 -MT
cout.lo -MD -MP -MF .deps/cout.Tpo -c cout.c  -fPIC -DPIC -o .libs/cout.o
cout.c:35:21: X11/Xos.h: No such file or directory
cout.c:36:22: X11/Xlib.h: No such file or directory
cout.c:37:24: X11/XKBlib.h: No such file or directory
cout.c:38:36: X11/extensions/XKBgeom.h: No such file or directory
In file included from cout.c:40:
../include/X11/extensions/XKMformat.h:32:32: X11/extensions/XKB.h: No
such file or directory
../include/X11/extensions/XKMformat.h:33:37:
X11/extensions/XKBproto.h: No such file or directory

And then the bunch of "Syntax error" "undeclared (first use in this
function)" shows up

I joined the tree output of the portage working directory. It seems to
miss some file ...
can someone help me ?


Somehow, you are getting things out of order. If you look at the ebuild for libxkbfile, you will see dependencies for x11-libs/libX11 and x11-proto/kbproto. You can't tell from your error messages, but, for example, /usr/include/X11/Xlib.h comes from x11-libs/libX11, and /usr/include/X11/Xos.h comes from x11-proto/xproto, x11-proto/xproto is a dependency for pretty much all of xorg-x11-7.x (X-modular). (And by the way, X11/extensions/XKBgeom.h does come from kbproto.)

It is not clear from your report how you are building X-modular. Generally, though, something like 'emerge -pv xorg-x11 x11' should show you a huge build in the proper order. What you are seeing should not be possible unless (1) portage thinks all those dependencies are present, but for some reason they are not, or (2) you are building with 'emerge -O ...' for some reason.

thanks a lot

Jo



I am pretty sure I know what you are seeing, but how it got that way I cannot guess. Hope this gives you some ideas, though.

Regards,
Ferris

- --
Ferris McCormick (P44646, MI) <[EMAIL PROTECTED]>
Developer, Gentoo Linux (Devrel, Sparc)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux)

iD8DBQFEzQGPQa6M3+I///cRAiBEAJ4sYzR++nNKC8G8r2eVl+R6qsjKewCfTf3L
xDjfaKqapjfq/+BgzgjdKzc=
=70S8
-----END PGP SIGNATURE-----
--
[email protected] mailing list

Reply via email to