LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Newbie (http://www.linuxquestions.org/questions/forumdisplay.php?f=8)
-   -   Errors while compiling Qt on Fedora 14 (http://www.linuxquestions.org/questions/showthread.php?t=4175450383)

cuiy0001 02-16-2013 01:17 AM

Errors while compiling Qt on Fedora 14
 
Hi all ,
I just followed the instructions :

1.download and unpack qt-everywhere-opensource-src-4.8.4.tar.gz
2.in the Qt directory , ./configure
./make
After about 20 minutes, some error messages pop up

/usr/bin/ld :unknown archtecture of input file 'object/release/HeavyProfile.o'is incompatible with i386 output.
/usr/bin/ld :unknown archtecture of input file 'object/release/TreeProfile.o'is incompatible with i386 output.
collect 2 ld returned 1 exit status


ERROR_IMAGE

dunno what to do about it now...

John VV 02-16-2013 03:58 AM

First
You ARE aware that fedora 14 is 4 versions "out of date"
and has been unsupported for over a year .Since it went End of Life" on 2011-12-08

Please stay current and install Fedora 18 first before you try building the qt source code
-- you will NEED a lot of "prerequisites" to be installed first


most of the old fedora 14 software repos are dead links
Also qt IS in the very old fedora 14 base repo ( and install dvd )
there is no need to build the source code

And for the "make" command there is no need to put a " ./" in front of it
"configure" you DO but not make

because there is NO file called "make" in that folder
There IS a file called " Makefile"
the program " make " uses the "Makefile" to build the code


but for the End Of Life fedora 14 some of the 14 month "out of date" repos are still up
to install QT
Code:

su -
yum search qt
---- then from that list ----
yum install qt4 qt4-devel


cuiy0001 02-16-2013 08:37 AM

Thank you for the detailed reply.
I will try it...

jpollard 02-16-2013 12:22 PM

To me, it would look like a leftover object file that shouldn't exist. You can try deleting it (or rename it so that the "...o" file doesn't exist, and recompile.

Since you are on a 686 based machine you can do a "file" command to examine the type of file the "object/release/HeavyProfile.o" actually is (I'll almost bet it is x86-64...)

Fedora 14 may be end-of-life, but it is still one of the most reliable versions out there. Much better than what has followed.

cuiy0001 02-17-2013 11:34 PM

I have swithed to Ubuntu,
and installation of Qt( QtCreator ,QtDesigner..etc) is huge bless.


All times are GMT -5. The time now is 05:27 AM.