You should probably send this to the thrift list. Off-hand, though, I'd say you should run 'configure' with the --without-erl or --without-erlang (I forget which) option.
-Todd On Thu, Nov 10, 2011 at 3:22 AM, Roman <[email protected]> wrote: > Hi! > > I'm trying to setup environment to work with HBase over PHP. > Unfortunately, I cannot Thrift is failing on make stage: > > # make > make all-recursive > make[1]: Entering directory `/home/roman/thrift' > Making all in compiler/cpp > make[2]: Entering directory `/home/roman/thrift/compiler/cpp' > make all-am > make[3]: Entering directory `/home/roman/thrift/compiler/cpp' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/home/roman/thrift/compiler/cpp' > make[2]: Leaving directory `/home/roman/thrift/compiler/cpp' > Making all in lib > make[2]: Entering directory `/home/roman/thrift/lib' > Making all in cpp > make[3]: Entering directory `/home/roman/thrift/lib/cpp' > Making all in . > make[4]: Entering directory `/home/roman/thrift/lib/cpp' > make[4]: Nothing to be done for `all-am'. > make[4]: Leaving directory `/home/roman/thrift/lib/cpp' > Making all in test > make[4]: Entering directory `/home/roman/thrift/lib/cpp/test' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/roman/thrift/lib/cpp/test' > make[3]: Leaving directory `/home/roman/thrift/lib/cpp' > Making all in py > make[3]: Entering directory `/home/roman/thrift/lib/py' > /usr/bin/python setup.py build > running build > running build_py > copying src/Thrift.py -> build/lib.linux-i686-2.7/thrift > copying src/__init__.py -> build/lib.linux-i686-2.7/thrift > copying src/TSerialization.py -> build/lib.linux-i686-2.7/thrift > copying src/TSCons.py -> build/lib.linux-i686-2.7/thrift > copying src/protocol/TProtocol.py -> > build/lib.linux-i686-2.7/thrift/protocol > copying src/protocol/__init__.py -> build/lib.linux-i686-2.7/thrift/protocol > copying src/protocol/TBinaryProtocol.py -> > build/lib.linux-i686-2.7/thrift/protocol > copying src/protocol/TBase.py -> build/lib.linux-i686-2.7/thrift/protocol > copying src/protocol/TCompactProtocol.py -> > build/lib.linux-i686-2.7/thrift/protocol > copying src/transport/TTwisted.py -> > build/lib.linux-i686-2.7/thrift/transport > copying src/transport/TTransport.py -> > build/lib.linux-i686-2.7/thrift/transport > copying src/transport/TSSLSocket.py -> > build/lib.linux-i686-2.7/thrift/transport > copying src/transport/TZlibTransport.py -> > build/lib.linux-i686-2.7/thrift/transport > copying src/transport/__init__.py -> > build/lib.linux-i686-2.7/thrift/transport > copying src/transport/THttpClient.py -> > build/lib.linux-i686-2.7/thrift/transport > copying src/transport/TSocket.py -> > build/lib.linux-i686-2.7/thrift/transport > copying src/server/THttpServer.py -> build/lib.linux-i686-2.7/thrift/server > copying src/server/TServer.py -> build/lib.linux-i686-2.7/thrift/server > copying src/server/TNonblockingServer.py -> > build/lib.linux-i686-2.7/thrift/server > copying src/server/__init__.py -> build/lib.linux-i686-2.7/thrift/server > copying src/server/TProcessPoolServer.py -> > build/lib.linux-i686-2.7/thrift/server > running build_ext > make[3]: Leaving directory `/home/roman/thrift/lib/py' > Making all in erl > make[3]: Entering directory `/home/roman/thrift/lib/erl' > ./rebar get-deps > ==> nicefloats (get-deps) > ==> jsx (get-deps) > ==> erl (get-deps) > ./rebar compile > ==> nicefloats (compile) > ==> jsx (compile) > ./include/jsx_common.hrl:34: type jsx_opt() undefined > ./include/jsx_common.hrl:66: type jsx_parser_result() undefined > ./include/jsx_common.hrl:82: type eep0018_array() undefined > ./include/jsx_common.hrl:82: type eep0018_object() undefined > ./include/jsx_common.hrl:84: type eep0018_term() undefined > ./include/jsx_common.hrl:85: type eep0018_key() undefined > ./include/jsx_common.hrl:85: type eep0018_term() undefined > ./include/jsx_common.hrl:91: type eep0018_string() undefined > ./include/jsx_common.hrl:92: type eep0018_number() undefined > ./include/jsx_common.hrl:100: type encoder_opt() undefined > ./include/jsx_common.hrl:109: type decoder_opt() undefined > ./include/jsx_common.hrl:117: type verify_opt() undefined > ./include/jsx_common.hrl:123: type format_opt() undefined > make[3]: *** [all] Error 1 > make[3]: Leaving directory `/home/roman/thrift/lib/erl' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/roman/thrift/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/roman/thrift' > make: *** [all] Error 2 > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/Thrift-make-failure-tp3496432p3496432.html > Sent from the HBase - Developer mailing list archive at Nabble.com. > -- Todd Lipcon Software Engineer, Cloudera
