Bug #6012
open
Update wiki for macos build
Added by mores about 1 year ago.
Updated about 1 year ago.
Description
If you follow instructions for "Building with autotools:" you will get:
./configure: line 12636: syntax error near unexpected token `LIBUSB,'
./configure: line 12636: `PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0)'
on macos.
Please update wiki to include:
autoreconf -i -I/opt/homebrew/share/aclocal
Assigning to steve-m, adding some Cc
mores wrote:
If you follow instructions for "Building with autotools:" you will get:
./configure: line 12636: syntax error near unexpected token `LIBUSB,'
./configure: line 12636: `PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0)'
on macos.
Disclaimer: I don't know anything about macos... But I'm using and developing with autotools for 25+ years. The error message simply states that somehow pkg-config doesn't appear to be installed in a standard location on your operating system, and hence the PKG_CHECK_CONFIG macro is not available.
Please update wiki to include:
autoreconf -i -I/opt/homebrew/share/aclocal
So the big questions is whether or not this is some specific requirement on how you set up your system, or if this is something all macos users would need to add? I'd be surprised in the latter case, as normally the pkg-config macro for autoconf sould be installed in the default location?
Also available in: Atom
PDF