cabal use questions

minh thu noteed at gmail.com
Tue Sep 2 13:55:13 EDT 2008


2008/9/2 Peter Gavin <pgavin at gmail.com>:
> minh thu wrote:
>>
>> Hi,
>>
>> I've some questions related to Cabal.
>>
>> The command "ghc-pkg list" reports two versions of
>> Cabal : 1.2.4.0 and 1.4.0.2.
>>
>> How do I get rid of the first one ?
>
> You don't.  The first one is the one that came with GHC, probably.  The
> other I'm assuming you installed yourself.  If you try to remove the first
> one, I think GHC will probably break.

OK.

>> Also, I try to build a Cabal package of my own
>> but configuring it doen't work :
>>
>> $ runhaskell Setup.lhs configure
>> Configuring ae-fast-0.1...
>> Setup.lhs: At least the following dependencies are missing:
>> GLUT -any, OpenGL -an
>>
>
> Try:
>
> $ runhaskell Setup.lhs configure --user

Ok, it works. But I didn't installed GLUT or OpenGL that way...

Thank you,
Thu


More information about the Libraries mailing list