ubuntu: compile with older gcc/qt4 versions

Started by y, November 21, 2012, 02:22:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

y

Under ubuntu 12.04 LTS, I have
gcc 4.6.3
make 3.81
QMake 2.01a using Qt v 4.8.1

Using ubuntu software center I easily installed qt4-qmake and libqt4-dev as indicated in the readme file. Also I installed fet (there was a quite old version in the repository).

Then I run
qmake (it finished instantly)
and then
make (it took about 1 hour).

The compilation finished. I don't see any errors. The fet executable is running. I overwrite the old /usr/bin/fet with the new one and everything seems to work fine.

My question is this: am I missing something for not using the latest versions of gcc/make/qmake? All of them in my system are older than the ones indicated in the README file.

Liviu Lalescu

Quote from: y on November 21, 2012, 02:22:07 PM
My question is this: am I missing something for not using the latest versions of gcc/make/qmake? All of them in my system are older than the ones indicated in the README file.

No, you are not missing anything.

y

Thanks for the super-fast answer! :)

If I want to transfer this executable to another ubuntu 12.04 installation, can I simply copy the one produced here? In order to avoid to make all this procedure at the school PC?

Liviu Lalescu

Quote from: y on November 21, 2012, 02:28:05 PM
Thanks for the super-fast answer! :)

If I want to transfer this executable to another ubuntu 12.04 installation, can I simply copy the one produced here? In order to avoid to make all this procedure at the school PC?

Maybe.

y

OK, I 'll give it a try and let you know.
Thanks again.

Liviu Lalescu

At school, please install the Qt libraries and gcc, if they are not installed.

y

With simple copy - paste it didn't work. Even though I installed Qt libraries. I compiled it all over and now it works fine.
Thanks again :)