Python problems on OS X

Anders Montonen Anders.Montonen at
Wed Nov 18 10:28:55 UTC 2020


> On 18 Nov 2020, at 12:13, Anders Montonen <anders.montonen at> wrote:
>> On 18 Nov 2020, at 11:32, Andrew Butterfield <Andrew.Butterfield at <mailto:Andrew.Butterfield at>> wrote:
>> configure:10788: /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Users/butrfeld/REPOS/esa-qual/modules/rsb/rtems/build/tmp/sb-501/6/rtems-sparc/Users/butrfeld/REPOS/esa-qual/modules/rtems/6/include -o conftest -g -O2 -I/Users/butrfeld/REPOS/esa-qual/modules/rsb/rtems/build/tmp/sb-501/6/rtems-sparc/Users/butrfeld/REPOS/esa-qual/modules/rtems/6/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7  -Wl,-no_pie -L/Users/butrfeld/REPOS/esa-qual/modules/rsb/rtems/build/tmp/sb-501/6/rtems-sparc/Users/butrfeld/REPOS/esa-qual/modules/rtems/6/lib conftest.c -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -ldl -framework CoreFoundation -u _PyMac_Error Python.framework/Versions/2.7/Python -lncurses -lm  >&5
>> clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python’
> It seems you’re running into this issue: <>
> GDB uses this script to duplicate the functionality of python-config:;a=blob;f=gdb/python/ <;a=blob;f=gdb/python/>
> It was patched upstream (in 2013!) to deal with this: <> (current version: <>)

I should add that until a proper fix is available, the easiest workaround is probably to install a third-party distribution as your default Python. At least the Python 2.7 framework from MacPorts no longer has this bug.

Anders Montonen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list