
Oh, wait. Duh. I forgot the `-` at the beginning. Should be something of the form `--ghc-option=-DCABAL_VERSION_MINOR=10`, possibly with quotes. On Jul 7, 2011, at 7:08 AM, Jack Henahan wrote:
Might need quotes (single or double should be fine, unless I'm an idiot :D ) around the DCABAL business. I can never remember the correct syntax on those bits. Failing that, you can probably get in touch with the package developer and see if he has any ideas. What OS are you on, by the way?
On Jul 7, 2011, at 7:02 AM, Sean Charles wrote:
So it seems that it can't infer your cabal's minor version, so it drops into the else. Do you get any different result when you call `cabal install --ghc-option=DCABAL_VERSION_MINOR=10 cairo`? Resolving dependencies... target `DCABAL_VERSION_MINOR=10' is not a module name or a source file cabal: Error: some packages failed to install: cairo-0.12.0 failed during the configure step. The exception was: ExitFailure 1
:)
I also tried moving the furniture around ...
cabal --ghc-option=DCABAL_VERSION_MINOR=10 install cairo and cabal install --ghc-option=DCABAL_VERSION_MINOR=10 cairo
just in case but to no avail, same message in all cases....
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners