php-ext-lz4 icon indicating copy to clipboard operation
php-ext-lz4 copied to clipboard

can't make ,when i use Centos7.3

Open youngqj opened this issue 6 years ago • 1 comments

make: *** No rule to make target /opt/php-ext-lz4-0.3.5/lz4/lib/lz4.c', needed by lz4/lib/lz4.lo'. Stop.

youngqj avatar Feb 28 '19 06:02 youngqj

Embedded library

% docker run -it --rm centos bash
$ yum install -y git gcc make php-devel
$ git clone --recursive --depth=1 https://github.com/kjdev/php-ext-lz4
$ cd php-ext-lz4.git
$ phpize
$ ./configure
$ make
$ make test
$ ls .libs/*.so
./libs/lz4.so

System library

% docker run -it --rm centos bash
$ yum install -y git gcc make php-devel lz4-devel
$ git clone --depth=1 https://github.com/kjdev/php-ext-lz4
$ cd php-ext-lz4.git
$ phpize
$ ./configure --with-lz4-includedir=/usr
$ make
$ ls .libs/*.so
./libs/lz4.so

kjdev avatar Feb 28 '19 22:02 kjdev