[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rétroportage de meson



Bonsoir Sébastien,

Sébastien NOBILI, on 2022-12-28:
> fatal error: Python.h: No such file or directory
>    19 | #include <Python.h>
>       |          ^~~~~~~~~~
> compilation terminated.
> ninja: build stopped: subcommand failed.
> ```
> 
> Pourtant :
> 
> ```
> % find /usr/include -name Python.h
> /usr/include/python3.9d/Python.h
> /usr/include/python3.9/Python.h
> /usr/include/python2.7_d/Python.h
> ```
> 
> Quelqu'un a-t-il un environnement similaire au mien et peut-il
> tester ?

Je n'ai pas testé, mais…

> Quelqu'un a-t-il une piste me permettant de passer ce blocage ?

… naïvement, j'ajouterais /usr/include/python3.9 à la variable
d'environnement C_INCLUDE_PATH pour voir si j'arrive à passer à
l'erreur suivante (voir à compiler les paquets binaires meson).

En espérant que ça aide,
Bonne soirée,  :)
-- 
Étienne Mollier <emollier@emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/1, please excuse my verbosity.

Attachment: signature.asc
Description: PGP signature


Reply to: