Solved (Was: [Haskell-cafe] cannot build greencard)

mf-hcafe-15c311f0c at etc-network.de mf-hcafe-15c311f0c at etc-network.de
Wed Sep 2 18:52:34 EDT 2009



Yes, it works:

$ greencard -V
greencard, version 3.00

(Daniel: You were right; I made the mistake of following the
instructions in the README :).  Now I've finally switched to Cabal,
and that did the trick.  Bulat: Yes, I am aware of all the other
projects, but greencard seems to be a front-end to FFI, and it looks
alive enough to me right now, right?)

(Btw the "report-bugs-to" e-mail doesn't work.)

(Btw2:

diff -r cabal-install-0.6.2/bootstrap.sh cabal-install-0.6.2-/bootstrap.sh
166c166
< dep_pkg "parsec" "2\."
---
> dep_pkg "parsec" "3\."

shouldn't be a problem, right?)


Thanks everybody,
Cheers,
Matthias



On Wed, Sep 02, 2009 at 11:41:34PM +0200, Daniel Fischer wrote:
> To: haskell-cafe at haskell.org
> Cc: Dan Weston <westondan at imageworks.com>,
> 	"mf-hcafe-15c311f0c at etc-network.de" <mf-hcafe-15c311f0c at etc-network.de>
> From: Daniel Fischer <daniel.is.fischer at web.de>
> Date: Wed, 2 Sep 2009 23:41:34 +0200
> Subject: Re: [Haskell-cafe] cannot build greencard
> 
> Am Mittwoch 02 September 2009 23:23:47 schrieb Dan Weston:
> > Yet strangely, the last upload was Sun Apr 19 21:42:04 UTC 2009 and
> > hackage claims it builds without failure with ghc-6.10.
> >
> > And in fact it builds just fine for me, so maybe it is worth finding out
> > why it doesn't build for you. Are you using ghc-6.10.4 and the latest
> > version of cabal?
> 
> He used make, not cabal.
> My guess is that the makefiles haven't been updated because we now have Cabal and cabal.
> Formerly, Text.PrettyPrint.HughesPJ was in base, now it's in pretty, since --make is none 
> of the HC_OPTIONS in the makefiles, ghc can't find HughesPJ, thus the linker errors.
> 
>  
>  ** ACCEPT: CRM114 PASS osb unique microgroom Matcher ** 
> CLASSIFY succeeds; success probability: 1.0000  pR: 11.1886
> Best match to file #0 (nonspam.css) prob: 1.0000  pR: 11.1886  
> Total features in input file: 2456
> #0 (nonspam.css): features: 758386, hits: 2553116, prob: 1.00e+00, pR:  11.19 
> #1 (spam.css): features: 1686574, hits: 2754260, prob: 6.48e-12, pR: -11.19 
>  


More information about the Haskell-Cafe mailing list