GHC 6.6.1: Where is Graphics.SOE ?

*Andrea Rossato* wrote:
Hi!
as far as I know what you are looking for (Graphics.SOE) is part of HGL. Have a look here: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HGL-3.1 Hope I got it right and that this helps.
All the best, Andrea
Andrea thanks! I tried to install HGL on Win32 and got this unresolved dependency: HGL-3.1>runghc Setup.hs configure Configuring HGL-3.1... configure: Dependency base-any: using base-2.1.1 Setup.hs: cannot satisfy dependency X11-any Any ideas? Thanks, Dmitri -- Dmitri O. Kondratiev dokondr@gmail.com http://www.geocities.com/dkondr

On Wed, Jul 18, 2007 at 03:58:58PM +0400, Dmitri O.Kondratiev wrote:
Andrea thanks! I tried to install HGL on Win32 and got this unresolved dependency:
HGL-3.1>runghc Setup.hs configure Configuring HGL-3.1... configure: Dependency base-any: using base-2.1.1 Setup.hs: cannot satisfy dependency X11-any
Any ideas?
yes, you need to install the X11 package: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.2.2 I must tell you the truth: I don't run Windows (and never did in the last 8 years) and I don't know if/how you can install X11 on it. But since HGL is "a simple graphics library, designed to give the programmer access to most interesting parts of the Win32 Graphics Device Interface and X11 library ..." I think that runhaskell Setup.hs etc etc should do the job. I tried HGL on linux recently and it worked smoothly without any complain (very fun playing with it, btw). Otherwise try coming back here, I'm sure some else will give you an advise. Hope this helps. Andrea

I think that it's simply a buildfile error, that requires X11 even if you are on windows. The problem is that the building process requires running a configure script, so it requires a cygwin environment under windows. If you need HGL only for "educational" purposes, I strongly suggest you to download and use Hugs (it has HGL precompiled). If you need HGL for more "advanced" purposes, the first step is installing a cygwin environment and remove X11-any and all the lines containing X11 from the HGL.cabal file. Salvatore
participants (3)
-
Andrea Rossato
-
Dmitri O.Kondratiev
-
Salvatore Insalaco