Compilation zephir_解析器扩展未加载

Compilation zephir_解析器扩展未加载,compilation,zephir,Compilation,Zephir,我在ubuntu 14.04上运行,安装了php5.6。我正在尝试使用Hello world,但当我使用以下工具编译项目时: zephir build 我得到了这个错误: zephir_parser extension not loaded, compiling it Parser statistics: 127 terminals, 99 nonterminals, 459 rules 947 states, 0 parser table entries

我在ubuntu 14.04上运行,安装了php5.6。我正在尝试使用Hello world,但当我使用以下工具编译项目时:

zephir build
我得到了这个错误:

zephir_parser extension not loaded, compiling it
Parser statistics: 127 terminals, 99 nonterminals, 459 rules
                   947 states, 0 parser table entries, 0 conflicts
Parser statistics: 127 terminals, 99 nonterminals, 459 rules
                   947 states, 0 parser table entries, 0 conflicts
make: *** No rule to make target `clean'.  Stop.
Preparing for parser compilation...
sh: 1: phpize: not found
sh: 1: ./configure: not found
Compiling the parser...
make: *** No targets specified and no makefile found.  Stop.


PHP Warning:  copy(modules/zephir_parser.so): failed to open stream: No such file or directory in /root/zephir/Library/Compiler.php on line 282
Zephir\Exception: The zephir parser extension could not be found or compiled!
有什么想法吗

编辑

我重新安装了这些软件包:

php5-json php5-dev libpcre3-dev
我尝试了以下命令行:

./bin/zephir compile
在编译时,我还有一个错误:

Copying new kernel files...
PHP Fatal error:  Call to undefined function Zephir\utf8_decode() in /root/zephir/Library/Compiler.php on line 2202

我通过使用
libpcre3 dev
重新安装php解决了我的问题,并安装了以下内容:

apt-get install php5.6-xml
解决utf8_decode()上的致命错误