Hi,

> On 18 Nov 2020, at 11:32, Andrew Butterfield <andrew.butterfi...@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
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to