Open yuanjiong199 opened 9 years ago
Try this, specify path to thrift source cd YACassandraPDO phpize ./configure --with-thrift-dir=/usr/src/thrift-0.9.2
Still unsuccessful installation
在 2015年1月21日,下午5:54,masterdead notifications@github.com 写道:
Try this, specify path to thrift source cd YACassandraPDO phpize ./configure --with-thrift-dir=/usr/src/thrift-0.9.2
— Reply to this email directly or view it on GitHub.
Hi @yuanjiong199,
When you install thrift, you can try disable erlang with "--without-erlang", it worked for me:
./configure --prefix=/usr/local/thrift --with-php --with-lua=no --with-java=no --without-erlang
By the way, I just finished installing it successfully, really great job YACassandraPDO team! I'll keep my eyes on it, I'm working at Orange also ;)
still same fail
在 2015年1月22日,下午6:15,Samuel Chiriluta notifications@github.com 写道:
Hi @yuanjiong199,
When you install thrift, you can try disable erlang with "--without-erlang", it worked for me:
./configure --prefix=/usr/local/thrift --with-php --with-lua=no --with-java=no --without-erlang
By the way, I just finished installing it successfully, really great job YACassandraPDO team! I'll keep my eyes on it, I'm working at Orange also ;)
— Reply to this email directly or view it on GitHub.
Hi, old bug, but for the record:
That was because of the command pkg-config thrift --modversion (I debugged the configure script). (I am working on Debian 7.8)
pkg-config looks for a file named thrift.pc but the file now (at least with thift 0.9.3) uses a different name.
I solved it with :
ln -s /usr/local/thrift/lib/pkgconfig/thrift_c_glib.pc /usr/local/thrift/lib/pkgconfig/thrift.pc
if you try the above command it shall return a version number.
then configure works without the argument '--with-thrift-dir'
(my command line for thrift was:./configure --prefix=/usr/local/thrift --with-php --with-lua=no --with-java=no
)
Compilation of YACassandraPDO work well until thrift 0.9.1 Compilation of thrift 0.9.1 work well until libssl-dev < 1.1
OS: CentOS 6.5 64bit Cassandra: 2.1.2 tarball install at /usr/loca/cassandra-2.1.2 Boost:boost-devel-1.41.0-18.el6.x86_64 My install steps: