LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2007, 06:27 PM   #1
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Rep: Reputation: 15
KDE windeco and qt-mt configure error


I have openSUSE 10.2 on x86_64 and I am struggling to get a KDE windeco to install.

I'm looking at this windeco:
http://www.kde-look.org/content/show...?content=48318

But when I configure I get this:

checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

I know I have QT installed (v3 and v4).

This happens a lot with KDE windeco and styles. Any way around it?
 
Old 08-06-2007, 07:36 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!"

"I know I have QT installed (v3 and v4)."



It has been a long time since this question has been asked. We
used to get it a lot on Qt 3.1. The solution was to compile Qt with ./configure -thread

Since you have both v3 and v4 installed did you compile v3 yourself? If so check to see if you configured thread support in the compile.

-----------------
Steve Stites
 
Old 08-07-2007, 10:32 AM   #3
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Original Poster
Rep: Reputation: 15
No, I did not compile qt3 or qt4 myself. Yast shows that I have the rpms and devel packages for both, however.

I tried passing --disable-threading to the configure script but then it says it cannot find qt (instead of qt-mt).

I'm a bit lost...
 
Old 08-07-2007, 07:56 PM   #4
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
the old configure standby --prefix=`kde-config --prefix` may be pointing to qt4
you should set the --prefix= in the configure to point to the base prefix of your qt3 instalation.
also since you have two qt it might help to put
export PATH=/path/to/kde3/bin:$PATH
export PKG_CONFIG_PATH=/path/to/kde3/lib/pkgconfig:$PKG_CONFIG_PATH
 
Old 08-07-2007, 10:07 PM   #5
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks for the replies, by the way.

The command 'whereis qt3' reports that my qt3 is installed to /usr/lib/qt3.

I tried the path adjustments you suggested and it didn't seem to help. I even passed the /usr/lib/qt3 to the configure script using the --with-qt-dir param. Same results. Says it can't find qt-mt. I tried --disable-threading in addition to the --with-qt-dir param. Same results.

The thing is, I get this problem with a lot of the win-deco and styles I try installing. I could see it being a configure bug if it were specific to just one, but it's many of them.

Lipstik won't install either. Same results.

On the flip side, some work just fine (polyester, qtcurve, etc). It's odd.
 
Old 08-07-2007, 10:32 PM   #6
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Original Poster
Rep: Reputation: 15
Okay.... here's an update...

I use this configure command:
./configure --prefix='/opt/kde3/' --with-qt-libraries='/usr/lib/qt3/lib64/'

It gets me past the qt-mt error, but now it says:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!

/opt/kde3 is correct. kde-config --prefix reports it as such, and I can see the directory.

Ideas?
 
Old 08-08-2007, 03:56 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install the devel package for kdelibs.
 
Old 08-08-2007, 09:51 AM   #8
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Original Poster
Rep: Reputation: 15
I already have all the KDE devel packages installed. This includes kdelibs.
 
Old 08-08-2007, 10:37 AM   #9
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Original Poster
Rep: Reputation: 15
UPDATE: Win deco works!

Update: I got this to work.

This is the configure command I had to use. It worked like a charm.

./configure --prefix='/opt/kde3' --libdir='/opt/kde3/lib64' --with-qt-libraries='/usr/lib/qt3/lib64'

Thanks for the help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 4.3 ./configure error Soulstealer Linux - Software 8 03-25-2005 08:25 AM
checking for KDE... configure: error:, no KDE headers installed mythief Mandriva 4 10-23-2004 08:20 AM
checking for KDE... configure: error:, no KDE headers installed mythief Linux - Software 2 10-23-2004 05:20 AM
kde 3.3 configure error cheater1034 Linux - Software 6 08-21-2004 10:12 PM
checking for KDE... configure: error: shermang Linux - General 3 12-12-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration