Hello and good afternoon!
I did follow these commands from the Raspbian Section of the Install document.
pi@clover-4865:~ $ sudo apt-get updateGet:1
http://packages.ros.org/ros/ubuntu buster InRelease [4671 B]
Get:2
http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3
http://packages.coex.tech buster InRelease [4959 B]
Get:4
http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:5
http://packages.ros.org/ros/ubuntu buster/main armhf Packages [28.6 kB]
Get:6
http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:7
http://packages.coex.tech buster/main all Packages [1912 B]
Get:8
http://packages.coex.tech buster/main armhf Packages [105 kB]
Get:9
http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
Get:10
http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [5 8.7 kB]
Fetched 13.6 MB in 39s (346 kB/s)
Reading package lists... Done
pi@clover-4865:~ $ sudo apt-get dist-upgradeReading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
python-colorzero
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
base-files cmake cmake-data ffmpeg firmware-atheros firmware-brcm80211
firmware-libertas firmware-misc-nonfree firmware-realtek isc-dhcp-client
isc-dhcp-common klibc-utils libavcodec-dev libavcodec58 libavdevice58
libavfilter7 libavformat-dev libavformat58 libavresample-dev libavresample4
libavutil-dev libavutil56 libgcrypt20 libgl1-mesa-dri libglapi-mesa
libglx-mesa0 libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev libgnutls30
libgnutlsxx28 libgssapi-krb5-2 libhogweed4 libk5crypto3 libklibc libkrb5-3
libkrb5support0 liblz4-1 liblz4-dev libmariadb-dev libmariadb-dev-compat
libmariadb3 libnettle6 libpostproc55 libraspberrypi-bin libraspberrypi-dev
libraspberrypi-doc libraspberrypi0 libswresample-dev libswresample3
libswscale-dev libswscale5 libuv1 libwebp6 libwebpdemux2 libwebpmux3
libx11-6 libx11-data libxml2 linux-libc-dev mariadb-common nettle-dev nmap
nmap-common pi-bluetooth python-gpiozero python-spidev python3-gpiozero
python3-rosdep python3-rosdep-modules python3-spidev raspberrypi-bootloader
raspberrypi-kernel raspberrypi-sys-mods rpi-eeprom rpi-update
76 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 187 MB of archives.
After this operation, 8897 kB of additional disk space will be used.
Do you want to continue? [Y/n] n -----> I didn't do this update considering I did have Python3 already
Abort.pi@clover-4865:~ $ rebootFailed to set wall message, ignoring: Interactive authentication required.
Failed to reboot system via logind: Interactive authentication required.
Failed to open initctl fifo: Permission denied
Failed to talk to init daemon.
pi@clover-4865:~ $ sudo reboot
# apt-get install scons libncurses-dev python-dev pps-tools ---> Should I have done libncurses5-dev instead? And should I have attempted to do the rpi-update command?
# apt-get install git-core
# apt-get install build-essential manpages-dev pkg-config
I have to go to a specific directory usually to run cgps otherwise it tells me it can't be found and I have to run it under python3 cgps command. Is this normal?
pi@clover-4865:~ $ cgps
-bash: cgps: command not found
pi@clover-4865:~/gpsd/gpsd-3.22.1~dev/clients $ lscgps gps
gpscat.py.in gpsdctl gpsdecode.c gpsplot gpsrinex.c gpssubframe lcdgps ntpshmmon.o
ubxtool.py.in zerk
cgps.c gps2udp gpscsv gpsdctl.c gpsdecode.o
gpsplot.py.in gpsrinex.o
gpssubframe.py.in lcdgps.c ppscheck xgps
zerk.py.incgps.o gps2udp.c
gpscsv.py.in gpsdctl.o gpspipe gpsprof gpssnmp gpxlogger lcdgps.o ppscheck.c
xgps.py.ingegps gps2udp.o gpsd.php gpsdebuginfo gpspipe.c
gpsprof.py.in gpssnmp.c gpxlogger.c ntpshmmon ppscheck.o xgpsspeed
gegps.py.in gpscat
gpsd.php.in gpsdecode gpspipe.o gpsrinex gpssnmp.o gpxlogger.o ntpshmmon.c ubxtool
xgpsspeed.py.inpi@clover-4865:~/gpsd/gpsd-3.22.1~dev/clients $ cgps-bash: cgps: command not found
pi@clover-4865:~/gpsd/gpsd-3.22.1~dev/clients $ python3 cgps File "cgps", line 1
SyntaxError: Non-UTF-8 code starting with '\xa0' in file cgps on line 2, but no encoding declared; see
http://python.org/dev/peps/pep-0263/ for details
For the build portion of it, I wasn't sure if these were the right commands so I hadn't done this yet. In my case gpsd-X.YY is just gpsd-3.22 correct?
tar -xzf gpsd-X.YY.tar.gz
cd gpsd-X.YY
scons && scons check && scons udev-install
Thank you for your time and consideration.
Sincerely,
Leon