Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145621 - genkernel --xconfig gets Unable to find the QT installation error
Summary: genkernel --xconfig gets Unable to find the QT installation error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 09:49 UTC by Dale Carstensen
Modified: 2009-04-23 04:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output from equery files qt (equery-files-qt.out,92.45 KB, text/plain)
2006-08-30 09:50 UTC, Dale Carstensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Carstensen 2006-08-30 09:49:22 UTC
I suppose there's a good chance I'm mis-filing this under genkernel
when it's really something else, for instance, kernel.  I'm finding
it difficult to find the right choices in the bugzilla select/option
tags.  And at the bottom of the genkernel output, there's a caution
against just that, filing a kernel bug under genkernel.  But I just
can't help myself, I think maybe it's really genkernel somehow, I
don't know why.

See bug 145551 for emerge --info output.

Summary says it all, but here's a whole paragraph from the genkernel output:

* Unable to find the QT installation. Please make sure that
* the QT development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] ESC[1mError ESC[00m1
make: *** [xconfig] ESC[1mError ESC[00m2
* Gentoo Linux Genkernel; Version 3.4.0ESC[0m
* Running with options: --install --bootsplash --kerneldir=/usr/src/linux-2.6.17
-gentoo-r7 --kernel-config=/usr/src/config-2.6.15-gentoo-r1 --clean --mrproper -
-xconfig all

* ESC[1mERROR:ESC[00m ESC[1mFailedESC[00m to compile the "xconfig" target...

And there's an attachment coming with the output of equery files qt.

I may have manually unmasked x11-libs/qt-4.1.4, maybe that's the problem.

Here's the output of equery list -p qt

equery list -p qt
[ Searching for package 'qt' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/qt-3.3.6-r1 (3)
[I--] [  ] x11-libs/qt-4.1.4 (4)
 * Portage tree (/usr/portage)
[-P-] [M-] app-emulation/emul-linux-x86-qtlibs-2.2 (0)
[-P-] [M-] app-emulation/emul-linux-x86-qtlibs-3.4.4 (0)
[-P-] [  ] app-i18n/scim-qtimm-0.8.95 (0)
[-P-] [  ] app-i18n/scim-qtimm-0.9.3 (0)
[-P-] [M~] app-i18n/scim-qtimm-0.9.4 (0)
[-P-] [  ] app-pda/qtopia-desktop-bin-1.7.0 (0)
[-P-] [M~] app-pda/qtopia-desktop-bin-2.2.0 (0)
[-P-] [  ] dev-db/qt-unixODBC-3.3.4-r1 (3)
[-P-] [  ] dev-db/qt-unixODBC-3.3.6 (3)
[-P-] [M~] dev-libs/dbus-qt3-old-0.70 (0)
[-P-] [M~] dev-php5/php-qt-0.0.2 (0)
[-P-] [M~] dev-php5/php-qt-0.0.3 (0)
[-P-] [M~] dev-ruby/qt4-qtruby-1.4.5 (0)
[-P-] [M~] dev-ruby/qt4-qtruby-1.4.6 (0)
[-P-] [  ] dev-util/qtunit-0.9.8 (0)
[-P-] [  ] games-emulation/qtvba-0.2 (0)
[-P-] [  ] games-engines/qtads-1.6c (0)
[-P-] [M~] kde-base/qtjava-3.4.3 (3.4)
[-P-] [  ] kde-base/qtjava-3.4.3-r1 (3.4)
[-P-] [  ] kde-base/qtjava-3.5.2 (3.5)
[-P-] [  ] kde-base/qtruby-3.4.3-r1 (0)
[-P-] [  ] kde-base/qtruby-3.5.2 (0)
[-P-] [M~] kde-base/qtruby-3.5.3 (0)
[-P-] [M~] kde-base/qtruby-3.5.4 (0)
[-P-] [M~] kde-base/qtruby-3.5.4-r1 (0)
[-P-] [M ] kde-base/qtsharp-3.4.1 (3.4)
[-P-] [M~] kde-base/qtsharp-3.5.0 (3.5)
[-P-] [  ] media-sound/freqtweak-0.6.0 (0)
[-P-] [M~] media-sound/freqtweak-0.6.0-r1 (0)
[-P-] [  ] net-dialup/qtwvdialer-0.4.2 (0)
[-P-] [  ] net-mail/qtools-0.56 (0)
[-P-] [  ] net-p2p/dc-qt-0.1.1 (0)
[-P-] [M~] net-p2p/dc-qt-0.1.2 (0)
[-P-] [  ] net-p2p/qtella-0.6.4 (3)
[-P-] [M~] net-p2p/qtella-0.6.5 (3)
[-P-] [M~] net-p2p/qtella-0.7.0 (3)
[-P-] [M~] net-p2p/qtella-0.7.0-r1 (3)
[-P-] [  ] net-p2p/qtorrent-0.9.5 (0)
[-P-] [  ] net-p2p/qtorrent-0.9.6.1 (0)
[-P-] [M~] net-p2p/qtorrent-0.9.6.1-r1 (0)
[-P-] [M~] net-p2p/qtorrent-0.9.6.1-r2 (0)
[-P-] [M~] sci-visualization/qtiplot-0.7.7 (0)
[-P-] [M~] sci-visualization/qtiplot-0.8.2 (0)
[-P-] [M~] sci-visualization/qtiplot-0.8.5 (0)
[-P-] [  ] sys-apps/qtparted-0.4.4 (0)
[-P-] [M~] sys-apps/qtparted-0.4.4-r1 (0)
[-P-] [M~] sys-apps/qtparted-0.4.5 (0)
[-P-] [M~] x11-libs/kylixlibs3-borqt-3.0 (0)
[-P-] [M~] x11-libs/kylixlibs3-borqt-3.0-r1 (0)
[-P-] [  ] x11-libs/qt-3.3.4-r8 (3)
[-P-] [  ] x11-libs/qt-4.1.2 (4)
[-P-] [M~] x11-libs/qt-4.1.3 (4)
[-P-] [M-] x11-libs/qt-4.2.0_pre1 (4)
[-P-] [  ] x11-libs/qt-embedded-3.3.4 (3)
[-P-] [M~] x11-libs/qt-embedded-3.3.4-r1 (3)
[-P-] [  ] x11-misc/qterm-0.3.8 (0)
[-P-] [M~] x11-misc/qterm-0.4.0 (0)
[-P-] [M~] x11-themes/gtk-engines-qt-0.6-r2 (2)
[-P-] [M~] x11-themes/gtk-engines-qt-0.7 (2)
[-P-] [M~] x11-themes/gtk-engines-qt-0.7-r1 (2)
[-P-] [  ] x11-themes/gtk-engines-qtpixmap-0.28-r1 (0)
[-P-] [  ] x11-themes/gtk-engines-qtpixmap-0.28-r2 (0)
equery list -p qt
[ Searching for package 'qt' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/qt-3.3.6-r1 (3)
[I--] [  ] x11-libs/qt-4.1.4 (4)
 * Portage tree (/usr/portage)
[-P-] [M-] app-emulation/emul-linux-x86-qtlibs-2.2 (0)
[-P-] [M-] app-emulation/emul-linux-x86-qtlibs-3.4.4 (0)
[-P-] [  ] app-i18n/scim-qtimm-0.8.95 (0)
[-P-] [  ] app-i18n/scim-qtimm-0.9.3 (0)
[-P-] [M~] app-i18n/scim-qtimm-0.9.4 (0)
[-P-] [  ] app-pda/qtopia-desktop-bin-1.7.0 (0)
[-P-] [M~] app-pda/qtopia-desktop-bin-2.2.0 (0)
[-P-] [  ] dev-db/qt-unixODBC-3.3.4-r1 (3)
[-P-] [  ] dev-db/qt-unixODBC-3.3.6 (3)
[-P-] [M~] dev-libs/dbus-qt3-old-0.70 (0)
[-P-] [M~] dev-php5/php-qt-0.0.2 (0)
[-P-] [M~] dev-php5/php-qt-0.0.3 (0)
[-P-] [M~] dev-ruby/qt4-qtruby-1.4.5 (0)
[-P-] [M~] dev-ruby/qt4-qtruby-1.4.6 (0)
[-P-] [  ] dev-util/qtunit-0.9.8 (0)
[-P-] [  ] games-emulation/qtvba-0.2 (0)
[-P-] [  ] games-engines/qtads-1.6c (0)
[-P-] [M~] kde-base/qtjava-3.4.3 (3.4)
[-P-] [  ] kde-base/qtjava-3.4.3-r1 (3.4)
[-P-] [  ] kde-base/qtjava-3.5.2 (3.5)
[-P-] [  ] kde-base/qtruby-3.4.3-r1 (0)
[-P-] [  ] kde-base/qtruby-3.5.2 (0)
[-P-] [M~] kde-base/qtruby-3.5.3 (0)
[-P-] [M~] kde-base/qtruby-3.5.4 (0)
[-P-] [M~] kde-base/qtruby-3.5.4-r1 (0)
[-P-] [M ] kde-base/qtsharp-3.4.1 (3.4)
[-P-] [M~] kde-base/qtsharp-3.5.0 (3.5)
[-P-] [  ] media-sound/freqtweak-0.6.0 (0)
[-P-] [M~] media-sound/freqtweak-0.6.0-r1 (0)
[-P-] [  ] net-dialup/qtwvdialer-0.4.2 (0)
[-P-] [  ] net-mail/qtools-0.56 (0)
[-P-] [  ] net-p2p/dc-qt-0.1.1 (0)
[-P-] [M~] net-p2p/dc-qt-0.1.2 (0)
[-P-] [  ] net-p2p/qtella-0.6.4 (3)
[-P-] [M~] net-p2p/qtella-0.6.5 (3)
[-P-] [M~] net-p2p/qtella-0.7.0 (3)
[-P-] [M~] net-p2p/qtella-0.7.0-r1 (3)
[-P-] [  ] net-p2p/qtorrent-0.9.5 (0)
[-P-] [  ] net-p2p/qtorrent-0.9.6.1 (0)
[-P-] [M~] net-p2p/qtorrent-0.9.6.1-r1 (0)
[-P-] [M~] net-p2p/qtorrent-0.9.6.1-r2 (0)
[-P-] [M~] sci-visualization/qtiplot-0.7.7 (0)
[-P-] [M~] sci-visualization/qtiplot-0.8.2 (0)
[-P-] [M~] sci-visualization/qtiplot-0.8.5 (0)
[-P-] [  ] sys-apps/qtparted-0.4.4 (0)
[-P-] [M~] sys-apps/qtparted-0.4.4-r1 (0)
[-P-] [M~] sys-apps/qtparted-0.4.5 (0)
[-P-] [M~] x11-libs/kylixlibs3-borqt-3.0 (0)
[-P-] [M~] x11-libs/kylixlibs3-borqt-3.0-r1 (0)
[-P-] [  ] x11-libs/qt-3.3.4-r8 (3)
[-P-] [  ] x11-libs/qt-4.1.2 (4)
[-P-] [M~] x11-libs/qt-4.1.3 (4)
[-P-] [M-] x11-libs/qt-4.2.0_pre1 (4)
[-P-] [  ] x11-libs/qt-embedded-3.3.4 (3)
[-P-] [M~] x11-libs/qt-embedded-3.3.4-r1 (3)
[-P-] [  ] x11-misc/qterm-0.3.8 (0)
[-P-] [M~] x11-misc/qterm-0.4.0 (0)
[-P-] [M~] x11-themes/gtk-engines-qt-0.6-r2 (2)
[-P-] [M~] x11-themes/gtk-engines-qt-0.7 (2)
[-P-] [M~] x11-themes/gtk-engines-qt-0.7-r1 (2)
[-P-] [  ] x11-themes/gtk-engines-qtpixmap-0.28-r1 (0)
[-P-] [  ] x11-themes/gtk-engines-qtpixmap-0.28-r2 (0)
Comment 1 Dale Carstensen 2006-08-30 09:50:41 UTC
Created attachment 95492 [details]
output from equery files qt
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-30 19:12:09 UTC
genkernel literally passes it on to the kernel, so reassigning it there...
Comment 3 Dale Carstensen 2006-08-31 14:18:11 UTC
Since the prior genkernel run ended up turning off netfilter somehow,
and the NATed hosts can't communicate, I ran another today.  And, guess
what, I accidentally used --xconfig instead of --gconfig, and the window
came up.  Same qt stuff, though, I think.  I did update libX11 in between,
in fact all of these:

1157040883:  ::: completed emerge (1 of 35) x11-misc/util-macros-1.1.0 to /
1157040900:  ::: completed emerge (2 of 35) x11-proto/kbproto-1.0.3 to /
1157040922:  ::: completed emerge (3 of 35) x11-proto/xproto-7.0.7 to /
1157040966:  ::: completed emerge (4 of 35) x11-libs/libXau-1.0.2 to /
1157041463:  ::: completed emerge (5 of 35) x11-libs/libX11-1.0.3 to /
1157041553:  ::: completed emerge (6 of 35) media-libs/libpng-1.2.12-r1 to /

And I'm now running the 2.6.17 I built before, after guessing how to
finish the boot (run udevstart instead of mdev -s.)

So I don't know what fixed it, but --xconfig no longer complains about
the QT existence/version/whatever.

Now to discover why building gxine gets an error compiling key_events.c,
complaining that XML_ESCAPE_NO_QUOTE is not defined when clearly it is
defined in /usr/include/xine/xmlparser.h, which key_events.c includes!

Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-08-31 15:02:19 UTC
ok, marking fixed
Comment 5 gilberg 2009-04-23 04:47:47 UTC
[offtop] my english is bad))[/offtop]

For fix this bug, run
# echo $QTDIR

if it's empty, then run
# export QTDIR="/usr/qt/3"

and run
# make xconfig

But you can get this message:

# LANG=POSIX make xconfig
scripts/kconfig/qconf arch/x86/Kconfig
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

qconf: cannot connect to X server :0
make[1]: *** [xconfig] Error 1
make: *** [xconfig] Error 2

Because of this, so I run xconfig
$ sudo make xconfig