<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">I’m trying to build master on MacOS 15.5. If I have pkgconf in my $PATH, I get this error from autogen.sh:</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><font face="Courier New"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">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.</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Error running configure at ./autogen.sh line 333.</span></font><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">However, if I remove it from my PATH as it suggests, then after the autogen completes it says this:</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><font face="Courier New"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">* WARNING : please add PKG_CONFIG=/path/to/pkgconf to autogen.input or put it in PATH, pkgconf is required to build harfbuzz</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"></font><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">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?</span></body></html>