“gpsbabel 1.3.5” for Ubuntu Hardy
Ubuntu Hardy Heron is out but sadly it comes with a rather old version of gpsbabel: 1.3.3. To read data from my Wintec WBT-201 I need at least gpsbabel version 1.3.4. With 1.3.5 already released I wanted the latest version - of course.
I tried to follow my own instructions given here to build a deb package for Hardy, but it didn’t work… It wouldn’t compile cleanly and error-ed out with:
lmx.c:34: Fehler: »link« als andere Symbolart redeklariert
(Sorry, got it in German only)
I googled a lot, but nothing… Compiling the sources worked well, but not if I tried to build the deb package via “uupdate”. As I’m no expert in building packages this gave me a hard time, but finally I got it: you have to edit debian/rules a little and it works!
Get gpsbabel 1.3.5 sources from here and follow the steps given in this post (of course change directory names accordingly) but add one step right before
dpkg-buildpackage -rfakeroot and edit
Go to line 26 which should look like this:
$(SHELL) ./configure --with-zlib=system --with-doc=debian/doctmp
and change it by deleting “–with-zlib=system”:
$(SHELL) ./configure --with-doc=debian/doctmp
dpkg-buildpackage -rfakeroot and follow the rest of the instructions given. This should leave you with a working .deb package for gpsbabel 1.3.5!
EDIT: If you have a very basic installation of Ubuntu, you might need to add some other packages to make gpsbabel compile:
If you don’t like to build it yourself you can download the package from here:
For Ubuntu Hardy amd64:
- gpsbabel_1.3.5-1_amd64.zip (md5sum:
- gpsbabel_1.3.5-1_amd64.deb.sig.zip (signature)
For Ubuntu Hardy i386:
- gpsbabel_1.3.5-1_i386.zip (md5sum:
- gpsbabel_1.3.5-1_i386.deb.sig.zip (signature)