"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 debian/rules
:
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
Then start 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:
1
$ sudo apt-get install texlive-base-bin texlive-base libusb-dev expat libxml2-utils xsltproc libexpat1-dev zlib1g-dev docbook-xml docbook-xsl autoconf automake
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:
1762ab115b2729fec888b95b8144b620
) - gpsbabel_1.3.5-1_amd64.deb.sig.zip (signature)
For Ubuntu Hardy i386:
- gpsbabel_1.3.5-1_i386.zip (md5sum:
592380401e952de11729d5dfb766adf7
) - gpsbabel_1.3.5-1_i386.deb.sig.zip (signature)