build_gpsd
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
build_gpsd [2022/10/18 18:58] – created - external edit 127.0.0.1 | build_gpsd [2024/11/14 02:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Dependencies ===== | ===== Dependencies ===== | ||
+ | For debian 11.x based distros: | ||
< | < | ||
sudo apt install build-essential manpages-dev pkg-config scons libncurses-dev \ | sudo apt install build-essential manpages-dev pkg-config scons libncurses-dev \ | ||
- | python-dev gnuplot pps-tools git python-gi-dev | + | python-dev-is-python3 |
- | libgtk-3-dev python3-serial asciidoctor python3-matplotlib | + | python3-blockdev |
+ | </ | ||
+ | |||
+ | For RHEL/ | ||
+ | < | ||
+ | sudo dnf groupinstall " | ||
+ | sudo dnf --enablerepo=powertools install python3-scons asciidoctor ncurses-devel | ||
</ | </ | ||
Line 17: | Line 24: | ||
===== Build ===== | ===== Build ===== | ||
+ | To build a slimmed-down version of gpsd for ublox GNSS, run: | ||
- | To build, run: | + | < |
+ | 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 | ||
+ | </ | ||
+ | |||
+ | If you want to build all of gpsd, run: | ||
< | < | ||
- | or? | + | (on RHEL-based systems, run '' |
+ | ===== Install ===== | ||
+ | |||
+ | Install | ||
< | < | ||
- | scons pps=yes bluez=no tsip=no tripmate=no tnt=no \ | + | sudo scons install |
- | 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.) | + | sudo nano /etc/ |
- | ===== Install ===== | + | |
- | Install | + | |
- | < | + | |
- | sudo nano / | ||
< | < | ||
GPSD_OPTIONS=" | GPSD_OPTIONS=" | ||
DEVICES="/ | DEVICES="/ | ||
+ | |||
</ | </ | ||
< | < | ||
sudo cp gpsd-*/ | sudo cp gpsd-*/ | ||
+ | |||
</ | </ | ||
+ | |||
+ | |||
===== Web ===== | ===== Web ===== | ||
< | < |
build_gpsd.1666119538.txt.gz · Last modified: 2024/11/14 02:30 (external edit)