PDA

View Full Version : Need some assistance...



Dikota
10-17-2002, 03:08 PM
I've been getting the following error message on compile...


>> Found version.: 2.3.2
>>> Headers......: /opt/qt-gcc3-2.3.2/include/
>>>> Libraries...: /opt/qt-gcc3-2.3.2/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... configure: error: No working Qt meta object compiler (moc) found!

Configure was unable to locate a moc binary anywhere on your system!

If you have a working moc binary, please set the environment variable MOC
to point to the location of your moc binary and run configure over.

As a last resort, it may be possible to eliminate this error by typing:

export MOC=`updatedb && locate moc | grep bin/moc` (with the `s)

Now I've searched the forums and the FAQs and found stuff pertaining to this problem... but everything I've tried to remedy it has failed. I've renamed the exports to everything I can possibly think of, I've reinstalled and uninstalled, I've even consulted some other people who are unsure. Any assistance or even a point in the right direction is much appreciated.

Edit: Should mention I'm using RH 8.0 w/ the latest QT files, etc.

- Dikota

S_B_R
10-17-2002, 03:12 PM
Did you happen to try:
export MOC=`updatedb && locate moc | grep bin/moc`

Dikota
10-17-2002, 07:01 PM
Of course. ;) It didn't solve the problem.

adenine!
10-17-2002, 07:08 PM
You've probably already done it, but make sure moc is in /opt/qt-gcc3-2.3.2/bin/. Make sure you do export QTDIR=/opt/qt-gcc3-2.3.2 Try export PATH=$PATH:/opt/qt-gcc3-2.3.2/bin

Dikota
10-19-2002, 01:39 AM
Ahh, you are very much win, sir. Thank you, that did it. :)