Installing FET in Ubuntu

Started by test666, August 29, 2009, 03:57:33 PM

Previous topic - Next topic

0 Members and 8 Guests are viewing this topic.

test666

I am posting this with the purpose of having it documented through Google searches, so other newbies like me get a quick fix on the specific issue that I encountered.

Keywords:
FET, Ubuntu, make, compile, failed, error

For FET 5.10.3 (but quite probably other versions too).

Please read carefully README file (included in fet-5.10.3.tar.bz2) before installing FET.

qt4-gmake was not installed, so I typed (in terminal window)
sudo apt-get install qt4-qmake
and then for dependencies
sudo apt-get build-dep qt4-qmake

When installing FET (sudo qmake-qt4 and then make), make failed  with message:
"/usr/bin/uic-qt4: Command not found"

Solved this way:
Type
sudo apt-get install libqt4-dev
and then
sudo apt-get build-dep libqt4-dev

After this, make worked (be patient - in my old P4 it took more than 1 hour).

Liviu Lalescu, thank you for having the time and patience for designing and coding FET.

Liviu Lalescu

I added your advice in the README (attached to this post). Could you please verify that the info is correct? Search for Ubuntu in the README to see the changes (I added 4 lines, the apt-get-s).

Are the build-dep-s necesary? What do they do?

Thank you!

Liviu Lalescu

Please tell me, what Qt version did you install? Type qmake -version to see that.

I am interested, because I have tried the latest snapshot on my computer and there was a problem: in the generate timetable dialog, the buttons with longer text were not correctly displayed on multiple rows. Also, the message box after generating a timetable did not display new line characters as new lines, but as a small box. Please tell me, do you have these problems?

test666

#3
qmake -version output:
QMake version 2.01a
Using Qt version 4.5.0 in /usr/lib

sudo apt-get build-dep : This will fully install dependencies.

I have no issues with buttons with longer text.

I generated 2 timetables for testing purposes, went for the smallest (quickly generated) and for the biggest .fet files in examples (this one is still working as I type).

I have not yet generated my own timetable (I am having some impossible to schedule activities). I have to go
carefully through constraints. I probably made some basic mistakes.

Liviu Lalescu

#4
Thank you! Seems that Qt 4.5 has no problems. I tested Qt 4.6 snapshot and it presented the problem I wrote. Maybe it is an unstable snapshot.

Good luck with your timetable, I hope you'll solve it. I generally propose a progressive approach: generate for lower constraints/weights, then add more constraints/increase weights.

test666

Than you.
I tried FET (for self training purposes) with my school's data from last year.
I will now try your advice. Things are a bit fluid and slow now, as we are now waiting for new teachers, which were distributed to schools this week, and they will probably have specific circunstances (recent births, health issues, age issues, syndicate representatives issues, to name a few).