[ https://issues.apache.org/jira/browse/THRIFT-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Lavoie updated THRIFT-905: ------------------------------------ Attachment: v2-thrift-haskell-autotools.patch This works on my box by running: {noformat} ./bootstrap.sh && CABAL_CONFIGURE_FLAGS="--user" ./configure --prefix=$HOME/ports --without-java --without-cshar p --without-python --without-ruby --without-perl --without-php && make && make clean && make maintainer-clean {noformat} (The --user bits are needed if you don't run the ./configure script root-equivalent powers). To the best of my knowledge, this patch is still suboptimal in the following ways: * It doesn't check that you have the right cabal dependencies * It suffers from the same issues as the ruby bindings (not sure what that is, the comment says it can fail in certain circumstances I haven't been able to reproduce) > Make haskell thrift bindings use automake to compile and install > ---------------------------------------------------------------- > > Key: THRIFT-905 > URL: https://issues.apache.org/jira/browse/THRIFT-905 > Project: Thrift > Issue Type: Improvement > Components: Haskell - Compiler, Haskell - Library > Affects Versions: 0.5 > Environment: Mac OS X 10.6, ghc 6.12.3 (haskell platform 2010.2) > 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 > Glasgow Haskell Compiler, Version 6.12.3, for Haskell 98, stage 2 booted by > GHC version 6.12.2 > Reporter: Christian Lavoie > Assignee: Anthony Molinaro > Fix For: 0.5 > > Attachments: thrift-automake-haskell-support.patch, > v2-thrift-haskell-autotools.patch > > > Makes automake call cabal to compile the haskell library. Not the prettiest, > but allows (theoretical) support for non-ghc compilers. > Needs to be applied with patch -p1; patch depends on > https://issues.apache.org/jira/browse/THRIFT-901 due to existing brokenness > in bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.