aparkhomenko / php-cassandra

PHP extension for original DataStax C/C++ Driver for Apache Cassandra
GNU General Public License v2.0
39 stars 6 forks source link

it no longer builds #14

Open boussou opened 7 years ago

boussou commented 7 years ago

Hi, you should mention this project is dead (if it is the case)

the cpp driver can't be compiled, as "--branch deprecated" doesn't exists.

Too bad, I needed a way to access my cassandra cluster from PHP 5.3 ;-)

boussou commented 7 years ago

addition: I tried with 1.0 version

I passed the .configure stage with ncbi/cassandra-cpp-driver https://github.com/ncbi/cassandra-cpp-driver but make fails.

That for the record.

aparkhomenko commented 7 years ago

Hi @boussou

If you steel need you can find deprecated branch in my forked repo: https://github.com/aparkhomenko/cpp-driver/tree/deprecated

jfoliveira commented 6 years ago

@aparkhomenko tried using your fork:

git clone https://github.com/aparkhomenko/cpp-driver/ --branch deprecated --single-branch cpp-driver
cd cpp-driver
cmake . && make && make install

But the following error is triggered:

-- PROJECT version: 2.9.0
-- Could NOT find libuv, try to set the path to the libuv root folder in the system variable LIBUV_ROOT_DIR (missing: LIBUV_LIBRARY LIBUV_INCLUDE_DIR) 
CMake Error at cmake/modules/CppDriver.cmake:39 (file):
  file STRINGS file "/root/cpp-driver/LIBUV_INCLUDE_DIR-NOTFOUND/uv.h" cannot
  be read.
...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Configuring incomplete, errors occurred!

What are the steps to find/set LIBUV_INCLUDE_DIR?