rm2 |
Posted: 2017-01-25 12:19:02 |
|
|
Just looking around Posts: 3
Member since: 2017-01-24 14:05:03 |
I have compiled Hively Tracker for Debian Jessie 64 bit and derived distros.
In the compilation process several errors occurred and I explain how I have solved them:
Error 1- Segmentation fault (When you close the program)
With gdb (gnu debugger) the detailed error is:
Thread 1 "hivelytracker" received signal SIGSEGV, Segmentation fault. strcmp unaligned from libc.so.6
To solve this, replace the following line in linux.c in the sdl directory:
GtkButtonsType btns = strcmp ((char *) btns, "OK")? GTK_BUTTONS_OK_CANCEL: GTK_BUTTONS_OK;
For this:
GtkButtonsType btns = g_strcmp0 ((char *) btns, "OK")? GTK_BUTTONS_OK_CANCEL: GTK_BUTTONS_OK;
Error 2- Gtk-Message: GtkDialog mapped without a parent transient. This is discouraged
The Linux Makefile attempts to compile using gtk3 instead of gtk2. Just change the lines that refer to gtk3 by gtk2.
Error 3 - libpng warning: iCCP: known incorrect sRGB profile
It is produced by checking the ICC profiles of the libpng library. With the mogrify command of the ImageMagick suite is solved.
I have the package already compiled and ready to install. I do not know where to upload it. If someone wants it can answer in this thread and we see where to upload it. Ubuntu PPA could be created but I do not have time for this.
Best regards. |
Xeron |
Posted: 2017-01-26 22:00:11 |
|
|
Supreme Being Posts: 448
Member since: 2006-12-13 11:34:00 |
Nice work!
Please submit a pull request for the code changes.
If you want me to stick a binary up on the downloads page, please email it to pete (at) petergordon [dot] org.uk AHX forever! |
rm2 |
Posted: 2017-01-27 15:52:39 |
|
|
Just looking around Posts: 3
Member since: 2017-01-24 14:05:03 |
Sent file and pull request.
Greetings. |
Xeron |
Posted: 2017-01-27 20:48:14 |
|
|
Supreme Being Posts: 448
Member since: 2006-12-13 11:34:00 |
Thanks for your help! Much appreciated :-) AHX forever! |
Xeron |
Posted: 2017-01-29 21:23:47 |
|
|
Supreme Being Posts: 448
Member since: 2006-12-13 11:34:00 |
Bin is up! AHX forever! |
tarzeau |
Posted: 2017-03-31 10:13:20 |
|
|
Just looking around Posts: 2
Member since: 2017-03-31 10:07:08 |
rm2 your email given in the .deb doesn't work anymore |