Python problems on OS X

Anders Montonen Anders.Montonen at iki.fi
Wed Nov 18 10:13:56 UTC 2020


Hi,

> On 18 Nov 2020, at 11:32, Andrew Butterfield <Andrew.Butterfield at scss.tcd.ie> 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: https://bugs.python.org/issue3588
GDB uses this script to duplicate the functionality of python-config: https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/python/python-config.py
It was patched upstream (in 2013!) to deal with this: https://hg.python.org/cpython/rev/bab708624dc4/ (current version: https://hg.python.org/cpython/file/2.7/Misc/python-config.in)

Regards,
Anders Montonen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20201118/c8647abd/attachment.html>


More information about the users mailing list