Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't make ,when i use Centos7.3 #24

Open
youngqj opened this issue Feb 28, 2019 · 1 comment
Open

can't make ,when i use Centos7.3 #24

youngqj opened this issue Feb 28, 2019 · 1 comment

Comments

@youngqj
Copy link

youngqj commented Feb 28, 2019

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

@kjdev
Copy link
Owner

kjdev commented Feb 28, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants