Open ninvfeng opened 8 years ago
You need to install pcre extension. Use "sudo apt-get install libpcre3 libpcre3-dev"
2015-10-27 17:24 GMT+08:00 ninvfeng notifications@github.com:
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 https://github.com/LinkedDestiny/swoole-doc/issues/8.
@LinkedDestiny you saved me after a week of devastation. Kudos!
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$