Summary: | xfig fails to compile when emerging | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brad <code> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Brad
2003-01-06 17:58:12 UTC
I did not encounter these problems. I also don't encounter the warnings mentioned such as /usr/X11R6/lib/X11/config/site.def:62: warning: `i386Architecture' redefined xpm.h, as is mentioned in the error, is provided by x11-base/xfree, something I doubt you don't have. In doubt, check /usr/X11R6/lib/X11/xpm.h. please paste #emerge info Sven: I found xpm.h in my /usr/X11R6/include/X11 directory and there is no -I/usr/X11R6/include/X11 on the gcc command line. After adding adding a sym link to xpm.h in /usr/X11R6/include everything emerged and compiled ok :-) NB. I'm using Gentoo 1.2 and XFree86 Version 4.2.0 NB2. I notice that the following directory is included twice "gcc ... -I/usr/X11R6/include -I/usr/X11R6/include ..." is this just an artifact of how the ebuild works or should one of these directories really be /usr/X11R6/include/X11? Martin: root@pc bin # emerge info Calculating dependencies emerge: there are no masked or unmasked ebuilds to satisfy "info". root@pc bin # mmm looks like it's trying to emerge a package called "info". Couldn't find anything in the man page about info. Sorry about the line breaks in the previous comment. I have just discovered transfig didn't compile completely when i emerged it previously (before xfig). It appears to have the same problem as xfig i.e. not including the /usr/X11R6/include/X11 directory. Again a sym link to xpm.h in /usr/X11R6/include solves the problem. Note I still get warnings about redefinitions e.g. "warning: `i386Architecture' redefined" but it seems to work ok. brad: you must me using a very very old portage version emerge sync && emerge -u portage please use a browser with auto <cr> or do it self Upgrading portage fixed it (old version was installed July 02 ;-). Both transfig and xfig emerge successfully now. *** Thanks for your help *** I have marked the bug as FIXED. I assume it is ok for me to do that. |