[Haskell-cafe] Re: chart "broken" under 6.12 according to criterion

wren ng thornton wren at freegeek.org
Thu Jul 1 19:03:01 EDT 2010


Neil Brown wrote:
> On 01/07/10 10:19, Tom Doris wrote:
>> According to the criterion.cabal file shipped with the latest 
>> (0.5.0.1) version of criterion, the Chart package is broken under GHC 
>> 6.12:
>> flag Chart
>>    description: enable use of the Chart package
>>    -- Broken under GHC 6.12 so far
>> Does anyone know the status of this problem? It's been a little 
>> frustrating getting Criterion up and running - it didn't work at all 
>> under 6.10 due to a compiler bug ("The impossible happened" error on 
>> uvector install) and now it works under 6.12 but without the nice 
>> charts that are so useful. Appreciate any insight or workarounds for 
>> this, thanks
>>
> Hi,
> 
> "cabal install criterion -fChart --reinstall" builds fine for me on GHC


OS            = OSX 10.5.8
GHC           = 6.12.1
Cabal-Install = 0.8.2
Cabal         = 1.8.0.2

$> cabal install criterion -fChart --reinstall
    Resolving dependencies...
...
    Configuring cairo-0.11.0...
    setup: gtk2hsC2hs is required but it could not be found.
...
    Configuring glib-0.11.0...
    setup: gtk2hsC2hs is required but it could not be found.
...
    cabal: Error: some packages failed to install:
    Chart-0.13.1 depends on glib-0.11.0 which failed to install.
    cairo-0.11.0 failed during the configure step. The exception was:
    ExitFailure 1
    criterion-0.5.0.1 depends on glib-0.11.0 which failed to install.
    gio-0.11.0 depends on glib-0.11.0 which failed to install.
    glib-0.11.0 failed during the configure step. The exception was:
    ExitFailure 1
    gtk-0.11.0 depends on glib-0.11.0 which failed to install.
    pango-0.11.0 depends on glib-0.11.0 which failed to install.


Presumably I just need to install some additional non-Hackage libraries, 
though it's not clear how much gtk cruft needs pulling in. FWIW.

-- 
Live well,
~wren


More information about the Haskell-Cafe mailing list