Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Need help setting up ./configure command

Need help setting up ./configure command
Thread Tools
Mac Elite
Join Date: Feb 2000
Location: Upstate NY (cow country)
Status: Offline
Reply With Quote
Apr 11, 2003, 05:43 PM
 
I'm trying to compile dcgui and keep getting the error

"checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!"

I definitely have the latest version of Qt installed. I was told that I need to add an argument to the ./configure to tell it where Qt is. I have a qt folder in /sw/include/.

Thanks!
"Destroy your ego. Trust your brain. Destroy your beliefs. Trust your divinity." -Danny Carey

MacPro Quad 2.66, G4 MDD dual 867, 23" Cinema Display and 17" LCD, G4 Quicksilver dual 800, 12" Powerbook 867, iMac 300 Grape, B&W G3/300 with G4/450 running yellowdog, iPod 5GB, iPod mini, PowerCenter 150, Powercenter 132 tower, Performa 6116, Quadra 700, MacSE, LC II, eMate 300
     
Dedicated MacNNer
Join Date: Nov 2002
Location: Rouge River
Status: Offline
Reply With Quote
Apr 11, 2003, 10:54 PM
 
Originally posted by memento:
I'm trying to compile dcgui and keep getting the error

"checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!"

I definitely have the latest version of Qt installed. I was told that I need to add an argument to the ./configure to tell it where Qt is. I have a qt folder in /sw/include/.

Thanks!
At the terminal prompt, type './configure --help'. This will give you a pile of stuff that you can use to help you figure out how to tweak the configure command.

The QT error you're getting is the computer telling you (or, that is, automake) that it can't find the QT libraries which are needed to compile this application. Normally, this is overcome by setting a system variable ($QTDIR, which you can set in .tcshrc or .profile) or by telling the automake program where to look. I would think that you would need something like:
Code:
./configure --with-qt-includes=/sw/include/qt/lib
But that's a sheer guess. Check the help and see what the switch is. Also, if this doesnt' work right away, look at config.log. The last lines will tell you why the configure program failed; normally, it will say 'foo.h cannot be found' or some such. This means you need to specify where foo.h will be. In your case, this is likely libqt.so or some qt related header file.

HTH
Swimming upstream since 1994.
     
K++
Senior User
Join Date: Jan 2002
Location: NYC
Status: Offline
Reply With Quote
Apr 12, 2003, 03:19 PM
 
Lemme guess, your trying to compile DCgui? Good luck. The guaranteed way to do it is compile Qt3 on your machine then run it. Actually not so guaranteed since I did it on a debian box and it still refuses to compile from source. I haven't tried it on my Mac since I like the fact that everything just works. I use my linux box for tinkering.
     
memento  (op)
Mac Elite
Join Date: Feb 2000
Location: Upstate NY (cow country)
Status: Offline
Reply With Quote
Apr 13, 2003, 10:30 AM
 
yep. I successfully compiled dcgui 0.2.8, but since I upgraded Qt to the latest, I can't get dcgui 0.2.9 to compile.

pimephalis - thanks for the suggestion. That was all I needed. I don't have a lib folder in my qt folder so I just left that part off. And it works. Thank you!
"Destroy your ego. Trust your brain. Destroy your beliefs. Trust your divinity." -Danny Carey

MacPro Quad 2.66, G4 MDD dual 867, 23" Cinema Display and 17" LCD, G4 Quicksilver dual 800, 12" Powerbook 867, iMac 300 Grape, B&W G3/300 with G4/450 running yellowdog, iPod 5GB, iPod mini, PowerCenter 150, Powercenter 132 tower, Performa 6116, Quadra 700, MacSE, LC II, eMate 300
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2