[Haskell-cafe] ANNOUNCE: vacuum-cairo: a cairo frontend to vacuum
for live Haskell data visualization
Sebastian Fischer
sebf at informatik.uni-kiel.de
Tue Mar 31 08:01:31 EDT 2009
On Mar 31, 2009, at 7:40 AM, Don Stewart wrote:
> I am pleased to announce the release of vacuum-cairo, a Haskell
> library
> for interactive rendering and display of values on the GHC heap using
> Matt Morrow's vacuum library.
Awesome! I want to try this.
I have problems though installing it on an Intel MacBook running
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1
$ cabal --version
cabal-install version 0.6.2
using version 1.6.0.2 of the Cabal library
$ ghc-pkg list gtk
/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.1/./
package.conf:
gtk-0.10.0
I have installed gtk2hs using the instructions at
http://www.haskell.org/haskellwiki/Gtk2Hs#Using_the_GTK.2B_OS_X_Framework
A simple cabal update; cabal install vacuum-cairo gives me:
$ cabal install vacuum-cairo
Resolving dependencies...
cabal: cannot configure vacuum-cairo-0.3.1. It requires svgcairo -any
There is no available version of svgcairo that satisfies -any
I have installed libsvg-cairo using MacPorts and it seems installed
in /opt/local/lib:
$ ls /opt/local/lib/libsvg-cairo.*
/opt/local/lib/libsvg-cairo.1.0.1.dylib
/opt/local/lib/libsvg-cairo.1.dylib
/opt/local/lib/libsvg-cairo.a
/opt/local/lib/libsvg-cairo.dylib
/opt/local/lib/libsvg-cairo.la
But cabal-install still gives the same error. Even with --extra-lib-
dirs set:
$ cabal install --extra-lib-dirs=/opt/local/lib/ vacuum-cairo
Resolving dependencies...
cabal: cannot configure vacuum-cairo-0.3.1. It requires svgcairo -any
There is no available version of svgcairo that satisfies -any
Hence, I downloaded the tarball and tried to use this instead to
install vacuum-cairo, which lead to another problem: I cannot install
the vacuum package because of a dependencies conflict due to the
package ghc-6.10.1 requiring two different versions of process:
$ cabal install vacuum
Resolving dependencies...
cabal: dependencies conflict: ghc-6.10.1 requires process ==1.0.1.1
however
process-1.0.1.1 was excluded because ghc-6.10.1 requires process
==1.0.1.0
Funny.
Any ideas on how to get this cool package installed?
Thanks!
Sebastian
More information about the Haskell-Cafe
mailing list