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

Make haskell bindings 'easily' compilable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.5
    • Labels:
      None
    • Environment:
    • Patch Info:
      Patch Available

      Description

      Current Setup.lhs file has weird commenting that barfs on my machine (Haskell does not use # as a comment marker). Also, after much recent mungling from me the .cabal file is out of date.

      This patch fixes both issues, making it easy to test the haskell bindings compilability state:

      {noquote}
      cabal update
      cabal install network binary http
      cd $THRIFT/lib/hs/src
      runhaskell Setup.lhs configure --user # --user is optional, but you'll need root-like powers without it
      runhaskell Setup.lhs build
      runhaskell Setup.lhs install # optional, really{noquote}

      Also, with the recent commit of the improved type bindings, it's worth bumping the thrift cabal package's version number – that change was major API breakage.

      (Please note this does NOT integrate with autotools in any useful way, but is a prerequisite for THRIFT-905 to be useful)

        Attachments

        1. v1-thrift-fix-cabal-Setup.patch
          3 kB
          Christian Lavoie

          Activity

            People

            • Assignee:
              clavoie Christian Lavoie
              Reporter:
              clavoie Christian Lavoie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: