Hello,
I am trying to create an installable pre-compiled package of the latest version of FET on Zenwalk-5.4BETA1 which has GCC-4.2.4.
What patches should I apply to the sources to make FET compile on GCC-4.2.4?
Thanks for your help,
Anand
I added a note in the README, because of your e-mail.
I used to have gcc 4.2.3 and it crashed when compiling the file rules.cpp. The gcc guys may have fixed this bug in 4.2.4, because I reported it. If FET compiles until the end, then everything is OK and you can use the resulted executable.
There is no patch to apply. If you get a crash, you might want to split the file rules.cpp (src/engine/) in 2 or more files and add these files in src/interface/interface.pro. I hope you won't get a crash.
Later edit: I am curious, what is Zenwalk-5.4BETA1?
Hi Liviu,
That was a very quick reply. Thank you so much.
Zenwalk is a GNU/Linux distribution that is a derivative of Slackware GNU/Linux.
I will try compiling FET on Zenwalk-5.4 now.
Last time when I tried compiling, everything went properly until rules.cpp. When rules.cpp started compiling, it was taking a very long time. But it did not crash. I waited for nearly 45 minutes and then I pressed Ctrl+c to interrupt the compilation process.
Does rules.cpp take a very long time to compile? How long should I wait before interrupting the compilation process?
Regards,
Anand
Slackware is an old friend of mine :-) but I gave it up for the easiness of Kubuntu and after that openSUSE.
On my powerful computer it takes I think at most 3 minutes for rules.cpp. But under gcc 4.2.3 it crashed, it did not freeze.
Please try to split the file rules.cpp into 2 or more parts. It should work.
It worked! Now it is running on Zenwalk-5.4. I did not apply any patches.
Now, I want to create a .tgz package. As per standards followed in Slackware and Zenwalk, I need to put the files in the directories as shown below:
/usr/bin should contain the binary fet.
/usr/doc/fet-5.7.7 should contain the document files. I think I can also keep the directory sample_inputs here.
Where to keep the directory translations?
Anand
Quote from the README:
-------
FET will search for translations (fet_xx.qm files) in the following order: directory /usr/share/fet/translations (under Unix like or Mac), then directory "translations" in the directory where fet executable is, then directly in the directory where the fet executable is.
-------
So, you can put them in /usr/share/fet/translations or other 2 variants. I think the first variant is used in other GNU/Linux-s.
PS: You only need the *.qm files, but you can leave also the text files *.ts
I have successfully created FET-5.7.7 package for Zenwalk-5.4Beta1.
Anand
That is good news :-)
I hope you will stay tuned for the new 5.8.0, in about 1 week from now. You could subscribe to the mailing list, to the forum announcements or to the freshmeat (http://freshmeat.net/projects/fet/) or to sourceforge (http://sourceforge.net/projects/fet-timetabling/) to see when I release a new version. Freshmeat and sourceforge are better, because you only get the announcements for new versions.
I have to admit I am releasing sometimes very often, maybe even at 3-7 days, I am a bit hasty. I hope 5.8.0 will stay longer.
Maybe you could give us the link to the Zenwalk FET section. Does it allow user rating?
Hi,
Here is my FET-5.7.7 package for Zenwalk-5.4Beta1:
http://zenwalk.pinguix.com/user-accounts/rsamurti/fet/fet-5.7.7-i486-54.1.tgz
Hope this will be useful for all users of Zenwalk.
Anand