can't run Grapefruit

Peter Gavin pgavin at gmail.com
Thu May 28 15:38:26 EDT 2009


On Sat, May 23, 2009 at 3:58 PM, Dean Herington
<heringtonlacey at mindspring.com> wrote:
> GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer ... linking ... done.
> Loading package base ... linking ... done.
> Prelude> :m + Graphics.UI.Grapefruit.Circuit
> Prelude Graphics.UI.Grapefruit.Circuit> :m + Graphics.UI.Grapefruit.GTK
> Prelude Graphics.UI.Grapefruit.Circuit Graphics.UI.Grapefruit.GTK> :m +
> Examples.Grapefruit.Simple
> Prelude Graphics.UI.Grapefruit.Circuit Graphics.UI.Grapefruit.GTK
> Examples.Grapefruit.Simple> run GTK mainCircuit
> Loading package syb ... linking ... done.
> Loading package base-3.0.3.0 ... linking ... done.
> Loading package array-0.2.0.0 ... linking ... done.
> Loading package containers-0.2.0.0 ... linking ... done.
> Loading package bytestring-0.9.1.4 ... linking ... done.
> Loading package old-locale-1.0.0.1 ... linking ... done.
> Loading package old-time-1.0.0.1 ... linking ... done.
> Loading package random-1.0.0.1 ... linking ... done.
> Loading package Win32-2.2.0.0 ... linking ... done.
> Loading package filepath-1.1.0.1 ... linking ... done.
> Loading package directory-1.0.0.2 ... linking ... done.
> Loading package process-1.0.1.0 ... linking ... done.
> Loading package haskell98 ... linking ... done.
> Loading package mtl-1.1.0.2 ... linking ... done.
> Loading package glib-0.10.0 ... can't load .so/.DLL for: intl (addDLL: could
> not load DLL)

Hi Dean,

First, you should try using the newest version of the installer
(0.10.1, it requires GHC 6.10.3).  Second, you should check whether
intl.dll exists in c:\gtk2hs\0.10.x\bin, and that c:\gtk2hs\0.10.x\bin
is also in your PATH.  If you're still having problems, please paste
the contents of c:\gtk2hs\0.10.x\lib\gtk2hs\{gtk,glib}.package.conf.
Please also make sure the libraries listed in the extra-libraries
field and extra-ghci-libraries field exist in c:\gtk2hs\0.10.x\lib and
c:\gtk2hs\0.10.x\bin respectively.

Pete


More information about the Glasgow-haskell-users mailing list