LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-14-2006, 06:17 AM   #1
josh_o_1
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Installing Qmake on SuSe 10.0


I am trying to get qmake to work in suse 10.0. My goal is to run mythtv on it and I need qmake to compile myth 0.19. After searching the forum I found a link that said it was part of the /suse/i586/qt3-devel-3.3.4-28.i586.rpm package. I tried installing this using apt but it still didnt work. Any ideas
 
Old 02-14-2006, 06:28 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
The installation of qmake did not work or the compilation of myth?
What does which qmake return (if installed, it should be /usr/lib/qt3/bin/qmake)?
 
Old 02-14-2006, 06:29 AM   #3
djortz
Member
 
Registered: Oct 2005
Location: Netherlands
Distribution: Debian Lenny
Posts: 41

Rep: Reputation: 15
Qmake might be installed already in a directory mythtv isn't looking. Try to find it: find / -name qmake
It's in /usr/lib/qt3/bin/

I had some difficulties compiling mythtv, so after a search I got to a website that provided me the rpms and a very good howto. Too bad I can't find that site for you and it might be in Dutch.
 
Old 02-14-2006, 06:40 AM   #4
josh_o_1
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
When I install the package /suse/i586/qt3-devel-3.3.4-28.i586.rpm everything when fine. I then ran the commands (as a usr, not root)

echo $PATH - This should have returned a line: /usr/lib/qt3/bin - but it didn't
echo $QTDIR - This return the following line: /usr/lib/qt3
which qmake - This should have returned a line: /usr/lib/qt3/bin/qmake - but didn't

This leads me to believe qmake is not working properly
 
Old 02-14-2006, 07:25 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You could try to add /usr/lib/qt3/bin to your users path variable.

Add export PATH=$PATH:/usr/lib/qt3/bin to /etc/profile.local, then run source /etc/profile.local (only needed if you don't restart) and try again.

EDIT: Did you install qt3-devel with YaST or plain rpm? In the later case, you need to run suseconfig to execute the scripts that modify your path variable (at least I believe so).

Last edited by abisko00; 02-14-2006 at 07:31 AM.
 
Old 02-14-2006, 09:12 PM   #6
josh_o_1
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
That worked. I created a line in my /etc/profile.local to be PATH=$PATH:/usr/lib/qt3/bin and did a restart and qt is now working. Thanks for your help..... Now on to getting my Hauppauge Media MVP running
 
  


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
Where to get qmake for SuSE 10 KimVette SUSE / openSUSE 2 11-14-2005 10:03 AM
qmake Jongi SUSE / openSUSE 1 10-30-2005 02:05 AM
qmake; qt3; suse 9.2 prof jimbrook SUSE / openSUSE 3 05-20-2005 12:12 PM
Qmake Question sganarelle Slackware 2 08-14-2004 05:05 PM
qt qmake nakkaya Programming 0 08-11-2003 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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