Open iav opened 3 years ago
And I did sudo apt-get install pkg-config libusb-1.0
already
Same here. If you're like me, I didn't install pkg-config until I got the error you reported. But then after I installed it and re-ran ./configure the error was still there.
Some digging around brought me to this: https://stackoverflow.com/questions/8578181/using-the-pkg-config-macro-pkg-check-modules-failing
The issue seems to be that there is a macro called PKG_CHECK_MODULES which won't be replaced with real code by the bootstrapping steps unless you have pkg-config installed.
Anyway, the solution for me was to re-run ALL the install steps AFTER installing pkg-config. Then the ./configure step succeeded.
trying to build got syntax error in configure: