GNOME Bugzilla – Bug 738737
Cerbero build of pygobject fails on Mac OS X without 'python2'
Last modified: 2018-05-04 13:26:06 UTC
Mac OS X installs 'python', 'python2.5', 'python2.6', 'python2.7' etc but no 'python2'. This breaks the build of pygobject, which specifically configures for python2: configure: error: Python interpreter python2 does not exist Running command './configure --prefix /Users/brion/cerbero/dist/darwin_x86_64 --libdir /Users/brion/cerbero/dist/darwin_x86_64/lib --with-python=python2 --disable-maintainer-mode --disable-silent-rules --enable-introspection --build=x86_64-apple-darwinx' Workaround: make a symlink manually: $ cd /usr/bin && sudo ln -s python2.7 python2
We should probably make sure that on mac we end up with "--with-python=python2.7" even if it is wrong that they not provide a symlink to python2: http://legacy.python.org/dev/peps/pep-0394/
pygobject is not in cerbero anymore