thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 罗辉 <>
Subject make success but make check failed
Date Thu, 23 Jul 2015 09:07:58 GMT
Hi there:
       I'm new to thrift and have 2 questions here:
1. Following the installation guild, I run "./configure --prefix=/usr/local/thrift/ --with-cshare=no
--with-java=yes --with-erlang=no --with-python=no --with-php=no --with-php_extension=no --with-ruby=no
--with-haskell=no --with-go=no --with-perl=yes --with-lua=no","make" and "make install" successfully
but run "make check" failed.
 error message:

/opt/thrift-0.9.2/lib/java/build.xml:202: Test org.apache.thrift.protocol.TestTSimpleJSONProtocol
Total time: 25 seconds
make[3]: *** [check-local] Error 1
make[3]: Leaving directory `/opt/thrift-0.9.2/lib/java'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/opt/thrift-0.9.2/lib/java'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/opt/thrift-0.9.2/lib'
make: *** [check-recursive] Error 1
I am not very clear why this test failed. And where is the make check log presents?

2.I copied tutorial.thrift to test/test.thrift and run "thrift --gen perl test/test.thrift"
however it failed with error message  :
[ERROR:/opt/thrift-0.9.2/test/test.thrift:22] (last token was 'use')
Cannot use reserved language keyword: "use"

check the test.thrift:
line 22:use strict;

who to solve these 2 problems?Any ideas will be appreciated.

Best wishes.

Address:2109,Building 4,Zhubang 2000, Chao Yang Road,Chao Yang District,Beijing,China

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message