[Haskell-beginners] Re: Haskell OpenGL trouble
apfelmus at quantentunnel.de
Sun Aug 2 03:45:06 EDT 2009
Matt f wrote:
> I am currently running Mac OS 10.5.7, and I have install many Haskell files,
> compiled a bouncing ball example, fixed the enableGUI bug, tried an IDE, and
> have started installing graphics libraries.
> I am using Cabal in the terminal to install what I need, though whenever I
> try to install opengl or a package of opengl; it comes up with an error.
> Macintosh-2:opengl matthew$ sudo cabal install
> Resolving dependencies...
> Configuring OpenGLRaw-126.96.36.199...
> cabal: Missing dependency on a foreign library:
> * Missing C library: GL
> This problem can usually be solved by installing the system package that
> provides this library (you may need the "-dev" version). If the library is
> already installed but in a non-standard location then you can use the flags
> --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
> cabal: Error: some packages failed to install:
> GLURaw-188.8.131.52 depends on OpenGLRaw-184.108.40.206 which failed to install.
> OpenGL-220.127.116.11 depends on OpenGLRaw-18.104.22.168 which failed to install.
> OpenGLRaw-22.214.171.124 failed during the configure step. The exception was:
> exit: ExitFailure 1
> Macintosh-2:opengl matthew$
> It appears that I have zoned onto the bit that's causing all this mess, I'm
> missing a C library: GL.
OpenGL is installed on MacOS X by default; it looks like the .cabal file
is missing a
flag or similar.
Write an email to the package maintainer, listed on
More information about the Beginners