PECL安装pdo_sqlsrv - 找不到config.m4

时间:2015-04-30 06:58:28

标签: php ubuntu-10.04 pecl sqlsrv

我尝试在 Ubuntu 10.04.4 LTS 上安装 pdo_sqlsrv ,PHP版本 PHP 5.4.39-1 + deb.sury.org~lucid + 2

我在跑步:

pecl install pdo_sqlsrv 

收到此错误消息:

downloading pdo_sqlsrv-3.0.1.tgz ...
Starting to download pdo_sqlsrv-3.0.1.tgz (123,911 bytes)
.....................done: 123,911 bytes
17 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the 
top level source directory    of the module

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 包。我似乎下载的pdo_sqlsrv软件包不包含任何 config.m4 文件或缺少

pdo_sqlsrv-3.0.1包文件列表:

config.w32
core_conn.cpp
core_init.cpp
core_results.cpp
core_sqlsrv.h
core_stmt.cpp
core_stream.cpp
CREDITS
pdo_dbh.cpp
pdo_init.cpp
pdo_parser.cpp
pdo_sqlsrv.h
pdo_stmt.cpp
pdo_util.cpp
README.TXT
sqlncli.h
template.rc
version.h

0 个答案:

没有答案
相关问题