 |
 |
Need help setting up ./configure command
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2000
Location: Upstate NY (cow country)
Status:
Offline
|
|
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
|
|
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.
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jan 2002
Location: NYC
Status:
Offline
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2000
Location: Upstate NY (cow country)
Status:
Offline
|
|
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
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|