I am trying cabal install glib-0.12.3
under my Ubuntu 11.10 using cabal-install 0.10.2. However, it shows the following error messages:
setup: The program gtk2hsC2hs version >=0.13.5 is required but the version
found at /usr/bin/gtk2hsC2hs is version 0.13.4
cabal: Error: some packages failed to install:
glib-0.12.3 failed during the configure step. The exception was:
ExitFailure 1
After half an hour's search, I cannot find where this gtk2hsC2hs
is. I dug into places like http://code.haskell.org/gtk2hs/tools/c2hs/, but could not seem to find the right version.
How could I upgrade my gtk2hsC2hs? Thanks!
cabal install gtk2hs-buildtools
first thencabal install glib-0.12.3
, but the same error shows up again. Is there any other reasons for this error to show? Thanks! EDIT: Also triedcabal install glib-0.12.3
, but it showsVersions installed : [ unknown ]
. – Lechner