matthewwall / weewx-sdr

weewx driver for software-defined radio
GNU General Public License v3.0
114 stars 74 forks source link

RTL-SDR has bad reference to listusb #116

Closed richardh9935 closed 2 years ago

richardh9935 commented 3 years ago

This week, I rebuilt my server and started to install WEEWX with SDR, following your guide.

However, rtl-sdr (through git clone git://git.osmocom.org/rtl-sdr.git) step failed. Here is the discussion that provided the cause and the solution: https://stackoverflow.com/questions/65296289/fatal-error-libusb-libusb-h-no-such-file-or-directory-librtlsdr-install-for-gn/66311388#66311388

The cause looked like libusb had been put in a versioned directory. rtl-sdr had not referred to the version number when it sought libusb.h, which seems very sensible considering that version numbers will change often.

The solution was "... simpler to install pkg-config". – Tsyvarev Dec 14 '20 at 22:48

Could you please consider adding this to your recipe?

matthewwall commented 2 years ago

added to the troubleshooting section of the recipe:

https://github.com/weewx/weewx/wiki/sdr-rpi-recipe