[Haskell-cafe] [Solved] Re: trouble compiling Crypto-4.2.0 / trouble with cabal

mf-hcafe-15c311f0c at etc-network.de mf-hcafe-15c311f0c at etc-network.de
Sun Sep 13 16:01:59 EDT 2009


works, thanks!  (:

actually, what i did in the end is this (installing everything for my
user locally):

runghc ./Setup.hs configure --user --prefix=/tmp2/
runghc ./Setup.hs build
...

(I first did the 'cabal install crypto', but for ghc-6.10.4 that
didn't work.  will start debugging now.)

matthias


On Sun, Sep 13, 2009 at 11:26:50AM -0700, Thomas DuBuisson wrote:
> To: mf-hcafe-15c311f0c at etc-network.de
> Cc: haskell-cafe at haskell.org
> From: Thomas DuBuisson <thomas.dubuisson at gmail.com>
> Date: Sun, 13 Sep 2009 11:26:50 -0700
> Subject: Re: [Haskell-cafe] trouble compiling Crypto-4.2.0 / trouble with 
> 	cabal
> 
> Cabal, the library you are using when manuallying running Setup.hs,
> assumes you are doing a global installation and will ignore locally
> installed libraries (iirc).  If you do 'cabal install crypto',
> cabal-install defaults to user installs and will use the user
> libraries.
> 
> Thomas
> 
> On Sun, Sep 13, 2009 at 10:54 AM,  <mf-hcafe-15c311f0c at etc-network.de> wrote:
> >
> >
> > Hi,
> >
> > Cabal is still fighting me all the time.  Its latest move is to be
> > oblivious of some of the installed packages:
> >
> > $ cabal unpack crypto
> > Unpacking Crypto-4.2.0...
> > $ cd Crypto-4.2.0/
> > $ runghc ./Setup.hs configure --prefix=/tmp2/
> > Configuring Crypto-4.2.0...
> > Setup.hs: At least the following dependencies are missing:
> > HUnit -any, QuickCheck -any
> > $ ghc-pkg list | grep -i -e '\(cabal\|hunit\)'
> >    Cabal-1.6.0.3, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0,
> >    HTTP-4000.0.8, HUnit-1.2.2.0, ObjectName-1.0.0.0, OpenGL-2.3.0.0,
> >
> > My ghc version is 6.10.4.20090719.  (Perhaps I should go get myself a
> > more stable version?)
> >
> > How does Cabal find its packages other than by ghc-pkg?  I read the
> > documentation, and did a quick search, but came up empty-handed.
> >
> > thanks,
> > matthias
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
> 
> 
>  ** ACCEPT: CRM114 PASS osb unique microgroom Matcher **
> CLASSIFY succeeds; success probability: 1.0000  pR: 9.9721
> Best match to file #0 (nonspam.css) prob: 1.0000  pR: 9.9721
> Total features in input file: 3072
> #0 (nonspam.css): features: 758386, hits: 2510804, prob: 1.00e+00, pR:   9.97
> #1 (spam.css): features: 1686754, hits: 2531046, prob: 1.07e-10, pR:  -9.97
> 


More information about the Haskell-Cafe mailing list