ubuntu服务器上pecl的问题

时间:2013-01-16 01:44:21

标签: mongodb pecl

我不能在我的Ubuntu 12服务器上安装pecl。 这里的错误是:

$ sudo pecl install mongo
downloading mongo-1.3.2.tgz ...
Starting to download mongo-1.3.2.tgz (120,931 bytes)
..........................done: 120,931 bytes
49 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:36: error: AC_REQUIRE_AUX_FILE: requires a literal argument
aclocal.m4:124: PHP_CANONICAL_HOST_TARGET is expanded from...
aclocal.m4:1980: PHP_SHLIB_SUFFIX_NAMES is expanded from...
configure.in:36: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
If the command failed with 'phpize: not found' then you need to install php5-dev packageYou can do it by running 'apt-get install php5-dev' as a root userERROR: `phpize' failed

我已经安装了php5-dev,m4和phpize 我也尝试手动安装mongo驱动程序并发生相同的错误。 在configure.in的第36行,我们有:PHP_SHLIB_SUFFIX_NAMES

我的PHP版本:PHP 5.3.10-1ubuntu3.4与Suhosin-Patch(cli)(内置:2012年9月12日18:59:41)

0 个答案:

没有答案