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?
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?