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

/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory #8

Open
ninvfeng opened this issue Oct 27, 2015 · 2 comments

Comments

@ninvfeng
Copy link

vagrant@vagrant-ubuntu-trusty:/www/swoole$ make
/bin/bash /home/vagrant/www/swoole/libtool --mode=compile cc -I. -I/home/vagrant/www/swoole -DPHP_ATOM_INC -I/home/vagrant/www/swoole/include -I/home/vagrant/www/swoole/main -I/home/vagrant/www/swoole -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/home/vagrant/www/swoole/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/vagrant/www/swoole/swoole.c -o swoole.lo
libtool: compile: cc -I. -I/home/vagrant/www/swoole -DPHP_ATOM_INC -I/home/vagrant/www/swoole/include -I/home/vagrant/www/swoole/main -I/home/vagrant/www/swoole -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/home/vagrant/www/swoole/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/vagrant/www/swoole/swoole.c -fPIC -DPIC -o .libs/swoole.o
In file included from /usr/include/php5/ext/spl/spl_iterators.h:27:0,
from /home/vagrant/www/swoole/swoole.c:28:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory
#include "pcre.h"
^
compilation terminated.
make: *** [swoole.lo] Error 1
vagrant@vagrant-ubuntu-trusty:
/www/swoole$

@LinkedDestiny
Copy link
Owner

You need to install pcre extension. Use "sudo apt-get install libpcre3
libpcre3-dev"

2015-10-27 17:24 GMT+08:00 ninvfeng [email protected]:

vagrant@vagrant-ubuntu-trusty:/www/swoole$ make
/bin/bash /home/vagrant/www/swoole/libtool --mode=compile cc -I.
-I/home/vagrant/www/swoole -DPHP_ATOM_INC
-I/home/vagrant/www/swoole/include -I/home/vagrant/www/swoole/main
-I/home/vagrant/www/swoole -I/usr/include/php5 -I/usr/include/php5/main
-I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -I/home/vagrant/www/swoole/include
-DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/vagrant/www/swoole/swoole.c
-o swoole.lo
libtool: compile: cc -I. -I/home/vagrant/www/swoole -DPHP_ATOM_INC
-I/home/vagrant/www/swoole/include -I/home/vagrant/www/swoole/main
-I/home/vagrant/www/swoole -I/usr/include/php5 -I/usr/include/php5/main
-I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -I/home/vagrant/www/swoole/include
-DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/vagrant/www/swoole/swoole.c
-fPIC -DPIC -o .libs/swoole.o
In file included from /usr/include/php5/ext/spl/spl_iterators.h:27:0,
from /home/vagrant/www/swoole/swoole.c:28:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such
file or directory
#include "pcre.h"
^
compilation terminated.
make: *** [swoole.lo] Error 1
vagrant@vagrant-ubuntu-trusty:
/www/swoole$


Reply to this email directly or view it on GitHub
#8.

@ramintahbaz
Copy link

@LinkedDestiny you saved me after a week of devastation. Kudos!

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

3 participants