trouble with gtksourceview2
Alexander Schell
DealeyLama at gmx.de
Fri Apr 10 15:37:04 EDT 2009
Hello
Okay...I'm dumb as a pumpkin...
I've now changed the cabal-version to the one demanded by ghc instead of
simply exchange the eq against a ge. Now everything works fine and I've
been able to configure, build and install leksah.
Sorry for your wasted Time and thanks again for the help.
Best regards
Alexander Schell
Jürgen Nicklisch-Franken schrieb:
> Hello Alexander,
> this should be easy, as leksah doesn't really care about the Cabal
> version. The problem is only how to tell this to Cabal.
> (See this thread:
> http://www.nabble.com/Dependency-version-problem-with-Cabal-td22590000.html#a22590000)
> and Issue 58 in the tracker.
>
> The solution is to enter the version of Cabal in leksah.cabal that ghc
> needs.
> Then install with runghc configure/build/install.
>
> Juergen
>
> Am Dienstag, den 07.04.2009, 23:37 +0200 schrieb Alexander Schell:
>
>> 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.
>>>>
>>>>
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Leksah mailing list
>> Leksah at projects.haskell.org
>> http://projects.haskell.org/cgi-bin/mailman/listinfo/leksah
>>
>
>
More information about the Leksah
mailing list