[Haskell-cafe] Trouble installing and using Chart/cairo on windows 7
Brent Yorgey
byorgey at seas.upenn.edu
Sun Mar 3 21:30:00 CET 2013
On Sun, Mar 03, 2013 at 09:22:15PM +0100, Arnaud Bailly wrote:
> Hello,
> I am trying to install timeplot and splot on a windows 7 host, using
> Haskell platform 2012.2.0.0, and I have troubles installing HSChart.
>
> First difficulties were installing cairo, which requires Gtk+ libraries and
> headers. I installed those using a Gtk+-bundle, first in c:\Program Files\.
> I had to move to d:\soft (eg. a directory without spaces) to be able to
> install cairo.
>
> Then I tried to install Chart and at first failed with a cryptic 'Exit
> Failure 1' error from cabal. I succeeded when I redirected cabal output to
> a file, eg: cabal install > out 2<&1 whereas a plain 'cabal install' failed.
>
> Then I managed to install splot and timeplot. I then tried to use Chart to
> draw a simple chart, following
> http://hackage.haskell.org/packages/archive/Chart/0.16/doc/html/Graphics-Rendering-Chart-Simple.htmland
> it hang forever with a CPU at 100%.
No idea if it's related, but hanging forever with the CPU at 100%
reminds me of this:
http://code.google.com/p/diagrams/issues/detail?id=71
Unfortunately, GTK + cairo are notoriously difficult to install on
OSX and Windows.
-Brent
More information about the Haskell-Cafe
mailing list