¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Installed current release of BAP have GPS problem


 

I just installed the most recent BAP on a freshly installed pi.? Got no error messages.? Noticed no GPS on Conky.? Checked xgps and got following error:

pi@david:~ $ xgps
xgps: host localhost port 2947
/usr/bin/xgps: WARNING gpsd version 3.17 different than expected 3.23.1
/usr/bin/xgps: WARNING API version 3.12 different than expected 3.14
TypeError: Couldn't find foreign struct converter for 'cairo.Context'

Can anyone help me solve this problem?


 

I found the gpsd ver 3.23.1 here:?



I unpacked it, but I don't know how to install it.? Please help.

I don't know what to do about updating the xgps API from 3.12 to 3.14.? Please help.


 

There was an API change in the latest gpsd which has caused as well. We are waiting for the developers of other projects to update with the fix. I don't think it will help but if you want to install gpsd manually, these steps should work:

sudo ldconfig
cd $HOME/Downloads
wget http://download.savannah.gnu.org/releases/gpsd/gpsd-3.23.1.tar.gz
tar -xzf gpsd-3.23.1.tar.gz
rm gpsd-3.23.1.tar.gz
cd gpsd-3.23.1/
scons prefix=/usr --config=force
sudo scons udev-install
sudo ldconfig
sudo apt-get -y install scons libncurses5-dev python-dev pps-tools chrony

On my Pi, xgps will load but will not display the skyview. You can also use cgps which gives you the same data minus the pretty interface.

--
73, de KM4ACK
|
|


 

Got down to this line in your install instructions

sudo scons udev-instal

But it stopped with this:
WARNING: gpsplot is missing required runtime module matplotlib
WARNING: Python2.7 too old (need 3.6): gps/aiogps.py will not be installed
Ensure your PYTHONPATH includes /usr/local/lib/python2.7/dist-packages/

Python 3.6 is currently installed.? I can't find matplotlib to install.? Can you help me furher?


 

run this command:
gpsd -V
and see if it says you have 3.23.1 installed.

Anytime you need to find a library/package, you can use the apt-cache search tool:
apt-cache search <package-name>
apt-cache search matplotlib

--
73, de KM4ACK
|
|