[Haskell-cafe] cabal upgrade

Martin DeMello martindemello at gmail.com
Wed Oct 1 16:07:30 EDT 2008


On Wed, Oct 1, 2008 at 1:04 PM, Svein Ove Aas <svein.ove at aas.no> wrote:
> On Wed, Oct 1, 2008 at 9:52 PM, Martin DeMello <martindemello at gmail.com> wrote:
>>
>> $ cabal install yi
>> Resolving dependencies...
>> 'yi-0.4.6.2' is cached.
>> Configuring yi-0.4.6.2...
>> cabal: alex version >=2.0.1 && <3 is required but it could not be found.
>> cabal: Error: some packages failed to install:
>> yi-0.4.6.2 failed during the configure step. The exception was:
>> exit: ExitFailure 1
>>
>> $ cabal install yi-gtk
>> Resolving dependencies...
>> cabal: cannot configure yi-gtk-0.2.1. It requires sourceview >=0.9.11
>> There is no available version of sourceview that satisfies >=0.9.11
>>
>> Trying cabal upgrade didn't fix it - it still throws the same error.
>>
> This is because the sourceview package is not on hackage - it's
> legacy, non-cabal code and can be found on
> http://www.haskell.org/gtk2hs/
>
> You'll have to install it manually, I'm afraid.

It's not just yi-gtk, though - yi itself isn't installing via cabal,
due to the alex version >=2.0.1 && <3 dependency.

martin


More information about the Haskell-Cafe mailing list