24:10: fatal error: 'Python.h' file not found (how to prepend FLAVORDIR?)
Chris
bsd-lists at bsdforge.com
Wed Jan 6 22:30:08 UTC 2021
OK
I'm attempting to upgrade a port' source to
Python3. One of the source files has the following:
#include <Python.h>
which is reasonable enough. except it returns the following:
fatal error: 'Python.h' file not found
The jail(8) system I'm testing this on has 3.7 which of course
provides: include/python3.7m/
changing the include to:
#include <python3.7m/Python.h>
solves this. But this is not a tenable solution. Does the ports
framework provide for this? I think FLAVOR only returns py(flavor.number)
not python(flavor.number)
Thanks for any insight.
--Chris
More information about the freebsd-python
mailing list