[Haskell-cafe] ANNOUNCE : Leksah 0.12.1.2 (fixes some metadata issues)

Sergei Trofimovich slyich at gmail.com
Wed Jun 27 22:59:53 CEST 2012


On Wed, 20 Jun 2012 16:59:16 -0700
Hilco Wijbenga <hilco.wijbenga at gmail.com> wrote:

> Hi Hamish,
> 
> On 19 June 2012 22:47, Hamish Mackenzie
> <hamish.k.mackenzie at googlemail.com> wrote:
> > This release has an important bug fix for the metadata download.
> > When metadata was downloaded using libcurl it was not treated
> > as binary data.  If you used one of our binary installers or if you
> > built Leksah with the -flibcurl flag then it is likely you have bad
> > metadata files.
> 
> I just tried (again) to install Leksah. I was wondering if you could
> point out where I go wrong. I'm on a fully up-to-date Gentoo Linux
> (kernel 3.4.3, 64 bit) box.
> 
> I ran the following commands (as described, more or less, on
> http://leksah.org/download.html):
> 
> hilco at centaur ~ ~$ rm -rf .cabal/
> 
> hilco at centaur ~ ~$ cabal update
> Downloading the latest package list from hackage.haskell.org
> 
> hilco at centaur ~ ~$ cabal install gtk2hs-buildtools
> Resolving dependencies...
> Downloading gtk2hs-buildtools-0.12.3.1...
> Configuring gtk2hs-buildtools-0.12.3.1...
> Building gtk2hs-buildtools-0.12.3.1...
> ... lots of output ...
> Linking dist/build/gtk2hsC2hs/gtk2hsC2hs ...
> Installing executable(s) in /home/hilco/.cabal/bin
> 
> hilco at centaur ~ ~$ cabal install leksah
> Resolving dependencies...
> In order, the following would be installed:
> attoparsec-0.10.2.0 (reinstall) changes: text-0.11.2.2 added
> binary-shared-0.8.2 (new version)
> cairo-0.12.3.1 (new package)
> enumerator-0.4.19 (reinstall) changes: text-0.11.2.2 added,
> transformers-0.2.2.0 -> 0.3.0.0
> attoparsec-enumerator-0.3 (reinstall) changes: text-0.11.2.2 added
> glib-0.12.3.1 (new package)
> gio-0.12.3 (new package)
> network-2.3.0.14 (reinstall) changes: parsec-3.1.2 -> 3.1.3
> hslogger-1.1.5 (reinstall) changes: mtl-2.0.1.0 -> 2.1.1
> pango-0.12.3 (new package)
> gtk-0.12.3.1 (new package)
> gtksourceview2-0.12.3.1 (new package)
> ltk-0.12.1.0 (new package)
> leksah-server-0.12.1.2 (new package)
> regex-base-0.93.2 (reinstall) changes: mtl-2.0.1.0 -> 2.1.1
> regex-tdfa-1.1.8 (reinstall) changes: mtl-2.0.1.0 -> 2.1.1, parsec-3.1.2 ->
> 3.1.3
> leksah-0.12.1.2 (new package)
> cabal: The following packages are likely to be broken by the reinstalls:
> regex-posix-0.95.1
> regex-compat-0.95.1
> Use --force-reinstalls if you want to install anyway.
> 
> hilco at centaur ~ ~$ cabal install leksah --force-reinstalls
> Resolving dependencies...
> Warning: The following packages are likely to be broken by the reinstalls:
> regex-posix-0.95.1
> regex-compat-0.95.1
> Continuing even though the plan contains dangerous reinstalls.
> ... lots of output ...
> cabal: Error: some packages failed to install:
> cairo-0.12.3.1 failed during the configure step. The exception was:
> ExitFailure 1
> gio-0.12.3 depends on glib-0.12.3.1 which failed to install.
> glib-0.12.3.1 failed during the configure step. The exception was:
> ExitFailure 1
> gtk-0.12.3.1 depends on glib-0.12.3.1 which failed to install.
> gtksourceview2-0.12.3.1 depends on glib-0.12.3.1 which failed to install.
> leksah-0.12.1.2 depends on glib-0.12.3.1 which failed to install.
> leksah-server-0.12.1.2 depends on glib-0.12.3.1 which failed to install.
> ltk-0.12.1.0 depends on glib-0.12.3.1 which failed to install.
> pango-0.12.3 depends on glib-0.12.3.1 which failed to install.
> 
> Any ideas?

You might like to try out installing leksah with stock emerge:

    https://github.com/gentoo-haskell/gentoo-haskell/blob/master/README.rst

gtk2hs-buildtools seems to be buggy when ran the first time on certain headers:

    http://www.mail-archive.com/gtk2hs-devel@lists.sourceforge.net/msg01160.html

gentoo-haskell overlay workarounds it by disabling binary cache:

    https://github.com/gentoo-haskell/gentoo-haskell/blob/master/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.12.3-workaround-UName.patch

-- 

  Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120627/cf7cab7d/attachment.pgp>


More information about the Haskell-Cafe mailing list