[ 
https://issues.apache.org/jira/browse/THRIFT-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913666#action_12913666
 ] 

Anthony Molinaro commented on THRIFT-914:
-----------------------------------------

Well, with homebrew haskell-package you still need the cabal commands at leat

% cabal update
% cabal install binary
% runhaskell Setup.lhs configure --user 
% runhaskell Setup.lhs build

works for me.

Although the cabal install binary gives me lots of warnings like

    Warning: Module `Prelude' is deprecated:
               You are using the old package `base' version 3.x.
               Future GHC versions will not support base version 3.x. You
               should update your code to use the new base version 4.x.

And if I don't include '--user' it doesn't work (seems like cabal installs 
things as my user, so not using --user fails to find the binary module).

I still want to see if I can get a version of 6.10 working so I can make sure 
it looks good.

Your comment seems a little mangled, I'm a bit unclear as to what the problem 
with Bryan's box was?

> 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: Anthony Molinaro
>             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