LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-12-2002, 11:30 AM   #1
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Rep: Reputation: 15
Question compile in slack 8.1


Hello !

Here is more compiling problems ;-)

1 Downloading program foo in source format.
2 unpacking the foo.tar.gz
3 open a terminal in folder foo , then running ./configure
resulting in error messages at the end , here's a dump:

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

4 typing more config.log , dump:

configure:5271: checking for Qt
tried NO
tried /usr/lib/qt-3.0.4/lib
tried /usr/lib/qt-3.0.4
tried /usr/lib/qt2/lib
tried /usr/lib/qt2
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
tried /usr/lib
tried /usr/local/qt/lib
tried /usr/X11R6/lib

5 As I understand things I do have the qt stuff installed, dump:

bash-2.05a$ cd /usr/lib/qt
bash-2.05a$ ls
bin doc include lib mkspecs plugins templates
bash-2.05a$ cd lib
bash-2.05a$ ls
libeditor.prl libeditor.so.1.0 libqt-mt.so libqt-mt.so.3.0.4 libqui.so.1
libeditor.so libeditor.so.1.0.0 libqt-mt.so.3 libqui.prl libqui.so.1.0
libeditor.so.1 libqt-mt.prl libqt-mt.so.3.0 libqui.so libqui.so.1.0.0
bash-2.05a$ cd /usr/lib/qt-3.0.4
bash-2.05a$ ls
bin doc include lib mkspecs plugins templates
bash-2.05a$ cd lib
bash-2.05a$ ls
libeditor.prl libeditor.so.1.0 libqt-mt.so libqt-mt.so.3.0.4 libqui.so.1
libeditor.so libeditor.so.1.0.0 libqt-mt.so.3 libqui.prl libqui.so.1.0
libeditor.so.1 libqt-mt.prl libqt-mt.so.3.0 libqui.so libqui.so.1.0.0

6 What is missing ?
 
Old 09-12-2002, 04:40 PM   #2
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
I could add that I have compiled other programs, where the
configure script has found the qt librarys.
 
Old 09-12-2002, 05:12 PM   #3
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Since QT is not backward compatible I suspect that it is only looking for QT version 2.2.2 or greater of version QT2. Slack 8.1 includes QT3, but not QT2.

Suggestion, download QT 2.3.2 I think was the last version of QT2. Follow the directions. When it has completed, make sure the installed directory is listed in /etc/ld.so.conf and run the command ldconfig. The directory would be /usr/lib/qt-2.3.2 if I recall correctly. Also, make sure the /usr/lib/qt does not point to the QT2 version. It needs to remain as QT3 or else KDE and other apps will fail.

Good luck.
 
Old 09-12-2002, 06:11 PM   #4
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
Hmm . .
where do one find a qt2 package ?
checked at slackware.org , there was an entry in current/kde
but there was no file to download !

So it is possible to compile apps using qt2 and run them in
kde 3 ?

If I find the qt2 package , how to install it without change those present links to qt3 (how to not mess it up . .)
 
Old 09-12-2002, 10:13 PM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Try ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz they should have the current and past versions available.

As far as not messing with QT3, all I can say us that after the install of QT2 is completed. Then check the sym link /usr/lib/qt and if it is pointing to the new qt-2.3.2 directory then change it back to the qt-3.0.4 directory.

rm /usr/lib/qt
ln -s /usr/lib/qt-3.0.4 /usr/lib/qt

should do it. It would probably be best if you not running X at the time you installed QT2.

Last edited by Excalibur; 09-12-2002 at 10:19 PM.
 
  


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
Can't compile Alsa under Slack 10.0 ProtoformX Slackware 8 11-28-2004 04:30 AM
slack 9.0 kernel compile trace1918 Slackware 1 04-20-2003 06:50 PM
slack 9.0. Where do I compile the kernel? Schizo265 Slackware 3 03-28-2003 07:09 AM
Compile 2.4.19 kernel on slack 8.1 DaOne Slackware 17 02-08-2003 08:15 PM
Kernel Compile problems with Slack 8.1 X11 Slackware 4 07-17-2002 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:26 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