On Wed, Oct 06 2021, Tomi Ollila wrote: > > So, on Fedora 34, without python3-devel installed > > $ python3 -c 'import cffi,setuptools; cffi.FFI().verify()' > __pycache__/_cffi__xd915627fxd88346ae.c:2:10: fatal error: Python.h: No > such file or directory > 2 | #include <Python.h> > | ^~~~~~~~~~ > compilation terminated. > > (as of now python3-devel-3.9.7-1.fc34 provides > /usr/include/python3.9/Python.h) > > (debian systems may work differently -- w/ strace the above command > line did not show any access to Python.h...)
The reason for the above was probably that something was cached; got exactly the same problem when tried in debian:11 (podman) container w/o libpython3-dev (*) -- and after apt-get install libpython3-dev the above cffi.FFI().verify() worked Tomi (*) executed the following on top of docker.io/library/debian:11 and then ./configure in notmuch source dir... export DEBIAN_FRONTEND=noninteractive apt-get update apt-get install -y -q build-essential emacs-nox gdb git man \ dtach libxapian-dev libgmime-3.0-dev libtalloc-dev \ python3-sphinx python3-cffi python3-pytest \ python3-setuptools gpgsm parallel apt-get -y autoremove apt-get -y clean rm -rf /var/lib/apt/lists/ > >> >> cheers, >> >> d > > Tomi _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org