Orange-OpenSource / YACassandraPDO

Cassandra PDO Driver fork
Apache License 2.0
85 stars 32 forks source link

README.md #77

Open chisleu opened 9 years ago

chisleu commented 9 years ago

s/phpise/phpize/

I'm trying to install but when trying to install thrift on CentOS, it blows up on TBinaryProtocol.tcc.

The version that ships with CentOS 6.5 is pretty behind.

sandro-lex commented 9 years ago

thanks for the typo. have you tried to isntall thrift from source?

chisleu commented 9 years ago

Yes, It blew up when I tried to compile it. I will give it another shot tomorrow. There are times that I don't love the stability of CentOS. haha

chisleu commented 9 years ago

Yep. I started over with a fresh Vagrant development instance today and followed the instructions here: https://thrift.apache.org/docs/install/centos.

Everything went well. I tried to ./configure;make on YACassandraPDO-0.6.0 and the master branch and got the same errors both times:

/home/vagrant/YACassandraPDO-0.6.0/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::Column&)’:
/home/vagrant/YACassandraPDO-0.6.0/gen-cpp/cassandra_types.cpp:243: error: ‘org::apache::thrift’ has not been declared
 ... etc ...

I tried with and without the --with-thrift-dir=/usr/local and ./configure responds checking thrift installation... found version 1.0.0-dev

If you have any tips I would appreciate the help getting this going! My boss won't like plan B nearly as much as a native PHP driver. haha.

Of course if there is anything I can do to help, let me know.

edit: oops, closed on accident.

chisleu commented 9 years ago

Here is my ./configure output and my full make output for reference:

vagrant ~/YACassandraPDO $ ./configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20121212
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable PDO cassandra support... yes, shared
checking optional thrift install prefix... no
checking optional boost install prefix... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for pkg-config... /usr/bin/pkg-config
checking thrift installation... found version 1.0.0-dev
checking for Thrift ouput... .
checking for PDO includes... /usr/local/include/php/ext
checking boost installation... found in /usr/local
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged

make:

vagrant ~/YACassandraPDO $ make
/bin/sh /home/vagrant/YACassandraPDO/libtool --mode=compile g++ -Wall -Wno-write-strings -I/usr/local/include/php/ext -I. -I/home/vagrant/YACassandraPDO -DPHP_ATOM_INC -I/home/vagrant/YACassandraPDO/include -I/home/vagrant/YACassandraPDO/main -I/home/vagrant/YACassandraPDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /home/vagrant/YACassandraPDO/gen-cpp/Cassandra.cpp -o gen-cpp/Cassandra.lo
 g++ -Wall -Wno-write-strings -I/usr/local/include/php/ext -I. -I/home/vagrant/YACassandraPDO -DPHP_ATOM_INC -I/home/vagrant/YACassandraPDO/include -I/home/vagrant/YACassandraPDO/main -I/home/vagrant/YACassandraPDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /home/vagrant/YACassandraPDO/gen-cpp/Cassandra.cpp  -fPIC -DPIC -o gen-cpp/.libs/Cassandra.o
/bin/sh /home/vagrant/YACassandraPDO/libtool --mode=compile g++ -Wall -Wno-write-strings -I/usr/local/include/php/ext -I. -I/home/vagrant/YACassandraPDO -DPHP_ATOM_INC -I/home/vagrant/YACassandraPDO/include -I/home/vagrant/YACassandraPDO/main -I/home/vagrant/YACassandraPDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp -o gen-cpp/cassandra_types.lo
 g++ -Wall -Wno-write-strings -I/usr/local/include/php/ext -I. -I/home/vagrant/YACassandraPDO -DPHP_ATOM_INC -I/home/vagrant/YACassandraPDO/include -I/home/vagrant/YACassandraPDO/main -I/home/vagrant/YACassandraPDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp  -fPIC -DPIC -o gen-cpp/.libs/cassandra_types.o
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::Column&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:243: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:245: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::SuperColumn&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:378: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:380: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CounterColumn&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:491: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:493: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CounterSuperColumn&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:624: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:626: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::ColumnOrSuperColumn&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:780: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:782: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::NotFoundException&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:850: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::InvalidRequestException&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:940: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:942: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::UnavailableException&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1007: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::TimedOutException&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1141: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1143: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::AuthenticationException&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1233: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1235: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::AuthorizationException&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1323: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1325: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::SchemaDisagreementException&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1390: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::ColumnParent&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1504: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1506: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::ColumnPath&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1640: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1642: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::SliceRange&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1798: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1800: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::SlicePredicate&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1934: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:1936: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::IndexExpression&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2071: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2073: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::IndexClause&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2227: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2229: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::KeyRange&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2447: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2449: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::KeySlice&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2584: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2586: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::KeyCount&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2697: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2699: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::Deletion&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2832: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2834: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::Mutation&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2947: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:2949: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::EndpointDetails&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3078: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3080: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CASResult&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3214: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3216: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::TokenRange&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3454: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3456: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::AuthenticationRequest&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3572: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3574: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::ColumnDef&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3776: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3778: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::TriggerDef&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3916: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:3918: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CfDef&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:4876: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:4878: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::KsDef&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5157: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5159: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CqlRow&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5294: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5296: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CqlMetadata&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5499: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5501: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CqlResult&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5680: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5682: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CqlPreparedResult&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5880: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:5882: error: ‘to_string’ was not declared in this scope
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp: In function ‘std::ostream& org::apache::cassandra::operator<<(std::ostream&, const org::apache::cassandra::CfSplit&)’:
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:6017: error: ‘org::apache::thrift’ has not been declared
/home/vagrant/YACassandraPDO/gen-cpp/cassandra_types.cpp:6019: error: ‘to_string’ was not declared in this scope
make: *** [gen-cpp/cassandra_types.lo] Error 1
LexLythius commented 9 years ago

Try using thrift 0.9.x, take a look at my posts about similar issue: https://github.com/Orange-OpenSource/YACassandraPDO/issues/47#issuecomment-51669503