HOWTO: scons gpsd build incorrect and ntpshmmon gives no data
ossfm at yahoo.com
Wed Aug 8 03:15:54 UTC 2018
I found another issue and then hit a hard stop.
In the HOWTO section "Live-test the GPS", the reader is instructed to build gpsd using:
$scons timeservice=yes magic_hat=yes nmea0183=yes fixed_port_speed=9600 fixed_stop_bits=1
When running gpsmon /dev/gpsd0, it is expected that there are scrolling lines at the bottom showing raw data. I didn't get that. Cross checking with the clockmaker script showed that 2 options are missing from the HOWTO text: ublox=yes mtk3301=yes
I did a scons --clean and rebuilt adding the 2 options and voila, scrolling raw data at the bottom.
Paul, can you submit a fix for that too?
Here is where I hit the hard stop. Upon running ntpshmmon, there is no data available. Up until this point, I would say that the build was going well. Everything met expectation (after adding the 2 scons build options). The only output I get is the ntpshmmon version and the line showing the column headers but no scrolling data.
I am performing all steps by hand and checking against the clockmaker script. The script installs some s/w packages that the reader has not been instructed to do at this point in the HOWTO text. Namely install bison, libcap-dev, libssl-dev, libsodium-dev. I don't know that this is the cause of the issue.
The script also performs dpkg-reconfigure on locales and tzdata. I ran those and as expected there is no change.
I also did a reboot and there is no change. I haven't checked any logs to see if errors are reported. It's a little late to get into that; probably tomorrow. If you have some suggestions, I'd like to hear them.
Oh yeah, one question: debian stretch offers the gspd package. We could just perform apt install gpsd. Why do we build from source?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel