[MacPorts] #64969: py310-lz4: fatal error: 'lz4.h' file not found
MacPorts
noreply at macports.org
Sat Apr 16 02:11:50 UTC 2022
#64969: py310-lz4: fatal error: 'lz4.h' file not found
-------------------------+------------------------
Reporter: ryandesign | Owner: reneeotten
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: py-lz4 |
-------------------------+------------------------
Changes (by reneeotten):
* status: closed => reopened
* resolution: fixed =>
Comment:
Hhm... it still fails on 10.6 with the same error. Of course there is no
strict requirement to support these old systems, but perhaps this can be
fixed. The build uses `pkgconfig` to get the required include directories
for `liblz4` and such, and will not use `-O3` if `liblz4` is found. I
verified that this all works correctly on 10.15 when I updated the port,
but it appears not to work properly on 10.6.
I don't have a system with such an old OS, but if someone wants to try and
help out please try to install the port `sudo port install py310-lz4`,
which presumably will fail. Then please post the output of:
{{{
python3.10 -c "import pkgconfig; print(pkgconfig.exists('liblz4')) ;
print(pkgconfig.libs('liblz4')) ; print(pkgconfig.cflags('liblz4'))"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64969#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list