Trying to emerge mozilla-firefox-1.5.0.5 with +xprint results in: xprintutil.c: At top level: xprintutil.c:1915: error: syntax error before "XPContext" xprintutil.c: In function `XpuGetSupportedPageAttributes': xprintutil.c:1917: error: `pdpy' undeclared (first use in this function) xprintutil.c:1917: error: `pcontext' undeclared (first use in this function) xprintutil.c:1917: error: `XPPrinterAttr' undeclared (first use in this function) gmake[4]: *** [xprintutil.o] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla/gfx/src/xprintutil' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla/gfx/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla/gfx' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla' make: *** [default] Error 2 !!! ERROR: www-client/mozilla-firefox-1.5.0.5 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mozilla-firefox-1.5.0.5.ebuild, line 179: Called die
Do you have x11-libs/libXaw compiled with USE=xprint? That solved the problem on my laptop.
I have libXaw compiled with +xprint, but I when I emerged it again it failed with: PrintShell.c: In function `XawAttributesNotify': PrintShell.c:743: error: `XPAttributeEvent' undeclared (first use in this function) PrintShell.c:743: error: `xpevp' undeclared (first use in this function) PrintShell.c:743: error: syntax error before ')' token make[2]: *** [libXaw8_la-PrintShell.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/libXaw-1.0.2/work/libXaw-1.0.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libXaw-1.0.2/work/libXaw-1.0.2' make: *** [all] Error 2 !!! ERROR: x11-libs/libXaw-1.0.2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called x-modular_src_compile x-modular.eclass, line 330: Called x-modular_src_make x-modular.eclass, line 325: Called die There are a long list of errors above this portion too. Does anyone recognize this?
Is this a stumper?
Interesting would be the first error. Looking at the problem I assume you are missing some header files form modular Xorg. You can create a full log with PORT_LOGDIR="/var/log/portage" in make.conf. It will then show up in /var/log/portage/www-client...
I think this is it: In file included from xprintutil.c:38: xprintutil.h:46:34: X11/extensions/Print.h: No such file or directory In file included from xprintutil.c:38: xprintutil.h:155: error: syntax error before "XPContext" xprintutil.h:156: error: syntax error before "XPContext" xprintutil.h:159: error: syntax error before "XPContext" xprintutil.h:161: error: syntax error before "XPContext" xprintutil.h:163: error: syntax error before "XPContext" xprintutil.h:164: error: syntax error before "XPContext" xprintutil.h:165: error: syntax error before "XPContext" xprintutil.h:172: error: syntax error before "XpuGetPrinterList" xprintutil.h:173: error: syntax error before "list" xprintutil.h:176: error: syntax error before "XPContext" xprintutil.h:179: error: syntax error before "XPContext" xprintutil.h:181: error: syntax error before "XPContext" xprintutil.h:182: error: syntax error before "XPContext" xprintutil.h:194: error: syntax error before "XPContext" xprintutil.h:196: error: syntax error before "XPContext" xprintutil.h:197: error: syntax error before "XPContext" xprintutil.h:198: error: syntax error before "XPContext" xprintutil.h:202: error: syntax error before "XPContext" xprintutil.h:206: error: syntax error before "XPContext" xprintutil.h:207: error: syntax error before "XPContext" xprintutil.h:210: error: syntax error before "XPContext" xprintutil.h:213: error: syntax error before "XPContext" xprintutil.h:214: error: syntax error before "XPContext" xprintutil.h:217: error: syntax error before "XPContext" xprintutil.h:218: error: syntax error before "XPContext" xprintutil.h:221: error: syntax error before "XPContext" xprintutil.h:227: error: syntax error before "XPContext" xprintutil.h:228: error: syntax error before "XpuWaitForPrintFileChild" xprintutil.h:231: error: syntax error before "XPContext" xprintutil.h:232: error: syntax error before "XPContext" xprintutil.h:233: error: syntax error before "XPContext" xprintutil.c:72: error: syntax error before "XPContext" xprintutil.c:174: error: syntax error before "XPContext" xprintutil.c: In function `XpuGetPrinter2': xprintutil.c:177: error: `XPContext' undeclared (first use in this function) xprintutil.c:177: error: (Each undeclared identifier is reported only once xprintutil.c:177: error: for each function it appears in.) xprintutil.c:177: error: syntax error before "pcontext" xprintutil.c:181: error: `display' undeclared (first use in this function)
Let me know if there is anything else I can post that would be useful.
I can't remember the details now, but I fixed this a little while back by looking at the errors, using equery belongs, and emerging packages again.