-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Expected behaviour
When I run this command:
pecl install --configureoptions 'enable-redis-igbinary="no" enable-redis-lzf="no" enable-redis-zstd="no" enable-redis-msgpack="no" enable-redis-lz4="yes" with-liblz4="/opt/homebrew/Cellar/lz4/1.9.4"' redis
I expect that either I'll get a configure error when it can't find the library (configure: error: Please reinstall the liblz4 distribution
), or the package will build and install successfully.
Actual behaviour
The lz4 library is detected successfully, and pecl proceeds to the build step, but then this happens:
...
/private/tmp/pear/temp/redis/redis.c:48:10: fatal error: 'lz4.h' file not found
#include <lz4.h>
^~~~~~~
1 error generated.
make: *** [redis.lo] Error 1
ERROR: `make' failed
I'm seeing this behaviour on
- OS: Macos Sonoma 14.3.1
- Redis: as published in pecl
- PHP: 8.2
- phpredis: as published in pecl
Steps to reproduce, backtrace or example script
I've checked
- There is no similar issue from other users
-
Issue isn't fixed incan't pecl install from developdevelop
branch