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

Anthony Molinaro commented on THRIFT-905:
-----------------------------------------

Okay, well I'm going to run through a few things to make sure this works.  So 
expect more comments over the next day or two about these.  First off, I agree 
with David's those should be cleaned up.  Next, I tried the following without 
ghc of any version installed.

% ./bootstrap.sh && ./configure &&  make && make clean && make maintainer-clean

maintainer-clean causes an error

{quote}
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f Makefile
Making maintainer-clean in hs
rm -rf .libs _libs
Setup.lhs clean
make[2]: Setup.lhs: Command not found
make[2]: *** [clean-local] Error 127
make[1]: *** [maintainer-clean-recursive] Error 1
make: *** [maintainer-clean-recursive] Error 1
{quote}

Not exactly sure why that is, and I can't quite look into it now, but I'll take 
another look this evening.

> 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
>
>
> 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.

Reply via email to