no warning about old gtk3.x version when compiling from source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HomeBank |
Fix Released
|
Low
|
Maxime DOYEN |
Bug Description
Tried to install Homebank 5.0.6 from source.
After I've realized I have to install gtk3+ and glib2 dev packages compiling ensued.
These errors appeared:
ui-account.o: In function `ui_acc_
/homebank-
/homebank-
ui-archive.o: In function `ui_arc_
/homebank-
/homebank-
ui-assign.o: In function `ui_asg_
/homebank-
/homebank-
ui-budget.o: In function `ui_bud_
/homebank-
/homebank-
ui-pref.o: In function `defpref_
/homebank-
ui-split.o: In function `ui_split_dialog':
/homebank-
/homebank-
/homebank-
/homebank-
I believe Ubuntu 14.04 (apt-get) doesn't have the exact needed GTK version.
My fix was simple:
[homebank-5.0.6]$ sed -i "s/gtk_
[homebank-5.0.6]$ sed -i "s/gtk_
Compiling finished and homebank installed.
One could support both old and new versions by using some clever defines. I believe the minversion where changes in API happened is >= 12.
Or, alerting the user of the needed gtk version during the ./configure phase.
description: | updated |
description: | updated |
Changed in homebank: | |
assignee: | nobody → Maxime Doyen (mdoyen) |
importance: | Undecided → Low |
milestone: | none → 5.1 |
status: | New → Fix Committed |
Changed in homebank: | |
milestone: | 5.1 → 5.0.7 |
Changed in homebank: | |
status: | Fix Committed → Fix Released |
Have done both:
- revert to xxx-left & xxx-right
- required gtk 3.12
trusty (14.04) was shipping gtk 3.10