[ https://issues.apache.org/jira/browse/THRIFT-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913639#action_12913639 ]
Anthony Molinaro commented on THRIFT-914: ----------------------------------------- This should allow me to at least test compilation of the other patches you've been submitting so I'll definitely try this one out. Are the cabal commands necessary if say I have homebrew haskell-platform (which seems to already have all those available)? Also, you might want to send in a patch for the README in the lib/hs directory which has alternate build instructions. > 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.