[ 
https://issues.apache.org/jira/browse/THRIFT-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Molinaro resolved THRIFT-914.
-------------------------------------

      Assignee: Christian Lavoie  (was: Anthony Molinaro)
    Resolution: Fixed

Okay, so I decided not to worry too much about not being able to compile with 
older haskell from macports, the problem seems very bizarre with perl versions 
and not really worth the effort to solve.  Homebrew compilation works fine, so 
I committed this.  Thanks Christian.

> Make haskell bindings 'easily' compilable
> -----------------------------------------
>
>                 Key: THRIFT-914
>                 URL: https://issues.apache.org/jira/browse/THRIFT-914
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Compiler, Haskell - Library
>    Affects Versions: 0.5
>         Environment: GHC 6.12.3, Mac OS X 10.6, Haskell Platform 2010.2.0.0
> Darwin -- 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; 
> root:xnu-1504.7.4~1/RELEASE_I386 i386
> The Glorious Glasgow Haskell Compilation System, version 6.12.3
>            Reporter: Christian Lavoie
>            Assignee: Christian Lavoie
>             Fix For: 0.5
>
>         Attachments: v1-thrift-fix-cabal-Setup.patch
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to