Date
1 - 4 of 4
Direwolf Update Script Errors
Im running the direwolf update script
sudo ./dw_update.sh and get the following errors (snip of the last several lines of output): ...
inflating: direwolf-dev/test/scripts/check-modem9600
inflating: direwolf-dev/tnc-test-cd-results.png
finishing deferred symbolic links:
direwolf-dev/debian/changelog -> ../CHANGES.md
Building direwolf in directory /usr/local/src/direwolf-dev
As of Jan 6 (May 2) build will fail with "
/usr/local/src/direwolf-dev/src/dwgpsd.c:65:2: error: #error libgps API version might be incompatible.
See direwolf github issues #241
mkdir: cannot create directory ‘build’: File exists
CMake Error: The source directory "/usr/local/src" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
direwolf version was: version is now: Dire Wolf DEVELOPMENT version 1.6 E (May 11 2020)
|
|
Read direwolf issue #241. Until John wb2osz fixes direwolf to be
toggle quoted messageShow quoted text
compatible with gpsd version 3.20 this problem will persist. https://github.com/wb2osz/direwolf/issues/241 If you are running direwolf DEVELOPMENT version 1.6 E that is the current version supplied on the latest sd card image (NWDR16.img) file. If you want your build to succeed then change the upper API_MAJOR_VERSION number comparison from an 8 to a 9 in the following line in dwgpsd.c and rebuild. Change this line: #if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 8 to this: #if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 9 /Basil n7nix Troy - K4JDA <troy.davis@hotmail.com> writes:
Im running the direwolf update script
|
|
Troy,
toggle quoted messageShow quoted text
Thanks for sending your console output. After re-reading your post I found a couple of problems with the current direwolf updater script and fixed them with this commit. https://github.com/nwdigitalradio/n7nix/commit/8a5f1db91f7e22d9b723fbc68c344116d19cbc9b#diff-9dad93678321e85889f7ddfb8f1bafc2 This version of dw_update.sh will automatically edit dwgpsd.c so that direwolf builds without error. Please update your repository scripts and retry updating direwolf. cd cd n7nix git pull cd direwolf sudo su ./dw_update.sh /Basil n7nix Troy - K4JDA <troy.davis@hotmail.com> writes:
Im running the direwolf update script
|
|
Basil, thanks!! Works great!!
|
|