Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde build failing, can't find QT headers and libs
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
graybeard
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 118
Location: a blue state

PostPosted: Sat Apr 09, 2005 2:18 pm    Post subject: kde build failing, can't find QT headers and libs Reply with quote

I have a gnome system that I am trying to add a kde program to. Qt compiled fine and installed 3.3.4-r3. However the kde ebuilds can't find the qt headers and libraries. It says to look at the end of config.log, but it does not tell me anything about this. Any suggestions?

Quote:

gentoo dan # etcat -v qt

[ Results for search key : qt ]
[ Candidate applications found : 8 ]

Only printing found installed programs.

* x11-libs/qt :
[ ] 2.3.2-r1 (2)
[M ] 2.3.2-r2 (2)
[ ] 3.3.3 (3)
[ ~ ] 3.3.3-r1 (3)
[ ] 3.3.4-r2 (3)
[ I] 3.3.4-r3 (3)
[M ] 4.0.0_beta1-r5 (4)
[M ] 4.0.0_beta2 (4)
gentoo dan # emerge kdelibs

Calculating dependencies ...done!
>>> emerge (1 of 1) kde-base/kdelibs-3.4.0 to /
>>> md5 src_uri ;-) kdelibs-3.4.0.tar.bz2
>>> Unpacking source...
>>> Unpacking kdelibs-3.4.0.tar.bz2 to /var/tmp/portage/kdelibs-3.4.0/work
* Applying kdelibs-3.4.0-form-freeze.patch ... [ ok ] * Applying kdelibs-3.4.0-imagemap.patch ... [ ok ]>>> Source unpacked.
/usr/local/portage/eclass/kde.eclass: line 123: [: =: unary operator expected
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c

<lots of stuff deleted>

checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

!!! ERROR: kde-base/kdelibs-3.4.0 failed.
!!! Function kde_src_compile, Line 130, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status message.

Back to top
View user's profile Send private message
/dev/random
l33t
l33t


Joined: 26 Nov 2004
Posts: 704
Location: Austin, Texas, USA

PostPosted: Sat Apr 09, 2005 3:18 pm    Post subject: Reply with quote

For some reason you have to recompile qt to make it work. If you're upgrading to KDE 3.4 (marked ~x86) you should probably use the ~x86 qt as well.
Back to top
View user's profile Send private message
graybeard
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 118
Location: a blue state

PostPosted: Sat Apr 09, 2005 5:50 pm    Post subject: Reply with quote

I have compiled qt 3 times now with various USE flags, and there's no improvement. I also tried bumping down kdelibs to the version 3.3.2-r7. Same thing.

Where should the headers and libraries be? There does not seem to be any /usr/lib/qt*, nor any /usr/include/qt*, if that is where this stuff is supposed to be. There's no $QTDIR either:

Code:

gentoo dan # echo $QTDIR

gentoo dan #

Back to top
View user's profile Send private message
graybeard
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 118
Location: a blue state

PostPosted: Sun Apr 10, 2005 12:27 pm    Post subject: Reply with quote

I dropped back to qt-3.3.3-r1 to see if that helped. This time it, installed /usr/qt/3/include, and then the kde builds could continue. Has anyone else had a problem with qt-3.3.4-r3? Anyway, it is building now, so it will presumably be able to finish. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum