Mac pkgconfig

Michael Warner michael.warner.ut at gmail.com
Mon Jul 7 12:16:42 UTC 2025


I’m trying to build master on MacOS 15.5. If I have pkgconf in my $PATH, I get this error from autogen.sh:

checking for bogus pkg-config... configure: error: yes, from unknown origin. This *will* break the build. Please modify your PATH variable so that /opt/homebrew/bin/pkgconf is no longer found by configure scripts.
Error running configure at ./autogen.sh line 333.


However, if I remove it from my PATH as it suggests, then after the autogen completes it says this:

* WARNING : please add PKG_CONFIG=/path/to/pkgconf to autogen.input or put it in PATH, pkgconf is required to build harfbuzz

If I keep pkgconf out of my path and set PKG_CONFIG in autogen.input then the next time I run autogen.sh I get the first error again. What am I supposed to do here? Also, why does it think my pkg-config is bogus?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250707/eec2f919/attachment.htm>


More information about the LibreOffice mailing list