After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738737 - Cerbero build of pygobject fails on Mac OS X without 'python2'
Cerbero build of pygobject fails on Mac OS X without 'python2'
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Mac OS
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 738622
 
 
Reported: 2014-10-18 04:00 UTC by Brion Vibber
Modified: 2018-05-04 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brion Vibber 2014-10-18 04:00:37 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
Comment 1 Thibault Saunier 2014-10-19 09:08:26 UTC
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/
Comment 2 Sebastian Dröge (slomo) 2018-05-04 13:26:06 UTC
pygobject is not in cerbero anymore