View previous topic :: View next topic |
Author |
Message |
rhialto n00b
Joined: 13 Jul 2002 Posts: 43 Location: Roermond - The Netherlands
|
Posted: Sun Jul 14, 2002 8:29 am Post subject: emerge mozilla-1.0-r3 fails on missing headers |
|
|
Hello all,
i'm trying to emerge mozilla (1.0-r3) but the build process fails with the message it can't find Xext.h and renderproto.h (see the error log at the end of this post). I have these headers in /usr/X11R6/include/X11/extensions where they were installed by the xfree port. Looking at the file Xrenderint.h which causes the trouble, I see an #include "Xext.h" with a comment that the file is expected in ../include, but that directory does not exist. Has anyone an idea on how I can solve this? Thanks in advance and sorry for this rather long post.
The error messages generated by emerge, I am compiling with NO_MAIL=yes, though compiling without it didn't make a difference. I'm not including gtk2 support.
Code: |
In file included from Composite.c:26:
Xrenderint.h:33: Xext.h: No such file or directory
In file included from Composite.c:26:
Xrenderint.h:36: renderproto.h: No such file or directory
make[3]: *** [Composite.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from FillRect.c:26:
Xrenderint.h:33: Xext.h: No such file or directory
In file included from FillRect.c:26:
Xrenderint.h:36: renderproto.h: No such file or directory
make[3]: *** [FillRect.o] Error 1
In file included from Composite.c:26:
Xrenderint.h:33: Xext.h: No such file or directory
In file included from Composite.c:26:
Xrenderint.h:36: renderproto.h: No such file or directory
make[3]: *** [Composite.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from FillRect.c:26:
Xrenderint.h:33: Xext.h: No such file or directory
In file included from FillRect.c:26:
Xrenderint.h:36: renderproto.h: No such file or directory
make[3]: *** [FillRect.o] Error 1
make[2]: *** [libs] Error 2
In file included from FillRect.c:26:
Xrenderint.h:33: Xext.h: No such file or directory
In file included from FillRect.c:26:
Xrenderint.h:36: renderproto.h: No such file or directory
make[3]: *** [FillRect.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from Composite.c:26:
Xrenderint.h:33: Xext.h: No such file or directory
In file included from Composite.c:26:
Xrenderint.h:36: renderproto.h: No such file or directory
make[3]: *** [Composite.o] Error 1
In file included from Composite.c:26:
Xrenderint.h:33: Xext.h: No such file or directory
In file included from Composite.c:26:
Xrenderint.h:36: renderproto.h: No such file or directory
make[3]: *** [Composite.o] Error 1
make[2]: *** [libs] Error 2
make[1]: *** [tier_9] Error 2
make: *** [default] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 110, Exitcode 2
!!! (no error message)
|
|
|
Back to top |
|
|
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Sat Sep 14, 2002 10:17 am Post subject: kludge |
|
|
I had the same problem, so here's a kludge that works: put symbolic links to Xext.h and renderproto.h in the same directory as Xrenderint.h; only you have to do this after you run emerge and the source is unpacked. Here's what I did:
Code: | ln -s /usr/X11R6/include/X11/extensions/renderproto.h var/tmp/portage/mozilla-1.0-r3/work/mozilla/other-licenses/Xft/Xrender/renderproto.h
ln -s /usr/X11R6/include/X11/extensions/Xext.h /var/tmp/portage/mozilla-1.0-r3/work/mozilla/other-licenses/Xft/Xrender/Xext.h
|
There's probably a smarter way to do this, but I'm still a n00b, especiall when it comes to Portage. Anyway, it compiled fine and I'm posting this message now with Mozilla, but I got the following error:
Code: |
error:***********************************************************
* NB: Please unmerge old versions of mozilla, as the header *
* layout in /usr/lib/mozilla/include have changed and will *
* result in compile errors when compiling programs that need *
* mozilla headers and libs (galeon, nautilus, ...) *
*****************************************************************
|
The reason why I was compiling Mozilla was to get Galeon working, which I'm going to try to emerge now; I'll post here again to see how it goes. |
|
Back to top |
|
|
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Sun Sep 15, 2002 12:36 am Post subject: |
|
|
Well, I emerged galeon afterwards, and it worked perfectly. Oddly enough I had built libglade without gnome and I received a warning saying that I should rebuild it with gnome support, but I didn't, and I"m running galeon as we speak, so it seems okay. |
|
Back to top |
|
|
rhialto n00b
Joined: 13 Jul 2002 Posts: 43 Location: Roermond - The Netherlands
|
Posted: Sun Sep 15, 2002 8:40 am Post subject: |
|
|
thanks for the tips Carlos, i didn't even expect any answer anymore i'm going to try this and find out if it works for me. Eventually i simply compiled mozilla by hand and injected the package so portage would think I emerged it. But with your tips, I should be able to do a real emerge!
Thanks again
Rhialto _________________ Adopt an unanswered post today! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|