On Mon, Dec 21, 2020 at 3:20 PM Axel Braun
Thank you all for the answers - that was really quick :-)
Am Montag, 21. Dezember 2020, 20:54:16 CET schrieb John Paul Adrian Glaubitz:
On 12/21/20 8:44 PM, Neal Gompa wrote:
as subject tells, does anyone know in thich package Python.h is hidden? (Its not python3-devel nor python3-pybind11-devel)
It's in python3-devel, but you need to pull in the Cflags from the python3 pkgconfig file so that the include path is correctly set.
Which would be:
glaubitz@suse-laptop:~> pkg-config --cflags python3 -I/usr/include/python3.8 glaubitz@suse-laptop:~>
Should this not be handled by BuildRequires: pkgconfig(python3)
unfortunately it is not sufficient :-(
The build script invoked in %build phase needs to *use* the pkgconfig data. If it doesn't, then it'll fail. -- 真実はいつも一つ!/ Always, there's only one truth!