Problems building thrift 0.8.0 for Python and Ruby
--------------------------------------------------
Key: THRIFT-1450
URL: https://issues.apache.org/jira/browse/THRIFT-1450
Project: Thrift
Issue Type: Bug
Components: Build Process
Affects Versions: 0.8
Environment: CentOS 5.5
Python 3.2
Ruby 1.9.3
Reporter: Matthew Shaver
Building thrift 0.8.0 I get the following error:
Making all in py
make[3]: Entering directory `/home/mshaver/dl/thrift-0.8.0/lib/py'
/home/mshaver/bin/python setup.py build
File "setup.py", line 45
except DistutilsPlatformError, x:
^
SyntaxError: invalid syntax
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/home/mshaver/dl/thrift-0.8.0/lib/py'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mshaver/dl/thrift-0.8.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mshaver/dl/thrift-0.8.0'
make: *** [all] Error 2
If I configure without Python I get the following error during the build:
Making all in rb
make[3]: Entering directory `/home/mshaver/dl/thrift-0.8.0/lib/rb'
/usr/local/bin/rake
rake aborted!
cannot load such file -- spec/rake/spectask
(See full trace by running task with --trace)
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/home/mshaver/dl/thrift-0.8.0/lib/rb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mshaver/dl/thrift-0.8.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mshaver/dl/thrift-0.8.0'
make: *** [all] Error 2
Here are the gems that are installed:
$ gem list
*** LOCAL GEMS ***
bigdecimal (1.1.0)
bundler (1.0.21)
diff-lcs (1.1.3)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)
rspec (2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
rspec-mocks (2.7.0)
rubygems-update (1.8.12)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira