<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 18 Nov 2020, at 12:13, Anders Montonen <<a href="mailto:anders.montonen@iki.fi" class="">anders.montonen@iki.fi</a>> wrote:</div><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><blockquote type="cite" class=""><div class="">On 18 Nov 2020, at 11:32, Andrew Butterfield <<a href="mailto:Andrew.Butterfield@scss.tcd.ie" class="">Andrew.Butterfield@scss.tcd.ie</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div class=""><div class="">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</div><div class="">clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python’</div></div></div></div></blockquote><div class=""><br class=""></div></div>It seems you’re running into this issue: <a href="https://bugs.python.org/issue3588" class="">https://bugs.python.org/issue3588</a><div class="">GDB uses this script to duplicate the functionality of python-config: <a href="https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/python/python-config.py" class="">https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/python/python-config.py</a></div><div class="">It was patched upstream (in 2013!) to deal with this: <a href="https://hg.python.org/cpython/rev/bab708624dc4/" class="">https://hg.python.org/cpython/rev/bab708624dc4/</a> (current version: <a href="https://hg.python.org/cpython/file/2.7/Misc/python-config.in" class="">https://hg.python.org/cpython/file/2.7/Misc/python-config.in</a>)</div></div></div></blockquote><div><br class=""></div></div>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.<div class=""><br class=""></div><div class="">Regards,</div><div class="">Anders Montonen</div></body></html>