[Haskell-cafe] Using Cabal during development

Limestraël limestrael at gmail.com
Wed Feb 10 12:16:42 EST 2010

Neil Brown-7 wrote:
> Don't you simply need to do what the error message says, and add (*in 
> the Executable section*, at the end of the file):

Nope, just check my previous message (my issue (2)):

Limestrael wrote:
> (2) well, then, when building, if I don't specify that my executable
> depends on my lib, I got:
> SFML/Direct/Graphics.hs:51:7:
>     Could not find module `SFML.Direct.Types.Enums':
>       It is a member of the hidden package `HSFML-1.5'.
>       Perhaps you need to add `HSFML' to the build-depends in your .cabal
> file.
>       it is a hidden module in the package `HSFML-1.5'
>       Use -v to see a list of the files searched for.
> and if I do what it asks me to do (to add the line 'Build-Depends:  HSFML'
> in the 'Executable' section of my .cabal file), I'm told when 'cabal
> build'ing:
> cabal: internal error: could not construct a valid install plan.
> The proposed (invalid) plan contained the following problems:
> The following packages are involved in a dependency cycle HSFML-1.5
View this message in context: http://old.nabble.com/Using-Cabal-during-development-tp27515446p27534455.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

More information about the Haskell-Cafe mailing list