LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-31-2003, 09:59 AM   #1
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
Angry problems with qt-3.3.0b1 (qt-mt)


I'm trying to compile dcgui-qt-0.20.0 and the ./configure script keeps crapping out when it checks for >= qt-3.0.

I have recently downloaded the newest version of qt (qt-x11-free-3.3.0b1) and installed, symlinked, added to /etc/ld.so.conf, and removed whatever traces I could find of the old version...this is what I get:

$> ./configure
<snip>
checking for Qt... configure: error: Qt (>= Qt 3.0) (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!

$> less config.log
<snip>
configure:23195: checking for Qt
configure: 23262: /usr/lib/qt3-gcc2.96/include/qstyle.h
taking that
tried NO
configure:23378: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-lon
g-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN
_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wform
at-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-commo
n -I/usr/lib/qt3-gcc2.96/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_R
EENTRANT -L/usr/lib/qt-x11-free-3.3.0b1/lib -L/usr/lib/qt3-gcc2.96/lib -L/usr/X1
1R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lIC
E -lpthread 1>&5
<etc....>

If you need the rest, please let me know and I'll pass it along.

I've assured that libqt-mt.so is contained in /usr/lib/qt-x11-free-3.3.0b1/lib and /usr/lib/qt3-gcc2.96/lib

any other suggestions on what I can try?

Thanks!
 
Old 12-31-2003, 12:58 PM   #2
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Rep: Reputation: 15
Bro, you have to compile qt with thread support. Just as the error says. Try recompiling qt with ./configure -thread
 
Old 12-31-2003, 02:25 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
and it may not even be that, because i know when i compiled dcgui, the same error came up because of the naming of the qt directory...when i actually fixed it i just modified the code in the configure script to point to the name of my qt directory, but soon after found out that there is an argument you can pass to specify the qt directory, so in the end it wasn't all that necessary to modify the script, but in the end it still worked...i know i personally use dcgui-qt 0.2.16 but the arguments that can be passed to the configure script are more than likely the same....when i looked in the configure file just now i see the following things you can pass:
Code:
--with-qt-dir=DIR		where the root of QT is installed
--with-qt-includes=DIR		where the QT includes are
--with-qt-libraries=DIR		where the QT library is installed

so by passing them to the ./configure you should be able to bypass this error your getting.
 
Old 01-01-2004, 04:48 PM   #4
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
Thanks DrOzz

I tried specifying the qt directories and it didn't work:
$> ./configure --with-qt-dir=/usr/import/qt-x11-free-3.3.0b1 --with-qt-includes=/usr/export/qt-x11-free-3.3.0b1/include --with-qt-libraries=/usr/export/qt-x11-free-3.3.0b1/lib

That didn't work...I want to try fixing the script since that worked for you. Can you tell me what you changed?
 
Old 01-01-2004, 05:23 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
first off, shouldn't your qt directory be /usr/lib/qt-** or something similiar, obviosly replacing the stars with version...
and as of what i manually edited, it was the part in the script that is searching for qt, which looks like the following
Code:
if test $kde_qtver = 3; then
  kde_qt_dirs="$QTDIR /usr/lib/qt-3.1 /usr/lib/qt"
fi
if test $kde_qtver = 2; then
   kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
fi
if test $kde_qtver = 1; then
   kde_qt_dirs="$QTDIR /usr/lib/qt"
what i bolded above is what i changed....it used to read qt3 and i changed it to qt-3.1...
 
Old 01-01-2004, 11:02 PM   #6
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Rep: Reputation: 15
Actually, the proper way is to have /usr/lib/qt-3.x.x
And set ln -s /usr/lib/qt-3.x.x /usr/lib/qt

And if that didn't work sohmc, maybe you should try the obvious fix I recommended.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Nagios 2.0b1 Installation problem lewkh Linux - Software 1 12-21-2004 10:29 PM
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM


All times are GMT -5. The time now is 11:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration