Installing GTK + on macOS Sierra 10.12.3 - libxml2 issue

I have a very similar problem as described in the following post when trying to download GTK:

installing gtk + on mac osx 10.11.4 El-Capitan

I am following these instructions:

./gtk-osx-build-setup.sh
jhbuild bootstrap
jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-gtk3

      

The first two steps are complete, however the last step is stuck with the following problem:

"configure: error: python module libxml2 is required to run this package"

However, the solution given in the above link does not work as the same issue returns when I continue with the build.

If I try to run:

brew install libxml2

      

I get

Warning: libxml2 is a keg-only and another version is linked to opt.

      

This seems like it should be easy to fix, but I'm not sure what to try next. Please let me know if you have any suggestions!

+3


source to share


1 answer


I never really understood what was causing this error. In the meantime, I switched to a different set of modules and did not encounter this again. My module is available here: https://github.com/ptomato/macos-jhbuild



(By the way, you shouldn't mix homebrew packages with JHbuild, if you want to build app packages using your JHbuild installation, you end up linking to files that won't be bundled.)

0


source







All Articles