# ebuild qt-3.1.1.ebuild package ... In file included from kernel/qtaddons_x11.cpp:25: kernel/qt_x11.h:64:22: X11/Xlib.h: No such file or directory kernel/qt_x11.h:69:23: X11/Xutil.h: No such file or directory kernel/qt_x11.h:70:21: X11/Xos.h: No such file or directory kernel/qt_x11.h:71:23: X11/Xatom.h: No such file or directory kernel/qt_x11.h:79:34: X11/extensions/shape.h: No such file or directory kernel/qt_x11.h:85:37: X11/extensions/XInput.h: No such file or directory make[1]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from kernel/qclipboard_x11.cpp:58: kernel/qt_x11.h:64:22: X11/Xlib.h: No such file or directory kernel/qt_x11.h:69:23: X11/Xutil.h: No such file or directory kernel/qt_x11.h:70:21: X11/Xos.h: No such file or directory kernel/qt_x11.h:71:23: X11/Xatom.h: No such file or directory kernel/qt_x11.h:79:34: X11/extensions/shape.h: No such file or directory kernel/qt_x11.h:85:37: X11/extensions/XInput.h: No such file or directory kernel/qclipboard_x11.cpp:68: syntax error before `;' token kernel/qclipboard_x11.cpp:69: syntax error before `;' token kernel/qclipboard_x11.cpp:70: syntax error before `;' token kernel/qclipboard_x11.cpp:71: syntax error before `;' token kernel/qclipboard_x11.cpp:72: syntax error before `;' token kernel/qclipboard_x11.cpp:73: syntax error before `;' token kernel/qclipboard_x11.cpp:74: syntax error before `*' token kernel/qclipboard_x11.cpp:75: `Atom' was not declared in this scope kernel/qclipboard_x11.cpp:109: `Atom' was not declared in this scope kernel/qclipboard_x11.cpp:109: parse error before `)' token kernel/qclipboard_x11.cpp:111: 'Atom' is used as a type, but is not defined as a type. kernel/qclipboard_x11.cpp: In member function `bool QClipboard::ownsSelection() const': kernel/qclipboard_x11.cpp:239: `XA_PRIMARY' undeclared (first use this function) kernel/qclipboard_x11.cpp:239: (Each undeclared identifier is reported only once for each function it appears in.) kernel/qclipboard_x11.cpp:239: `XGetSelectionOwner' undeclared (first use this function) kernel/qclipboard_x11.cpp: In member function `bool QClipboard::ownsClipboard() const': kernel/qclipboard_x11.cpp:252: `qt_xa_clipboard' undeclared (first use this function) kernel/qclipboard_x11.cpp: In member function `void QClipboard::clobber()': kernel/qclipboard_x11.cpp:304: `Window' undeclared (first use this function) kernel/qclipboard_x11.cpp:304: parse error before `=' token kernel/qclipboard_x11.cpp:306: `win' undeclared (first use this function) kernel/qclipboard_x11.cpp:307: `None' undeclared (first use this function) kernel/qclipboard_x11.cpp:307: `qt_x_time' undeclared (first use this function) kernel/qclipboard_x11.cpp:307: `XSetSelectionOwner' undeclared (first use this function) kernel/qclipboard_x11.cpp:317: parse error before `=' token kernel/qclipboard_x11.cpp: At global scope: kernel/qclipboard_x11.cpp:325: type specifier omitted for parameter `Window' kernel/qclipboard_x11.cpp:325: parse error before `,' token kernel/qclipboard_x11.cpp: In function `bool qt_xclb_wait_for_event(...)': kernel/qclipboard_x11.cpp:333: `dpy' undeclared (first use this function) kernel/qclipboard_x11.cpp:333: `type' undeclared (first use this function) kernel/qclipboard_x11.cpp:333: `event' undeclared (first use this function) kernel/qclipboard_x11.cpp:333: `XCheckTypedWindowEvent' undeclared (first use this function) kernel/qclipboard_x11.cpp:341: `XFlush' undeclared (first use this function) kernel/qclipboard_x11.cpp:350: `timeout' undeclared (first use this function) kernel/qclipboard_x11.cpp: In function `int maxSelectionIncr(Display*)': kernel/qclipboard_x11.cpp:358: `XMaxRequestSize' undeclared (first use this function) kernel/qclipboard_x11.cpp: At global scope: kernel/qclipboard_x11.cpp:365: type specifier omitted for parameter `Window' kernel/qclipboard_x11.cpp:365: parse error before `,' token kernel/qclipboard_x11.cpp: In function `bool qt_xclb_read_property(...)': kernel/qclipboard_x11.cpp:374: `Atom' undeclared (first use this function) kernel/qclipboard_x11.cpp:374: parse error before `;' token kernel/qclipboard_x11.cpp:379: `dummy_type' undeclared (first use this function) kernel/qclipboard_x11.cpp:380: `format' undeclared (first use this function) kernel/qclipboard_x11.cpp:384: `property' undeclared (first use this function) kernel/qclipboard_x11.cpp:384: `False' undeclared (first use this function) kernel/qclipboard_x11.cpp:385: `AnyPropertyType' undeclared (first use this function) kernel/qclipboard_x11.cpp:386: `XGetWindowProperty' undeclared (first use this function) kernel/qclipboard_x11.cpp:387: `Success' undeclared (first use this function) kernel/qclipboard_x11.cpp:388: `buffer' undeclared (first use this function) kernel/qclipboard_x11.cpp:391: `XFree' undeclared (first use this function) kernel/qclipboard_x11.cpp:416: `nullterm' undeclared (first use this function) kernel/qclipboard_x11.cpp:453: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:453: parse error before `=' token kernel/qclipboard_x11.cpp:454: `xa_compound_text' undeclared (first use this function) kernel/qclipboard_x11.cpp:456: `XTextProperty' undeclared (first use this function) kernel/qclipboard_x11.cpp:456: parse error before `;' token kernel/qclipboard_x11.cpp:457: `textprop' undeclared (first use this function) kernel/qclipboard_x11.cpp:465: `XmbTextPropertyToTextList' undeclared (first use this function) kernel/qclipboard_x11.cpp:471: `XFreeStringList' undeclared (first use this function) kernel/qclipboard_x11.cpp:453: warning: unused variable `int Atom' kernel/qclipboard_x11.cpp:480: `size' undeclared (first use this function) kernel/qclipboard_x11.cpp:488: `deleteProperty' undeclared (first use this function) kernel/qclipboard_x11.cpp:489: `XDeleteProperty' undeclared (first use this function) kernel/qclipboard_x11.cpp: At global scope: kernel/qclipboard_x11.cpp:498: type specifier omitted for parameter `Window' kernel/qclipboard_x11.cpp:498: parse error before `,' token kernel/qclipboard_x11.cpp: In function `QByteArray qt_xclb_read_incremental_property(...)': kernel/qclipboard_x11.cpp:502: aggregate `XEvent event' has incomplete type and cannot be defined kernel/qclipboard_x11.cpp:510: `XWindowAttributes' undeclared (first use this function) kernel/qclipboard_x11.cpp:510: parse error before `;' token kernel/qclipboard_x11.cpp:511: `wa' undeclared (first use this function) kernel/qclipboard_x11.cpp:511: `XGetWindowAttributes' undeclared (first use this function) kernel/qclipboard_x11.cpp:514: `PropertyChangeMask' undeclared (first use this function) kernel/qclipboard_x11.cpp:514: `XSelectInput' undeclared (first use this function) kernel/qclipboard_x11.cpp:516: `nbytes' undeclared (first use this function) kernel/qclipboard_x11.cpp:524: `PropertyNotify' undeclared (first use this function) kernel/qclipboard_x11.cpp:529: `PropertyNewValue' undeclared (first use this function) kernel/qclipboard_x11.cpp: In member function `virtual bool QClipboard::event(QEvent*)': kernel/qclipboard_x11.cpp:607: invalid use of undefined type `union _XEvent' kernel/qwindowdefs.h:142: forward declaration of `union _XEvent' kernel/qclipboard_x11.cpp:609: `SelectionClear' undeclared (first use this function) kernel/qclipboard_x11.cpp:611: invalid use of undefined type `union _XEvent' kernel/qwindowdefs.h:142: forward declaration of `union _XEvent' kernel/qclipboard_x11.cpp:632: `SelectionNotify' undeclared (first use this function) kernel/qclipboard_x11.cpp:645: `SelectionRequest' undeclared (first use this function) kernel/qclipboard_x11.cpp:648: `XSelectionRequestEvent' undeclared (first use this function) kernel/qclipboard_x11.cpp:648: `req' undeclared (first use this function) kernel/qclipboard_x11.cpp:648: invalid use of undefined type `union _XEvent' kernel/qwindowdefs.h:142: forward declaration of `union _XEvent' kernel/qclipboard_x11.cpp:652: aggregate `XEvent evt' has incomplete type and cannot be defined kernel/qclipboard_x11.cpp:695: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:695: parse error before `=' token kernel/qclipboard_x11.cpp:696: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:696: redeclaration of `int Atom' kernel/qclipboard_x11.cpp:695: `int Atom' previously declared here kernel/qclipboard_x11.cpp:696: declaration of `int Atom' kernel/qclipboard_x11.cpp:695: conflicts with previous declaration `int Atom' kernel/qclipboard_x11.cpp:696: parse error before `=' token kernel/qclipboard_x11.cpp:697: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:697: redeclaration of `int Atom' kernel/qclipboard_x11.cpp:695: `int Atom' previously declared here kernel/qclipboard_x11.cpp:697: declaration of `int Atom' kernel/qclipboard_x11.cpp:695: conflicts with previous declaration `int Atom' kernel/qclipboard_x11.cpp:697: parse error before `=' token kernel/qclipboard_x11.cpp:698: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:698: redeclaration of `int Atom' kernel/qclipboard_x11.cpp:695: `int Atom' previously declared here kernel/qclipboard_x11.cpp:698: declaration of `int Atom' kernel/qclipboard_x11.cpp:695: conflicts with previous declaration `int Atom' kernel/qclipboard_x11.cpp:698: parse error before `=' token kernel/qclipboard_x11.cpp:699: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:699: redeclaration of `int Atom' kernel/qclipboard_x11.cpp:695: `int Atom' previously declared here kernel/qclipboard_x11.cpp:699: declaration of `int Atom' kernel/qclipboard_x11.cpp:695: conflicts with previous declaration `int Atom' kernel/qclipboard_x11.cpp:699: parse error before `=' token kernel/qclipboard_x11.cpp:700: 'Atom' is used as a type, but is not defined as a type. kernel/qclipboard_x11.cpp:700: 'Atom' is used as a type, but is not defined as a type. kernel/qclipboard_x11.cpp:703: `xa_multiple' undeclared (first use this function) kernel/qclipboard_x11.cpp:716: `Window' undeclared (first use this function) kernel/qclipboard_x11.cpp:716: parse error before `;' token kernel/qclipboard_x11.cpp:717: `class QClipboard' has no member named `Atom' kernel/qclipboard_x11.cpp:722: `target' undeclared (first use this function) kernel/qclipboard_x11.cpp:722: `struct QClipboard::event(QEvent*)::AtomPair' has no member named `target' kernel/qclipboard_x11.cpp:723: `struct QClipboard::event(QEvent*)::AtomPair' has no member named `property' kernel/qclipboard_x11.cpp:730: `xa_targets' undeclared (first use this function) kernel/qclipboard_x11.cpp:748: `dnd' undeclared (first use this function) kernel/qclipboard_x11.cpp:748: `qt_xdnd_str_to_atom' undeclared (first use this function) kernel/qclipboard_x11.cpp:760: `XA_PIXMAP' undeclared (first use this function) kernel/qclipboard_x11.cpp:762: `XA_BITMAP' undeclared (first use this function) kernel/qclipboard_x11.cpp:764: `xa_utf8_string' undeclared (first use this function) kernel/qclipboard_x11.cpp:766: `XA_STRING' undeclared (first use this function) kernel/qclipboard_x11.cpp:783: `PropModeReplace' undeclared (first use this function) kernel/qclipboard_x11.cpp:783: `XChangeProperty' undeclared (first use this function) kernel/qclipboard_x11.cpp:796: `xa_text' undeclared (first use this function) kernel/qclipboard_x11.cpp:802: `XICCEncodingStyle' undeclared (first use this function) kernel/qclipboard_x11.cpp:802: parse error before `;' token kernel/qclipboard_x11.cpp:804: `style' undeclared (first use this function) kernel/qclipboard_x11.cpp:804: `XCompoundTextStyle' undeclared (first use this function) kernel/qclipboard_x11.cpp:806: `XStdICCTextStyle' undeclared (first use this function) kernel/qclipboard_x11.cpp:807: parse error before `;' token kernel/qclipboard_x11.cpp:810: `XmbTextListToTextProperty' undeclared (first use this function) kernel/qclipboard_x11.cpp:826: `Pixmap' undeclared (first use this function) kernel/qclipboard_x11.cpp:826: parse error before `=' token kernel/qclipboard_x11.cpp:830: `ph' undeclared (first use this function) kernel/qclipboard_x11.cpp:843: parse error before `=' token kernel/qclipboard_x11.cpp:853: parse error before `=' token kernel/qclipboard_x11.cpp:864: `qt_xdnd_atom_to_str' cannot be used as a function kernel/qclipboard_x11.cpp:889: `XSendEvent' undeclared (first use this function) kernel/qclipboard_x11.cpp: In constructor `QClipboardWatcher::QClipboardWatcher(QClipboard::Mode)': kernel/qclipboard_x11.cpp:909: `atom' undeclared (first use this function) kernel/qclipboard_x11.cpp: In member function `bool QClipboardWatcher::empty() const': kernel/qclipboard_x11.cpp:937: parse error before `=' token kernel/qclipboard_x11.cpp:936: warning: unused variable `Display*dpy' kernel/qclipboard_x11.cpp: In member function `virtual const char* QClipboardWatcher::format(int) const': kernel/qclipboard_x11.cpp:958: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:958: parse error before `=' token kernel/qclipboard_x11.cpp:962: `unsorted_target' undeclared (first use this function) kernel/qclipboard_x11.cpp:962: parse error before `)' token kernel/qclipboard_x11.cpp:963: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:963: redeclaration of `int Atom' kernel/qclipboard_x11.cpp:958: `int Atom' previously declared here kernel/qclipboard_x11.cpp:963: declaration of `int Atom' kernel/qclipboard_x11.cpp:958: conflicts with previous declaration `int Atom' kernel/qclipboard_x11.cpp:963: parse error before `=' token kernel/qclipboard_x11.cpp:964: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:964: redeclaration of `int Atom' kernel/qclipboard_x11.cpp:958: `int Atom' previously declared here kernel/qclipboard_x11.cpp:964: declaration of `int Atom' kernel/qclipboard_x11.cpp:958: conflicts with previous declaration `int Atom' kernel/qclipboard_x11.cpp:964: parse error before `=' token kernel/qclipboard_x11.cpp:965: ISO C++ forbids declaration of `Atom' with no type kernel/qclipboard_x11.cpp:965: redeclaration of `int Atom' kernel/qclipboard_x11.cpp:958: `int Atom' previously declared here kernel/qclipboard_x11.cpp:965: declaration of `int Atom' kernel/qclipboard_x11.cpp:958: conflicts with previous declaration `int Atom' kernel/qclipboard_x11.cpp:965: parse error before `=' token kernel/qclipboard_x11.cpp:971: parse error before `[' token kernel/qclipboard_x11.cpp:1000: `qt_xdnd_atom_to_str' cannot be used as a function kernel/qclipboard_x11.cpp: In member function `virtual QByteArray QClipboardWatcher::encodedData(const char*) const': kernel/qclipboard_x11.cpp:1017: `Atom' undeclared (first use this function) kernel/qclipboard_x11.cpp:1017: parse error before `=' token kernel/qclipboard_x11.cpp:1021: `fmtatom' undeclared (first use this function) kernel/qclipboard_x11.cpp:1031: `Pixmap' undeclared (first use this function) kernel/qclipboard_x11.cpp:1031: parse error before `=' token kernel/qclipboard_x11.cpp:1033: `Window' undeclared (first use this function) kernel/qclipboard_x11.cpp:1033: parse error before `;' token kernel/qclipboard_x11.cpp:1036: `xpm' undeclared (first use this function) kernel/qclipboard_x11.cpp:1038: `r' undeclared (first use this function) kernel/qclipboard_x11.cpp:1038: `XGetGeometry' undeclared (first use this function) kernel/qclipboard_x11.cpp:1040: `XCreateGC' undeclared (first use this function) kernel/qclipboard_x11.cpp:1043: `XCopyArea' undeclared (first use this function) kernel/qclipboard_x11.cpp:1052: `XFreeGC' undeclared (first use this function) kernel/qclipboard_x11.cpp: At global scope: kernel/qclipboard_x11.cpp:1067: parse error before `)' token kernel/qclipboard_x11.cpp: In member function `QByteArray QClipboardWatcher::getDataInFormat(...) const': kernel/qclipboard_x11.cpp:1071: parse error before `=' token kernel/qclipboard_x11.cpp:1080: `qt_selection_property' undeclared (first use this function) kernel/qclipboard_x11.cpp:1080: `CurrentTime' undeclared (first use this function) kernel/qclipboard_x11.cpp:1080: `XConvertSelection' undeclared (first use this function) kernel/qclipboard_x11.cpp:1083: aggregate `XEvent xevent' has incomplete type and cannot be defined kernel/qclipboard_x11.cpp:1088: parse error before `;' token kernel/qclipboard_x11.cpp:1092: `qt_x_incr' undeclared (first use this function) kernel/qclipboard_x11.cpp: In member function `void QClipboard::setData(QMimeSource*, QClipboard::Mode)': kernel/qclipboard_x11.cpp:1146: parse error before `,' token kernel/qclipboard_x11.cpp:1151: `sentinel_atom' undeclared (first use this function) kernel/qclipboard_x11.cpp:1151: `qt_selection_sentinel' undeclared (first use this function) kernel/qclipboard_x11.cpp:1157: `qt_clipboard_sentinel' undeclared (first use this function) kernel/qclipboard_x11.cpp:1169: parse error before `=' token kernel/qclipboard_x11.cpp:1174: `Window' undeclared (first use this function) kernel/qclipboard_x11.cpp:1174: parse error before `=' token kernel/qclipboard_x11.cpp:1185: `XGetAtomName' undeclared (first use this function) kernel/qclipboard_x11.cpp:1191: parse error before `[' token kernel/qclipboard_x11.cpp:1192: `owners' undeclared (first use this function) kernel/qclipboard_x11.cpp:1193: `prevOwner' undeclared (first use this function) kernel/qclipboard_x11.cpp:1195: `XA_WINDOW' undeclared (first use this function) kernel/qclipboard_x11.cpp: In function `bool qt_check_selection_sentinel(XEvent*)': kernel/qclipboard_x11.cpp:1222: `rootwindow' undeclared (first use this function) kernel/qclipboard_x11.cpp:1223: `Atom' undeclared (first use this function) kernel/qclipboard_x11.cpp:1223: parse error before `;' token kernel/qclipboard_x11.cpp:1232: `actualType' undeclared (first use this function) kernel/qclipboard_x11.cpp:1235: parse error before `=' token kernel/qclipboard_x11.cpp: In function `bool qt_check_clipboard_sentinel(XEvent*)': kernel/qclipboard_x11.cpp:1256: parse error before `;' token kernel/qclipboard_x11.cpp:1267: parse error before `=' token make[1]: *** [.obj/release-shared-mt/qclipboard_x11.o] Error 1 In file included from kernel/qcolor_x11.cpp:44: kernel/qt_x11.h:64:22: X11/Xlib.h: No such file or directory kernel/qt_x11.h:69:23: X11/Xutil.h: No such file or directory kernel/qt_x11.h:70:21: X11/Xos.h: No such file or directory kernel/qt_x11.h:71:23: X11/Xatom.h: No such file or directory kernel/qt_x11.h:79:34: X11/extensions/shape.h: No such file or directory kernel/qt_x11.h:85:37: X11/extensions/XInput.h: No such file or directory kernel/qcolor_x11.cpp:88: syntax error before `*' token kernel/qcolor_x11.cpp:89: syntax error before `*' token kernel/qcolor_x11.cpp: In constructor `QColorScreenData::QColorScreenData()': kernel/qcolor_x11.cpp:77: `g_vis' undeclared (first use this function) kernel/qcolor_x11.cpp:77: (Each undeclared identifier is reported only once for each function it appears in.) kernel/qcolor_x11.cpp:78: `g_carr' undeclared (first use this function) kernel/qcolor_x11.cpp: In function `int find_nearest_color(int, int, int, int*, QColorScreenData*)': kernel/qcolor_x11.cpp:134: `XColor' undeclared (first use this function) kernel/qcolor_x11.cpp:134: `xc' undeclared (first use this function) kernel/qcolor_x11.cpp:134: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp: In static member function `static void QColor::initialize()': kernel/qcolor_x11.cpp:213: `ScreenCount' undeclared (first use this function) kernel/qcolor_x11.cpp:219: `class QColorScreenData' has no member named `g_vis' kernel/qcolor_x11.cpp:219: `Visual' undeclared (first use this function) kernel/qcolor_x11.cpp:219: parse error before `)' token kernel/qcolor_x11.cpp:220: `class QColorScreenData' has no member named `g_vis' kernel/qcolor_x11.cpp:220: `TrueColor' undeclared (first use this function) kernel/qcolor_x11.cpp:231: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:231: parse error before `[' token kernel/qcolor_x11.cpp:232: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:233: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:240: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:250: `class QColorScreenData' has no member named `g_vis' kernel/qcolor_x11.cpp:251: `class QColorScreenData' has no member named `g_vis' kernel/qcolor_x11.cpp:252: `class QColorScreenData' has no member named `g_vis' kernel/qcolor_x11.cpp:271: `BlackPixel' undeclared (first use this function) kernel/qcolor_x11.cpp:272: `WhitePixel' undeclared (first use this function) kernel/qcolor_x11.cpp: In static member function `static void QColor::cleanup()': kernel/qcolor_x11.cpp:347: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:348: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:349: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp: In member function `uint QColor::alloc(int)': kernel/qcolor_x11.cpp:416: `XColor' undeclared (first use this function) kernel/qcolor_x11.cpp:416: parse error before `;' token kernel/qcolor_x11.cpp:417: `col' undeclared (first use this function) kernel/qcolor_x11.cpp:432: `XAllocColor' undeclared (first use this function) kernel/qcolor_x11.cpp:439: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:449: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:450: `XQueryColors' undeclared (first use this function) kernel/qcolor_x11.cpp:505: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:508: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp:522: `class QColorScreenData' has no member named `g_carr ' kernel/qcolor_x11.cpp: In member function `void QColor::setSystemNamedColor(const QString&)': kernel/qcolor_x11.cpp:633: parse error before `,' token kernel/qcolor_x11.cpp:636: `hw_col' undeclared (first use this function) kernel/qcolor_x11.cpp:636: `XLookupColor' undeclared (first use this function) kernel/qcolor_x11.cpp: In static member function `static void QColor::destroyAllocContext(int)': kernel/qcolor_x11.cpp:817: `XFreeColors' undeclared (first use this function) make[1]: *** [.obj/release-shared-mt/qcolor_x11.o] Error 1 make: *** [sub-src] Error 2 !!! ERROR: x11-libs/qt-3.1.1 failed. !!! Function src_compile, Line 84, Exitcode 2 !!! (no error message)
please post output of emerge -s xfree. also, ls /usr/include/X11/
Well, earlier I had switched back to xfree 4.2.1 and tried building qt-3.1.1 again and it worked, so perhaps its an interaction issue with 4.2.99.3. I can try again tommorrow though with 4.2.99, would that be useful?
This may also be a side-affect of my other bug, http://bugs.gentoo.org/show_bug.cgi?id=12565.
seems that xfree doesn't install cleanly. well, you can try emerging xfree-4.2.99 again and see if it's installation includes those include files.
# emerge -s xfree Searching... [ Results for search key : xfree ] [ Applications found : 1 ] * x11-base/xfree Latest version available: 4.2.1 Latest version installed: 4.2.99.3-r1 ... # ebuild qt-3.1.1.ebuild package ... Xft auto-detection... () Found libXft in /usr/X11R6/lib Could not find X11/Xft/Xft.h anywhere in /usr/X11R6/include /usr/include /include Xft disabled. Xft support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. !!! ERROR: x11-libs/qt-3.1.1 failed. !!! Function src_compile, Line 80, Exitcode 101 !!! (no error message) # updatedb && locate Xft.h # (no results) # ls /usr/include/X11/ Composite.h Intrinsic.h ShellP.h XWDFile.h Xdmcp.h Xos_r.h bitmaps CompositeP.h IntrinsicP.h StringDefs.h Xalloca.h Xfuncproto.h Xosdefs.h cursorfont.h ConstrainP.h Object.h Sunkeysym.h Xarch.h Xfuncs.h Xpoll.h extensions Constraint.h ObjectP.h Vendor.h Xatom.h Xlib.h Xproto.h fonts Core.h PM VendorP.h Xauth.h Xlibint.h Xprotostr.h keysym.h CoreP.h RectObj.h X.h Xaw Xlocale.h Xresource.h keysymdef.h DECkeysym.h RectObjP.h X10.h Xcms.h Xmd.h Xthreads.h pixmaps HPkeysym.h SM XF86keysym.h Xcursor Xmu Xutil.h xpm.h ICE Shell.h XKBlib.h Xdefs.h Xos.h ap_keysym.h
does emerge qt still fails? cause your /usr/include/X11/ looks good now.
Builds fine now, closing.