cabal use questions
noteed at gmail.com
Tue Sep 2 13:55:13 EDT 2008
2008/9/2 Peter Gavin <pgavin at gmail.com>:
> minh thu wrote:
>> I've some questions related to Cabal.
>> The command "ghc-pkg list" reports two versions of
>> Cabal : 126.96.36.199 and 188.8.131.52.
>> 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.
>> 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
> $ runhaskell Setup.lhs configure --user
Ok, it works. But I didn't installed GLUT or OpenGL that way...
More information about the Libraries