Summary: | net-print/hplip-3.19.11 will fail to build against python 3.8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesco Riosa <vivo75> |
Component: | Current packages | Assignee: | Daniel Pielmeier <billie> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, printing, vivo75 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 701178 | ||
Attachments: | config.log |
Description
Francesco Riosa
2019-11-25 20:28:22 UTC
Created attachment 597532 [details]
config.log
[I had the same problem on Arch Linux](https://aur.archlinux.org/packages/hplip-3.18/#comment-724715), and a solution was to add the output of `python-config --includes` to the `CFLAGS` before invoking `./configure`, e.g. to add CFLAGS+=" $(python-config --includes)" export CFLAGS to the script which does the compilation. `python-config --includes` returns, on my machine, `-I/usr/include/python3.8 -I/usr/include/python3.8`, and more special versions of it are `python3-config --includes` and `python3.8-config --includes`. [...] > checking for path to Python.h... "using /usr/include/python3.8 .... > python3.8/Python.h" > checking python3.8/Python.h usability... no > checking python3.8/Python.h presence... no > checking for python3.8/Python.h... no > checking python3.8mu/Python.h usability... no > checking python3.8mu/Python.h presence... no > checking for python3.8mu/Python.h... no > checking python3.8m/Python.h usability... no > checking python3.8m/Python.h presence... no > checking for python3.8m/Python.h... no > configure: error: cannot find python-devel support > [...] [I had the same problem on Arch Linux](https://aur.archlinux.org/packages/hplip-3.18/#comment-724715), and a solution was to add the output of `python-config --includes` to the `CFLAGS` before invoking `./configure`, e.g. to add CFLAGS+=" $(python-config --includes)" export CFLAGS to the script which does the compilation. `python-config --includes` returns, on my machine, `-I/usr/include/python3.8 -I/usr/include/python3.8`, and more special versions of it are `python3-config --includes` and `python3.8-config --includes`. Should be fixed in Git. Please reopen if there are still issues. |