LinuxQuestions.org
Visit Jeremy's Blog.
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 02-15-2008, 03:44 AM   #1
sean_zhang
LQ Newbie
 
Registered: Aug 2007
Posts: 26

Rep: Reputation: 15
CMake error: QT qmake not found


I am trying to install stellarium (from sourceforge.net). This error pops up after I issue "cmake ."
However, qmake does exsit on my system.
Code:
# qmake -v
Qmake version: 1.07a (QT: 3.3.6)
# cmake --version
cmake version: 2.4-patch 8
 
Old 02-15-2008, 07:13 AM   #2
Kenarkies
Member
 
Registered: Nov 2007
Location: South Australia
Distribution: Ubuntu 11.10
Posts: 81

Rep: Reputation: 23
Install QT version 4. Stellarium Dependency list specifies this. QT3 is still used for KDE and so is installed by default, but QT4 is the latest.

Cheers, Ken
 
Old 02-19-2008, 02:31 AM   #3
sean_zhang
LQ Newbie
 
Registered: Aug 2007
Posts: 26

Original Poster
Rep: Reputation: 15
I installed qt-X11-opensource-src-4.3.3, and /usr/local/Trolltech/Qt-4.3.3/bin in addition to $PATH.
Quote:
$ qmake -v
QMake version 2.01a
Using QT version 4.3.3 in /usr/local/Trolltech/Qt-4.3.3/lib
After I did a complete installation of stellarium, another error pops up when I try to start this application.
$ stellarium
stellarium: error while loading shared libraries: libQtScript.so.4: cannot open shared object file: No such file or directory
$ cp -r ~/usr/local/Trolltech/Qt-4.3.3/lib/* /usr/lib/
$ stellarium
stellarium: symbol lookup error: stellarium: underfined symbol: _ZN9QListData7detach2Ev

But the program runs fine if I issue
$ ~/stellarium-<version>/src/stellarium

Do you have any ideas about this?

Last edited by sean_zhang; 02-19-2008 at 02:40 AM.
 
Old 02-19-2008, 02:32 AM   #4
sean_zhang
LQ Newbie
 
Registered: Aug 2007
Posts: 26

Original Poster
Rep: Reputation: 15
I installed qt-X11-opensource-src-4.3.3, and /usr/local/Trolltech/Qt-4.3.3/bin in addition to $PATH.

Quote:
$ qmake -v
QMake version 2.01a
Using QT version 4.3.3 in /usr/local/Trolltech/Qt-4.3.3/lib

After I did a complete installation of stellarium, another error pops up when I try to start this application.
$ stellarium
stellarium: error while loading shared libraries: libQtScript.so.4: cannot open shared object file: No such file or directory
$ cp -r ~/usr/local/Trolltech/Qt-4.3.3/lib/* /usr/lib/
$ stellarium
stellarium: symbol lookup error: stellarium: underfined symbol: _ZN9QListData7detach2Ev

But the program runs fine if I issue
$ ~/stellarium-<version>/src/stellarium

Do you have any ideas about this?

Last edited by sean_zhang; 02-19-2008 at 02:41 AM.
 
Old 02-19-2008, 12:34 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
When compiling it, run
Code:
cmake -i .
, at the end of this configuration it'll ask for a path to qmake, so enter it as
Code:
/usr/local/Trolltech/Qt-4.3.3/bin/qmake
. You may need to say yes to advanced options for this.
 
  


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
qmake command not found lonecrow Linux - Newbie 31 10-15-2007 08:27 PM
qmake not found on debian 4 mperez Debian 17 05-16-2007 02:52 PM
qmake: command not found after apparently flawless Qt install emiphiste Linux - Software 6 12-13-2006 07:16 PM
qmake not found ??? rooman Linux - General 0 11-01-2004 06:04 AM
qmake not found Mestax Linux - Newbie 2 09-06-2003 12:42 PM

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

All times are GMT -5. The time now is 02:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration