trouble with gtksourceview2

Alexander Schell DealeyLama at gmx.de
Tue Apr 7 17:37:00 EDT 2009


Hello

Thank you for the swift reply.

Now I'm running into another problem:

Configuring leksah-0.4.4.1...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package leksah-0.4.4.1 requires Cabal-1.6.0.1
package ghc-6.10.2 requires Cabal-1.6.0.3

The build fails as expected:

Preprocessing executables for leksah-0.4.4.1...
Building leksah-0.4.4.1...
[13 of 46] Compiling IDE.Metainfo.GHCUtils (
src/IDE/Metainfo/GHCUtils.hs,
dist/build/leksah/leksah-tmp/IDE/Metainfo/GHCUtils.o )

src/IDE/Metainfo/GHCUtils.hs:69:40:
    Couldn't match expected type
`Distribution.InstalledPackageInfo.InstalledPackageInfo_
                                    m'
           against inferred type
`Cabal-1.6.0.3:Distribution.InstalledPackageInfo.InstalledPackageInfo_
                                    ModuleName'
      Expected type:
[Distribution.InstalledPackageInfo.InstalledPackageInfo_
                        m]
      Inferred type: [PackageConfig]
    In the second argument of `map', namely `knownPackages'
    In the expression: map IPI.package knownPackages

Same with 'cabal install leksah':

Resolving dependencies...
cabal: dependencies conflict: ghc-6.10.2 requires Cabal ==1.6.0.3 however
Cabal-1.6.0.3 was excluded because Cabal-1.6.0.1 was selected instead
Cabal-1.6.0.3 was excluded because leksah-0.4.4.1 requires Cabal ==1.6.0.1

I don't know what to do about this; it seems that this problem can not
be solved this easy.
Should I try to get a ghc version which depends on the same Cabal version?

Thank you in advance.

mfg

Alexander Schell

at the server schrieb:

> > At 07.04.2009 22:38, Alexander Schell wrote:
> >
>   
>> >> I'm trying to install leksah but it keeps telling me that the
>> >> gtksourceview2-dependence is not fulfilled although I've installed
>> >> gtksourceview-2.4.1:
>> >>
>> >> Configuring leksah-0.4.4.1...
>> >> Setup.lhs: At least the following dependencies are missing:
>> >> gtksourceview2>=0.10.0
>>     
> >
> > You have to install the development conterpart od gtksourceview2
> > package prior to building gtk2hs.
> >
> >
>   





More information about the Leksah mailing list