gordonjcp / aprsmap

An APRS application using osm-gps-map
19 stars 4 forks source link

cannot compile easily on Fedora 20 #22

Open nolith opened 10 years ago

nolith commented 10 years ago

Fedora 20 ships with osm-gps-map version 1.0.1 which doesn't seems to be compatible with aprsmap.

First thing: in order to pass the ./waf compile step you need to change wscript

diff --git a/wscript b/wscript
index 688170e..ff15a40 100644
--- a/wscript
+++ b/wscript
@@ -25,7 +25,7 @@ def configure(conf):
     # because of a packaging bug is libosmgpsmap, check for libsoup explicitly
     conf.check_cfg(package='libsoup-2.4', atleast_version = '2.4', args = '--cflags --libs')

-    conf.check_cfg(package='osmgpsmap', uselib_store='OSMGPSMAP', atleast_version = '0.7.2', args = '--cflags --libs')
+    conf.check_cfg(package='osmgpsmap-1.0', uselib_store='OSMGPSMAP', atleast_version = '0.7.2', args = '--cflags --libs')
     conf.check_cfg(package='libfap', uselib_store='FAP', atleast_version = '1.1', args = '--cflags --libs')
     conf.check_cfg(package='sqlite3', uselib_store='SQL', atleast_version = '3', args = '--cflags --libs')
     conf.check_cfg(package='gthread-2.0', uselib_store='GTHREAD2', atleast_version = '2.32.1', args = '--cflags --libs')

But when you compile it it will fails, probabily due to the fact that osm-gps-map 1.0.1 is based on Gtk3 (my guess). The complete error is here: http://fpaste.org/63998/

As a fix for Fedora 20 users you can compile osm-gps-map 0.7.3 and use it

gordonjcp commented 10 years ago

It's developed on Ubuntu 12.04, and as of 13.10 Ubuntu still only packages 0.7.3 - and aprsmap is a Gtk2 application.