wose / satnogs-monitor

Terminal UI monitor for your SatNOGS ground station.
GNU General Public License v3.0
78 stars 5 forks source link

Remove libgpredict dependency #12

Open wose opened 4 years ago

wose commented 4 years ago

By removing libgpredict and adding a pure rust implementation of SGP4 we also remove all libgpredict dependencies and improve the install experience.

Needs a Rust implementation of SGP4. See rust-sgp4 for a starting point.

cpbridges commented 4 years ago

Running satnogs on a RPi and libgpredict dependancy libglib2.0-dev does not exist on the RPi. Tried with libglib2.0-0 and libglib2.0-data but it doesn't work.

Rust version would be way better. 73s C

wose commented 4 years ago

Hi,

libgpredict compiles fine on rasbian buster and stretch. Here are the glib packes I have installed on buster:

$ dpkg -l |grep libglib
ii  libglib2.0-0:armhf                     2.58.3-2+deb10u2                      armhf        GLib library of C routines
ii  libglib2.0-bin                         2.58.3-2+deb10u2                      armhf        Programs for the GLib library
ii  libglib2.0-data                        2.58.3-2+deb10u2                      all          Common files for GLib library
ii  libglib2.0-dev:armhf                   2.58.3-2+deb10u2                      armhf        Development files for the GLib library
ii  libglib2.0-dev-bin                     2.58.3-2+deb10u2                      armhf        Development utilities for the GLib library

What distribution are you using? What's the exact error message you get when compiling libgpredict? Can you make sure your package list is up to date: apt update.