Installing FET on Linux/Ubuntu

Started by hugobelisario, January 07, 2013, 04:45:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hugobelisario

Helo,

How to install the FET on Ubuntu 12.04.

Hugo Belisário

Liviu Lalescu

See the README file. Install Qt libs and devel with package manager (maybe named libqt4), then qmake, then make.

k1aas

I'm a bit confused that some of the required files are not available for Ubuntu 12.04 LTS:

Required by FET 5.19.4                         Available for Ubuntu 12.04
make 3.82 or similar                      make 3.81  (latest version according to Synaptic)
g++ 4.7.2 or similar                      g++ 4.6.3  (latest version according to Synaptic)

Any idea how to solve these conflicts?


Liviu Lalescu

Probably Ubuntu packers are a bit lazy. But that does not matter, even these versions should work perfectly.

In fact, the latest gcc version is 4.8.1 (http://gcc.gnu.org), but I neglected to update on my computer.

Fernando Poblete

If someone has issues installing Fet 5.28 due to lack of qt 5.5.1, you can use this command without quotes "sudo apt-get install qt5-default". Regards.

Liviu Lalescu

#5
Thank you! I added this in the README file.

Volker Dirr

hmmm.. Maybe i misunderstood, but the last hint doesn't look fine : "sudo apt-get install qt5-default"
It might be critical, since it sound like you didn't installed qt correct.
I think it is critical because of this:
You downloaded and installed qt (*).
You compiled FET with that version.
Now you can't install or run FET. This is a sign you didn't installed qt correct. Maybe just missing PATH.
You solved it by installing qt5-default (**).

So you compiled with an other qt version then you run it.
Qt guys try to keep the versions compatible with other versions. But they can't always recommend that.

So that hint looks like a (bad?!) workaround. It might work, but it might fail also. I recommend to install qt correct instead of installing 2 different versions.

Liviu Lalescu

Volker, I think he meant "compiling FET", not "installing FET".

Volker Dirr

if he mean compiling (and also installed the other qt stuff by apt-get command), then it is of course correct to do that. In fact in that case it is a Ubuntu dependency checker bug. (Or did you/he negate to install depended packages?)

Liviu Lalescu

Quote from: Volker Dirr on February 21, 2016, 06:34:39 PM
if he mean compiling (and also installed the other qt stuff by apt-get command), then it is of course correct to do that. In fact in that case it is a Ubuntu dependency checker bug. (Or did you/he negate to install depended packages?)

I think he means all a user needs to do to compile FET on Ubuntu is "sudo apt-get install qt5-default".

Fernando Poblete

Liviu. You're right. I meant "compiling" in my above post.  :P

Another tip is, if at make install you get the "make: *** No hay ninguna regla para construir el objetivo `install'. Alto." error (something like "There are no rules to build the target 'install'. Stop.", you have to install g++ compiler "sudo apt-get install g++". Better, install build-essential, "sudo apt-get install build-essential".
   
It includes build libraries commonly used, rather than just g++, but if all you need is the g++ compiler, then installing g++ is enough.

Liviu Lalescu

OK, I added your words in the README file, attached if you want to check it (search Ubuntu - 2/3 appearance in the file).