build_gpsd
This is an old revision of the document!
Table of Contents
Build GPSD
https://github.com/ntpsec/gpsd
Lots of extras in here, but they don't cause issues.
Dependencies
scons aivdm=no ashtech=no bluez=no earthmate=no evermore=no fury=no fv18=no \ garmin=no garmintxt=no geostar=no gpsclock=no greis=no isync=no itrax=no \ magic_hat=no navcom=no nmea2000=no oceanserver=no oncore=no oscillator=no \ rtcm104v2=no rtcm104v3=no sirf=no skytraq=no superstar2=no tnt=no tripmate=no \ tsip=no usb=no xgps=no -j 4
git clone https://gitlab.com/gpsd/gpsd.git
Build
To build, run:
scons
or?
scons pps=yes bluez=no tsip=no tripmate=no tnt=no \ superstar2=no skytraq=no sirf=no oncore=no navcom=no mtk3301=no itrax=no \ geostar=no fv18=no fury=no evermore=no earthmate=no ashtech=no aivdm=no \ garmin=no garmintxt=no isync=no magic_hat=no nmea2000=no oceanserver=no \ oscillator=no qt=no rtcm104v2=no rtcm104v3=no usb=no xgps=no
(You can run scons -h instead to look at options to specifically enable or disable if you don't want a stock install.)
Install
Install
sudo scons install
sudo nano /etc/default/gpsd
GPSD_OPTIONS="-n -s 9600" DEVICES="/dev/ttyAMA0"
sudo cp gpsd-*/systemd/gpsd.{service,socket} /etc/systemd/system/
Web
sudo lighty-enable-mod fastcgi sudo lighty-enable-mod fastcgi-php
sudo cp gpsd.php /var/www/html/index.php sudo php /var/www/html/index.php
build_gpsd.1673230812.txt.gz ยท Last modified: 2024/11/14 02:30 (external edit)