I wanted to give dia a go and tried to install from Darwinports with sudo port install dia
. I had a small problem during the install: after a couple of dependencies had been compiled, it aborted with this message:
---> Installing glib2 2.8.4_0
---> Activating glib2 2.8.4_0
---> Cleaning glib2
---> Configuring atk
Error: Target com.apple.configure returned: configure failure:
[... a couple of lines omitted ...]
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.6.3, but GLIB (2.8.4)
*** was found! [... rest omitted ...]
I couldn’t find anything about this specific message. Because glib
was just installed before pkg-config
failed to find it, I tried installing the Darwinports pkg-config and then restarted the installation… and it worked this time!