我如何在 ubuntu 14.04 上安装 SDO?就像这里描述的:http: //php.net/manual/en/sdo.installation.php 我尝试 pecl install SCA_SDO:
sudo pecl install SCA_SDO
....
194 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
安装了 m4,安装了 php5-dev。我尝试使用源代码在文件夹中制作 phpize,然后使用 ./configure make,但出现错误:
SCA_SDO-1.2.4/sdo.cpp:569:5: note: in expansion of macro 'INIT_CLASS_ENTRY'
INIT_CLASS_ENTRY(ce, "SDO_CPPException", sdo_cppexception_methods);
^
make: *** [sdo.lo] Error 1