Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
timepi:gpsd [2021/02/25 12:58]
john removed
— (current)
Line 1: Line 1:
-====== Build GPSD ====== 
-https://github.com/ntpsec/gpsd 
  
-Lots of extras in here, but they don't cause issues.  
- 
-===== Dependencies ===== 
- 
-<code> 
-sudo apt install build-essential manpages-dev pkg-config scons libncurses-dev \ 
-python-dev gnuplot pps-tools git python-gi-dev python-cairo-dev python-gobject-2-dev \ 
-libgtk-3-dev python3-serial asciidoctor python3-matplotlib lighttpd php7.2-cgi php7.2-gd 
-</code> 
- 
-<code> 
-git clone https://github.com/ntpsec/gpsd 
-</code> 
- 
-===== Build ===== 
- 
-Match target_python to python3 -V 
- 
-Run scons -h to check options, enable and disable as needed (see below). 
- 
-<code> 
-scons target_python=python3.6 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 
-</code> 
- 
-===== Install ===== 
-Install 
-<code>sudo scons install</code> 
- 
-sudo nano /etc/default/gpsd 
-<code> 
-GPSD_OPTIONS="-n -b -s 9600" 
-DEVICES="/dev/ttyAMA0" 
-</code> 
- 
-<code> 
-sudo cp gpsd-3.22.1~dev/systemd/gpsd.{service,socket} /lib/systemd/system/ 
-</code> 
-===== Web ===== 
-<code> 
-sudo lighty-enable-mod fastcgi  
-sudo lighty-enable-mod fastcgi-php 
-</code> 
- 
-<code>sudo cp gpsd.php /var/www/html/index.php 
-sudo php /var/www/html/index.php</code> 
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0