Click to See Complete Forum and Search --> : Getting qt 2.2.1 to Compile


c_guy
11-06-2000, 07:59 PM
I am having trouble getting qt 2.2.1 to compile on redhat 6.2, keep getting error messages after the make command is executed, it seems to compile everything ok, but at the end i get this...

collect2: ld returned 1 exit status
make[6] *** [/usr/lib/qt/bin/uic] Error 1
make[6] Leaving directory `/usr/lib/qt/tools/designer/uic`
make[5] *** [uic] Error 2
make[5] Leaving directory `/usr/lib/qt/tools...`
make[4] *** [all] Error 2

this keeps going till i get the last line..

make: *** [init] Error 2

after this if i look in my /usr/lib/qt/lib directory, there's nothing there but a bunch of broken links.. what could be the problem?

any help would be greatly appreciated...

Thanks,

{c}guy

Glaurung
11-07-2000, 03:45 AM
Can you give us some more error messages? Esp. those before "collect2: ld returned 1 exit status" would be informative....

c_guy
11-07-2000, 09:45 AM
THe first line reads like...

ld cannot find lqutil...

then it continues with the errors above,

I have added the directory i'm compiling the source from (/usr/lib/qt) to the /etc/ld.so.conf file and then ran ldconfig.

This didn't make any difference. Same errors, I have defined the path in my .profile directory as instructed to do so in the INSTALL instructions. I can't figure this out, it seems like the source compiles, then it goes to link or something like that, and it cant find the libraries it needs, but the qutils lib, is the one that is supposed to be created by the compilation process, isn't it? I soooo confused, please help...

Thanks in advance...

{c}guy