Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1450

Problems building thrift 0.8.0 for Python and Ruby

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • Build Process
    • None
    • CentOS 5.5
      Python 3.2
      Ruby 1.9.3

    Description

      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)

      Attachments

        Activity

          People

            jfarrell Jake Farrell
            mshaver Matthew Shaver
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: