[Xastir] Xastir on the Raspberry Pi

John Gorkos jgorkos at gmail.com
Sat Nov 23 11:48:03 EST 2013


Well, dang.  The GOOD news is that Xastir still works and runs.  The bad
news is that you probably can¹t import GPS tracks from Garmin GPS devices
(which is what GPSman does).  Personally, I¹m cool with that, since I
don¹t have any Garmin GPS units that I talk to that way.
So, I¹m going to modify the build script to not use GPSman.  The problem
is really that Raspbian ISN¹T Debian, and there are some dependencies that
don¹t line up completely.  The reason is that Debian REALLY doesn¹t run on
the ARM6 that the Pi has.  A group of Debian guys got together and hacked
up the ARM7 version of debian to work on the Pi, but the dependency tree
is flaky and fraught with mismatches like you¹ve found.

I¹ve stopped recommending Raspberry Pi¹s for anything other than heavy
multimedia work.  They really AREN¹T open hardware, the software support
for them is flaky, and for $10 more you can get a Beaglebone Black that is
MUCH faster and doesn¹t need a SD card to run.  I love my Raspi¹s for
music streamers and XBMC boxes, but unless you need accelerated 3d video,
please consider buying Beaglebones in the future.

I have a build of Xastir I¹ve done the the BBB as well.  I¹m going to
shuffle the aprs-alert.net directories around, so I have a ³raspi² and a
³beagleboneblack² directory, with both the Xastir and aprx code available
for each platform in the appropriate place.
I¹m also going to rebuild Xastir without gpsmanshp support.  I¹m thinking
that having a mostly functional Xastir without Festival, GeoTIFF, and
GPSMan for the raspi, but is up-to-date and maintained, is better than one
with more features but 2 years old.

John Gorkos
 

On 11/22/13, 11:48 PM, "Max Harper" <kg4pid at yahoo.com> wrote:

>To John Gorkos
> 
>I started off with a clean updated image for the Pi (latest release),
>installed libax25, libax25-dev, ax25-apps, ax25-tools and then followed
>your instructions. I'm getting one error so far that I don't know how to
>fix.
> 
>/var/lib/dpkg/info/gpsmanshp.postinst: 7:
>/var/lib/dpkg/info/gpsmanshp.postinst: tclsh8.4: not found
>dpkg: error processing gpsmanshp (--configure):
> 
>I was going to try running "gpsmanshp --configure" but couldn't figure
>out where its located. It's long, but here is everything I've done.
> 
>pi at Igate2 ~ $ sudo wget
>http://www.aprs-alert.net/xastir/xastir_2.0.5-snapshot_armhf.deb
>--2013-11-22 20:54:23--
>http://www.aprs-alert.net/xastir/xastir_2.0.5-snapshot_armhf.deb
>Resolving http://www.aprs-alert.net/ (http://www.aprs-alert.net/)...
>198.137.202.25, 2001:1868:205::25
>Connecting to http://www.aprs-alert.net/
>(http://www.aprs-alert.net)%7c198.137.202.25%7c/... connected.
>HTTP request sent, awaiting response... 200 OK
>Length: 1733486 (1.7M) [application/x-debian-package]
>Saving to: `xastir_2.0.5-snapshot_armhf.deb'
>100%[======================================>] 1,733,486    822K/s   in
>2.1s
>2013-11-22 20:54:26 (822 KB/s) - `xastir_2.0.5-snapshot_armhf.deb' saved
>[1733486/1733486]
>pi at Igate2 ~ $ sudo dpkg -i xastir_2.0.5-snapshot_armhf.deb
>Selecting previously unselected package xastir.
>(Reading database ... 65507 files and directories currently installed.)
>Unpacking xastir (from xastir_2.0.5-snapshot_armhf.deb) ...
>dpkg: dependency problems prevent configuration of xastir:
> xastir depends on libgdal1; however:
>  Package libgdal1 is not installed.
> xastir depends on libshp1; however:
>  Package libshp1 is not installed.
> xastir depends on gpsman; however:
>  Package gpsman is not installed.
> xastir depends on gpsmanshp; however:
>  Package gpsmanshp is not installed.
> xastir depends on libgraphicsmagick3; however:
>  Package libgraphicsmagick3 is not installed.
> xastir depends on libgeos-c1; however:
>  Package libgeos-c1 is not installed.
>dpkg: error processing xastir (--install):
> dependency problems - leaving unconfigured
>Processing triggers for man-db ...
>Errors were encountered while processing:
> xastir
>pi at Igate2 ~ $ sudo apt-get -fy install
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Correcting dependencies... Done
>The following extra packages will be installed:
>  gpsman gpsmanshp libarmadillo3 libdap11 libdapclient3 libdapserver7
>  libepsilon0 libfreexl1 libgdal1 libgeos-3.3.3 libgeos-c1
>libgraphicsmagick3
>  libhdf4-0-alt libhdf5-7 libkml0 libmysqlclient18 libnetcdfc7 libodbc1
>  libogdi3.2 libpq5 libproj0 libshp1 libspatialite3 liburiparser1
>libwmf0.2-7
>  libxerces-c28 mysql-common odbcinst odbcinst1debian2 proj-bin proj-data
>  tcllib
>Suggested packages:
>  libtk-img graphicsmagick-dbg libhdf4-doc libhdf4-alt-dev hdf4-tools
>  libnetcdf4 libmyodbc odbc-postgresql tdsodbc unixodbc-bin ogdi-bin
>  proj-ps-doc
>The following NEW packages will be installed:
>  gpsman gpsmanshp libarmadillo3 libdap11 libdapclient3 libdapserver7
>  libepsilon0 libfreexl1 libgdal1 libgeos-3.3.3 libgeos-c1
>libgraphicsmagick3
>  libhdf4-0-alt libhdf5-7 libkml0 libmysqlclient18 libnetcdfc7 libodbc1
>  libogdi3.2 libpq5 libproj0 libshp1 libspatialite3 liburiparser1
>libwmf0.2-7
>  libxerces-c28 mysql-common odbcinst odbcinst1debian2 proj-bin proj-data
>  tcllib
>0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
>1 not fully installed or removed.
>Need to get 23.5 MB of archives.
>After this operation, 68.7 MB of additional disk space will be used.
>Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libarmadillo3 armhf 1:3.2.3+dfsg-1 [17.3 kB]
>Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libdap11
>armhf 3.11.1-11 [400 kB]
>Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libdapclient3 armhf 3.11.1-11 [156 kB]
>Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libdapserver7 armhf 3.11.1-11 [98.5 kB]
>Get:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libepsilon0 armhf0.9.1-2 [42.5 kB]
>Get:6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libfreexl1
>armhf1.0.0b-1 [21.6 kB]
>Get:7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libgeos-3.3.3 armhf 3.3.3-1.1 [576 kB]
>Get:8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>mysql-common all 5.5.31+dfsg-0+wheezy1 [85.3 kB]
>Get:9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libmysqlclient18 armhf 5.5.31+dfsg-0+wheezy1 [628 kB]
>Get:10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libgeos-c1 armhf 3.3.3-1.1 [165 kB]
>Get:11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libxerces-c28 armhf 2.8.0+deb1-3 [1,163 kB]
>Get:12 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libhdf4-0-alt armhf 4.2r4-13 [286 kB]
>Get:13 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhdf5-7
>armhf 1.8.8-9 [1,410 kB]
>Get:14 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>liburiparser1 armhf 0.7.5-1 [37.2 kB]
>Get:15 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libkml0
>armhf 1.3.0~r863-4.1 [662 kB]
>Get:16 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libnetcdfc7 armhf 1:4.1.3-6 [321 kB]
>Get:17 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libodbc1
>armhf 2.2.14p2-5 [231 kB]
>Get:18 http://mirrordirector.raspbian.org/raspbian/ wheezy/main proj-data
>armhf 4.7.0-2 [2,940 kB]
>Get:19 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libproj0
>armhf 4.7.0-2 [114 kB]
>Get:20 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libogdi3.2 armhf 3.2.0~beta2-7 [237 kB]
>Get:21 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libpq5
>armhf 9.1.9-1 [512 kB]
>Get:22 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libspatialite3 armhf 3.1.0~rc2-1 [1,057 kB]
>Get:23 http://mirrordirector.raspbian.org/raspbian/ wheezy/main odbcinst
>armhf 2.2.14p2-5 [40.3 kB]
>Get:24 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>odbcinst1debian2 armhf 2.2.14p2-5 [74.1 kB]
>Get:25 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libgdal1
>armhf 1.9.0-3.1 [4,504 kB]
>Get:26 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libshp1
>armhf 1.2.10-7 [21.4 kB]
>Get:27 http://mirrordirector.raspbian.org/raspbian/ wheezy/main gpsman
>all 6.4.3-1 [1,411 kB]
>Get:28 http://mirrordirector.raspbian.org/raspbian/ wheezy/main tcllib
>all 1.14-dfsg-3 [4,628 kB]
>Get:29 http://mirrordirector.raspbian.org/raspbian/ wheezy/main gpsmanshp
>armhf 1.2.1-1 [130 kB]
>Get:30 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libwmf0.2-7 armhf 0.2.8.4-10.3 [172 kB]
>Get:31 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
>libgraphicsmagick3 armhf 1.3.16-1.1 [1,325 kB]
>Get:32 http://mirrordirector.raspbian.org/raspbian/ wheezy/main proj-bin
>armhf 4.7.0-2 [57.6 kB]
>Fetched 23.5 MB in 48s (480 kB/s)
>Extracting templates from packages: 100%
>Selecting previously unselected package libarmadillo3.
>(Reading database ... 65740 files and directories currently installed.)
>Unpacking libarmadillo3 (from
>.../libarmadillo3_1%3a3.2.3+dfsg-1_armhf.deb) ...
>Selecting previously unselected package libdap11:armhf.
>Unpacking libdap11:armhf (from .../libdap11_3.11.1-11_armhf.deb) ...
>Selecting previously unselected package libdapclient3:armhf.
>Unpacking libdapclient3:armhf (from
>.../libdapclient3_3.11.1-11_armhf.deb) ...
>Selecting previously unselected package libdapserver7:armhf.
>Unpacking libdapserver7:armhf (from
>.../libdapserver7_3.11.1-11_armhf.deb) ...
>Selecting previously unselected package libepsilon0.
>Unpacking libepsilon0 (from .../libepsilon0_0.9.1-2_armhf.deb) ...
>Selecting previously unselected package libfreexl1:armhf.
>Unpacking libfreexl1:armhf (from .../libfreexl1_1.0.0b-1_armhf.deb) ...
>Selecting previously unselected package libgeos-3.3.3.
>Unpacking libgeos-3.3.3 (from .../libgeos-3.3.3_3.3.3-1.1_armhf.deb) ...
>Selecting previously unselected package libgeos-c1.
>Unpacking libgeos-c1 (from .../libgeos-c1_3.3.3-1.1_armhf.deb) ...
>Selecting previously unselected package libhdf4-0-alt.
>Unpacking libhdf4-0-alt (from .../libhdf4-0-alt_4.2r4-13_armhf.deb) ...
>Selecting previously unselected package libhdf5-7.
>Unpacking libhdf5-7 (from .../libhdf5-7_1.8.8-9_armhf.deb) ...
>Selecting previously unselected package liburiparser1.
>Unpacking liburiparser1 (from .../liburiparser1_0.7.5-1_armhf.deb) ...
>Selecting previously unselected package libkml0.
>Unpacking libkml0 (from .../libkml0_1.3.0~r863-4.1_armhf.deb) ...
>Selecting previously unselected package mysql-common.
>Unpacking mysql-common (from
>.../mysql-common_5.5.31+dfsg-0+wheezy1_all.deb) ...
>Selecting previously unselected package libmysqlclient18:armhf.
>Unpacking libmysqlclient18:armhf (from
>.../libmysqlclient18_5.5.31+dfsg-0+wheezy1_armhf.deb) ...
>Selecting previously unselected package libnetcdfc7.
>Unpacking libnetcdfc7 (from .../libnetcdfc7_1%3a4.1.3-6_armhf.deb) ...
>Selecting previously unselected package libodbc1:armhf.
>Unpacking libodbc1:armhf (from .../libodbc1_2.2.14p2-5_armhf.deb) ...
>Selecting previously unselected package proj-data.
>Unpacking proj-data (from .../proj-data_4.7.0-2_armhf.deb) ...
>Selecting previously unselected package libproj0.
>Unpacking libproj0 (from .../libproj0_4.7.0-2_armhf.deb) ...
>Selecting previously unselected package libogdi3.2.
>Unpacking libogdi3.2 (from .../libogdi3.2_3.2.0~beta2-7_armhf.deb) ...
>Selecting previously unselected package libpq5.
>Unpacking libpq5 (from .../libpq5_9.1.9-1_armhf.deb) ...
>Selecting previously unselected package libspatialite3.
>Unpacking libspatialite3 (from .../libspatialite3_3.1.0~rc2-1_armhf.deb)
>...
>Selecting previously unselected package libxerces-c28.
>Unpacking libxerces-c28 (from .../libxerces-c28_2.8.0+deb1-3_armhf.deb)
>...
>Selecting previously unselected package odbcinst.
>Unpacking odbcinst (from .../odbcinst_2.2.14p2-5_armhf.deb) ...
>Selecting previously unselected package odbcinst1debian2:armhf.
>Unpacking odbcinst1debian2:armhf (from
>.../odbcinst1debian2_2.2.14p2-5_armhf.deb) ...
>Selecting previously unselected package libgdal1.
>Unpacking libgdal1 (from .../libgdal1_1.9.0-3.1_armhf.deb) ...
>Selecting previously unselected package libshp1:armhf.
>Unpacking libshp1:armhf (from .../libshp1_1.2.10-7_armhf.deb) ...
>Selecting previously unselected package gpsman.
>Unpacking gpsman (from .../gpsman_6.4.3-1_all.deb) ...
>Selecting previously unselected package tcllib.
>Unpacking tcllib (from .../tcllib_1.14-dfsg-3_all.deb) ...
>Selecting previously unselected package gpsmanshp.
>Unpacking gpsmanshp (from .../gpsmanshp_1.2.1-1_armhf.deb) ...
>Selecting previously unselected package libwmf0.2-7:armhf.
>Unpacking libwmf0.2-7:armhf (from .../libwmf0.2-7_0.2.8.4-10.3_armhf.deb)
>...
>Selecting previously unselected package libgraphicsmagick3.
>Unpacking libgraphicsmagick3 (from
>.../libgraphicsmagick3_1.3.16-1.1_armhf.deb) ...
>Selecting previously unselected package proj-bin.
>Unpacking proj-bin (from .../proj-bin_4.7.0-2_armhf.deb) ...
>Processing triggers for man-db ...
>Processing triggers for menu ...
>Processing triggers for libgdk-pixbuf2.0-0:armhf ...
>Setting up libarmadillo3 (1:3.2.3+dfsg-1) ...
>Setting up libdap11:armhf (3.11.1-11) ...
>Setting up libdapclient3:armhf (3.11.1-11) ...
>Setting up libdapserver7:armhf (3.11.1-11) ...
>Setting up libepsilon0 (0.9.1-2) ...
>Setting up libfreexl1:armhf (1.0.0b-1) ...
>Setting up libgeos-3.3.3 (3.3.3-1.1) ...
>Setting up libgeos-c1 (3.3.3-1.1) ...
>Setting up libhdf4-0-alt (4.2r4-13) ...
>Setting up libhdf5-7 (1.8.8-9) ...
>Setting up liburiparser1 (0.7.5-1) ...
>Setting up libkml0 (1.3.0~r863-4.1) ...
>Setting up mysql-common (5.5.31+dfsg-0+wheezy1) ...
>Setting up libmysqlclient18:armhf (5.5.31+dfsg-0+wheezy1) ...
>Setting up libnetcdfc7 (1:4.1.3-6) ...
>Setting up libodbc1:armhf (2.2.14p2-5) ...
>Setting up proj-data (4.7.0-2) ...
>Setting up libproj0 (4.7.0-2) ...
>Setting up libogdi3.2 (3.2.0~beta2-7) ...
>Setting up libpq5 (9.1.9-1) ...
>Setting up libspatialite3 (3.1.0~rc2-1) ...
>Setting up libxerces-c28 (2.8.0+deb1-3) ...
>Setting up libshp1:armhf (1.2.10-7) ...
>Setting up gpsman (6.4.3-1) ...
>Setting up tcllib (1.14-dfsg-3) ...
>Setting up gpsmanshp (1.2.1-1) ...
>/var/lib/dpkg/info/gpsmanshp.postinst: 7:
>/var/lib/dpkg/info/gpsmanshp.postinst: tclsh8.4: not found
>dpkg: error processing gpsmanshp (--configure):
> subprocess installed post-installation script returned error exit status
>127
>Setting up libwmf0.2-7:armhf (0.2.8.4-10.3) ...
>Setting up libgraphicsmagick3 (1.3.16-1.1) ...
>dpkg: dependency problems prevent configuration of xastir:
> xastir depends on gpsmanshp; however:
>  Package gpsmanshp is not configured yet.
>dpkg: error processing xastir (--configure):
> dependency problems - leaving unconfigured
>Setting up proj-bin (4.7.0-2) ...
>Setting up odbcinst1debian2:armhf (2.2.14p2-5) ...
>Setting up libgdal1 (1.9.0-3.1) ...
>Setting up odbcinst (2.2.14p2-5) ...
>Processing triggers for menu ...
>Errors were encountered while processing:
> gpsmanshp
> xastir
>E: Sub-process /usr/bin/dpkg returned an error code (1)
>_______________________________________________
>Xastir mailing list
>Xastir at lists.xastir.org
>http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir





More information about the Xastir mailing list