Building from source without homebrew or any other package manager.
Download the latest version of the [https://pkg-config.freedesktop.org/releases/?C=M;O=A](pkg-config source).
LDFLAGS="-framework CoreFoundation -framework Carbon" ./configure --with-internal-glib
make
sudo make install
@m-bob try running the three things on the same line:
CFLAGS="-Wno-int-conversion" CXXFLAGS="-Wno-int-conversion" ./configure --with-internal-glib