Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
timepi:gpsd [2021/02/25 12:58] john removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Build GPSD ====== | ||
- | https:// | ||
- | Lots of extras in here, but they don't cause issues. | ||
- | |||
- | ===== Dependencies ===== | ||
- | |||
- | < | ||
- | 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 | ||
- | </ | ||
- | |||
- | < | ||
- | git clone https:// | ||
- | </ | ||
- | |||
- | ===== Build ===== | ||
- | |||
- | Match target_python to python3 -V | ||
- | |||
- | Run scons -h to check options, enable and disable as needed (see below). | ||
- | |||
- | < | ||
- | 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 | ||
- | </ | ||
- | |||
- | ===== Install ===== | ||
- | Install | ||
- | < | ||
- | |||
- | sudo nano / | ||
- | < | ||
- | GPSD_OPTIONS=" | ||
- | DEVICES="/ | ||
- | </ | ||
- | |||
- | < | ||
- | sudo cp gpsd-3.22.1~dev/ | ||
- | </ | ||
- | ===== Web ===== | ||
- | < | ||
- | sudo lighty-enable-mod fastcgi | ||
- | sudo lighty-enable-mod fastcgi-php | ||
- | </ | ||
- | |||
- | < | ||
- | sudo php / |