boostorg / boostorg/boost

project-config.jam missing path to python interpreter (boost 1.78.0)

Abierto
#601 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
HTML
Estrellas
8.6k
Forks
1.9k
Merge medio
39 min
PR fusionados (30 d)
2

Descripción

project-config.jam generated is missing the path to the interpreter, and therefore b2 will fail to build the python3 libraries.

Simplified example below.

Running:
```
./bootstrap.sh --with-python=/Library/Frameworks/Python.framework/Versions/3.10/bin/python3
```

will generate the line:
```
using python : 3.10 : "/Library/Frameworks/Python.framework/Versions/3.10" ;
```

which will fail when building, because it is invoking "python" instead of "python3" even if it was specified in in the bootstrap command:
```
notice: [python-cfg] Checking interpreter command "/Library/Frameworks/Python.framework/Versions/3.10/bin/python"...
notice: [python-cfg] running command '/Library/Frameworks/Python.framework/Versions/3.10/bin/python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
notice: [python-cfg] ...does not invoke a working interpreter
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.