Bug #6012
openUpdate wiki for macos build
0%
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
Updated by laforge about 1 month ago
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?
Updated by mores about 1 month ago
There are 2 different ways ( probably more - these are 2 popular ways ) to install packages on macos - https://www.macports.org/ https://brew.sh/
See also: https://www.slant.co/versus/1588/1674/~macports_vs_homebrew
End users will usually pick one or the other to install open source libs.....
I picked homebrew.