PDA

View Full Version : configure error



cjensen716
12-10-2003, 02:58 PM
Getting an error when i configure....

>> Found version.: 3.1.1
>>> Headers......: /usr/lib/qt-3.1/include/
>>>> Libraries...: /usr/lib/qt-3.1/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking for Qt UIC... configure: error: No working Qt user interface compiler (uic) found!

Configure found and tried to use '/usr/lib/qt-3.1/bin/uic', but failed...

If configure shouldn't have tried '/usr/lib/qt-3.1/bin/uic', please set the environment
variable UIC to point to the location of your prefered uic binary and run
configure over.

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

export UIC=`updatedb && locate uic | grep bin/uic` (with the `s)
--------------
so i entered the command exactly like it says to and get the same error...
i downloaded a fresh qt-3.1.6 rpm to see if that was the problem....installed the rpm and getting the same result..
running RH9
autoconf 2.57
linux kernel 2.4.20-24.9

junk
12-10-2003, 03:29 PM
Make sure you have the qt-devel RPM installed also. uic is NOT a part of the base package. I can just picture everyone upgrading the base qt package but not the qt-devel package.

cjensen716
12-10-2003, 04:20 PM
qt-devel-3.1.1-6.i386.rpm
fresh install, same problem

Zaphod
12-10-2003, 04:49 PM
Originally posted by cjensen716
qt-devel-3.1.1-6.i386.rpm
fresh install, same problem

Please attach your config.log (don't paste it into a message, attach the file to the message. That way I can look at what is actually happening.

This all should work out of the box on a RedHat 9 machine using just what comes on the CD's since that is what I'm using for my development machine. So I'm not sure what's going on. Please attach the output of each of the following commands:

$ rpm -q qt qt-devel
$ rpm -q -f /usr/lib/qt-3.1/bin/uic
$ ls -ls /usr/lib/qt-3.1/bin/uic
$ /usr/lib/qt-3.1/bin/uic --help


Thanks and Enjoy,
Zaphod (dohpaZ)

cjensen716
12-10-2003, 05:20 PM
ok..here is the output of the code you asked for
and the config.log file

cjensen716
12-10-2003, 05:26 PM
/sigh.....

Zaphod
12-10-2003, 06:56 PM
Originally posted by cjensen716
/sigh.....

ok, an analysis of attach.txt.

First, lets look at the rpm output:

rpm -q qt qt-devel


yielded just:

qt-devel-3.1.1-6


Whereas it should have yielded:

qt-3.1.1-6
qt-devel-3.1.1-6


The fact that qt-3.1.1-6 isn't listed is indicative that somehow you installed qt-devel without the rest of qt.

Let's look at another section:

/usr/lib/qt-3.1/bin/uic --help


Yielded:

/usr/lib/qt-3.1/bin/uic: error while loading shared libraries: libGLU.so.1: cannot
open shared object file: No such file or directory


Which indicates that attempting to run uic is bombing out due to lack of libGLU.so.1, at a minimum, which is from the XFree86-devel-4.3.0 RPM.

All of this indicates that you probably installed qt-devel-3.1.1-6 on its own using the --nodeps command line option to rpm and didn't install the qt-3.1.1-6 RPM.

Try installing all of the missing packages. You can try running my checkdeps.sh shell script that is on my site (http://bunce.to/showeq/) and installing the RPM's that it says are missing.

Enjoy,
Zaphod (dohpaZ)

Theka
12-11-2003, 11:08 AM
ok as a followup to this problem.
i ditched rh 8 and fresh installed rh 9

straight outta the box it has qt 3.1.1 and qt devel 3.1.1 and i checked via rpm -qa | grep qt

but when i run ./configure it still says no working uic found. i even went to the qt/bin dir and checked uic for myself and a uic -version came back with 3.1.1 and a uic --help worked fine.

dunno what to say about this :)

S_B_R
12-11-2003, 01:12 PM
like Zaphod said above do you have XFree86-devel installed?

Theka
12-11-2003, 02:25 PM
yup a rpm -qa | XFree86-devel results in

XFree86-devel-4.3.0-2.90.43

i also checked to make sure that the QT bin dir was in the path and it is as well hmmmmm........

Edit: i also ran the checkdeps.sh and it came back with all packages ok.

Laetos
12-12-2003, 04:41 AM
Hi

i had the same problem on my gentoo box.

su didnt get the patch for uic so i had to


su -

hope that helps, im now out to fix this path thing

Theka
12-12-2003, 04:56 PM
well im at a loss for this. ive searched around with no answers still sigh.

All i can figure is the people that i have seen get it compiling did a full install all packages, i did not. but from what i can see i have all needed packages installed
The checkdeps script checks out, unless there is now something needed that isnt in the script? has any1 had this problem and solved it?

S_B_R
12-12-2003, 05:11 PM
I haven't done a full install of Redhat9 (nor would I ever do that) SEQ5 compiles just fine. Several other people I work with have gotten it compiled on all manner of distros.

Laetos's response brought up a question. Are you logging in as root? or are you Switching Users (su) to root after you login as some other user? If you are su'ing to root try
su -Notice the "-" as Laetos sugested.

Theka
12-12-2003, 05:19 PM
BAH that did it lol, yeah i was loggin in as a user then switching to root. thanx guys.

S_B_R
12-12-2003, 05:22 PM
no problem, I'm a fan or Irony...
Originally posted by Laetos
Hi

i had the same problem on my gentoo box.

su didnt get the patch for uic so i had to

su -
Originally posted by Theka
... has any1 had this problem and solved it?