Cheng
Cheng

Reputation: 316

How do i build cassandra-pdo (cassandra pdo driver)?

I have studied the document http://code.google.com/a/apache-extras.org/p/cassandra-pdo/source/browse/README.md. When I build config.m4 I get this error:

./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,'

Why? Should I use another parser to read config.m4?

Upvotes: 2

Views: 1627

Answers (1)

Tyler Hobbs
Tyler Hobbs

Reputation: 6932

These steps work for me on Ubuntu:

  1. apt-get install libboost-all-dev php5-dev libpcre3-dev pkg-config libthrift-dev
  2. phpize
  3. ./configure
  4. make
  5. make install

I'll get the docs updated to include these steps. Hopefully we can put together some binary packages some time soon.

Upvotes: 2

Related Questions