Summary: | qt-3.1.0 cannot be emerged. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dave Berenson <googleplex> |
Component: | [OLD] Library | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.4_rc1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dave Berenson
2002-11-15 08:41:10 UTC
the problem is xft2, if you unmerge it, qt will compile. isn't qt 3.1 supposed to be compatible with xft2? Yes, it is...
And for the heck of it I tried what you said, and I got this:
root@gentoo grandpajive # emerge qt
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/qt-3.1.0 to /
>>> md5 ;-) qt-x11-free-3.1.0.tar.gz
>>> Unpacking source...
>>> Unpacking qt-x11-free-3.1.0.tar.gz
>>> Source unpacked.
cups
gif
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.0 failed.
!!! Function src_compile, Line 68, Exitcode 101
!!! (no error message)
sorry if i'm wrong, but i get the following: -when i emerge xft-2.0, i get exactly your error, without xft-2.0, qt-3.1.0 compiles fine (with xfree-4.2.1) -look at http://bugs.gentoo.org/show_bug.cgi?id=10373 it is a similar issue agreed, it is similar.. but I noticed that with 3.1.0_pre20021104 some extra things happen: cd include && headers=`ls q*.h 2>/dev/null` &&\ [ "x$headers" != "x" ] && rm -f $headers; cd include && ln -f -s ../src/*/q*.h . && ln -f -s ../extensions/*/src/q*.h . && \ ln -f -s ../tools/designer/uilib/q*.h . &&\ ln -f -s ../tools/assistant/lib/q*.h . && rm -f q*_p.h && \ cd private && rm -f q*.h && ln -f -s ../../src/*/q*_p.h .; and with 3.0.5-rc2 some patches are applied, and with this version no patches or anything happen. I tried again after an rsync from 2 minutes ago, and I still get that problem when I remove xft. I'd really hate to lose xft, but I could try compiling without xft. [ie, remove it from the configure line in the ebuild]. well, qt-3.1.0 works with xft-1 (which is from xfree), you don't have to change the qt-ebuild. a problem is, that xft-2 overwrites files in /usr/include/X11/Xft/, so you have to emerge xfree first (which will put his xft files there) and then emerge qt. Oddly enough, I could build qt-3.1.0 from source when I removed xft2.. the ebuild when checking/testing for xft would fail. I used this for the configure line: ./configure -system-zlib -qt-gif -system-libpng \ -system-libjpeg -plugin-imgfmt-mng -thread -no-stl \ -no-xinerama -no-g++-exceptions When configuring it said it didn't find XFT so... its not there. Hmm. Guess thats why xft2 is masked after all ;) Nonetheless its a sticky situation... I hope I'm the only one stuck with this. ok, if you want to use xft-2 and qt-3.1, i have the following solution for you: emerge xft-2 rm /usr/X11R6/lib/libXft* then emerge qt-3.1 should work with xft-2 |