如何构建cassandra pdo(cassandra pdo驱动程序)?
我研究过这份文件。在生成config.m4时,出现以下错误:如何构建cassandra pdo(cassandra pdo驱动程序)?,pdo,cassandra,Pdo,Cassandra,我研究过这份文件。在生成config.m4时,出现以下错误: ./config.m4: line 1: syntax error near unexpected token `pdo-cassandra,' ./config.m4: line 1: `PHP_ARG_WITH(pdo-cassandra, whether to enable PDO cassandra support,' 为什么??我应该使用另一个解析器来读取config.m4吗 这些步骤对我在Ubuntu上很有用:
./config.m4: line 1: syntax error near unexpected token `pdo-cassandra,'
./config.m4: line 1: `PHP_ARG_WITH(pdo-cassandra, whether to enable PDO cassandra support,'
为什么??我应该使用另一个解析器来读取config.m4吗 这些步骤对我在Ubuntu上很有用:
apt get install libboost all dev php5 dev libpcre3 dev pkg config libthrift dev
phpize
/configure
make
make-install
我将更新文档以包含这些步骤。希望我们能在不久的将来完成一些二进制软件包。谢谢泰勒·霍布斯。正如PDO文档所说,您的方法是正确的。我使用CentOS,但在生成时会出现一些错误/phpcassa-0.8.a.2/cassandra pdo/cassandra_driver.cpp:691:错误:从“const zend_function_entry*”到“const zend_function_entry*”的转换无效@Cheng I在5.2上有类似问题。我发布了适用于我的补丁: