Project

General

Profile

Actions

Bug #6012

open

Update wiki for macos build

Added by mores 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/22/2023
Due date:
% Done:

0%

Spec Reference:

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

Actions #1

Updated by laforge 11 months ago

  • Assignee set to steve-m

Assigning to steve-m, adding some Cc

Actions #2

Updated by laforge 11 months 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?

Actions #3

Updated by mores 11 months 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.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)