On Sat, Jul 17, 2021 at 7:26 AM Gary E. Miller <
gem@rellim.com> wrote:
Yo Sanjeev!
On Sat, 17 Jul 2021 00:23:48 +0800
Sanjeev Gupta <ghane0@gmail.com> wrote:
> Checking pkg-config for libusb-1.0... (cached) yes
Notice that you do, in fact, have libusb-1.0 installed! scons deetecetd
it fine.
[...]
> directory Package libusb-1.0 was not found in the pkg-config search
> path. Perhaps you should add the directory containing `libusb-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libusb-1.0' found
> OSError: 'pkg-config --cflags --libs libusb-1.0' exited 1:
> File "/home/sanjeev/SRC/gpsd/SConstruct", line 63:
> SConscript('SConscript',
Looks like you libusb package s broken. It is installed, but not installed.
Unless, maybe you removed the package for tests, and forgot the run
"scons -c" to get a fresh configuration?
Apologies for the delay in getting back.
Gary, you are right, I did have libusb installed. scons was looking for libusb-dev.
Installed that, scons -c, all good. So far.