[Haskell-beginners] Can't install haskell-platform on OpenSuse 10.3 without Glut

David Carter david.m.carter at gmail.com
Fri May 7 04:44:15 EDT 2010

On 6 May 2010 18:07, Roger Whittaker <roger at disruptive.org.uk> wrote:
> On Thu, May 06, 2010 at 05:55:21PM +0100, David Carter wrote:
>> I am trying to install haskell-platform on OpenSuse 10.3, i586. I
>> installed ghc 6.12.1 OK, then unpacked
>> haskell-platform-2010.1.0.0.tar.gz, but "configure" gives me
>> configure: error: The GLUT C library is required
> Probably you need to do is
> zypper in freeglut-devel

Thanks ... that went fine, and solved the immediate problem, but now I
have another ?related error when I do "make":

Configuring OpenGL-
configure: WARNING: unrecognized options: --with-hc-pkg
configure: error: cannot find sources (include/HsOpenGL.h.in) in
/foo/bar/baz or ..
Configuring the OpenGL- package failed
make: *** [build.stamp] Error 2

where /foo/bar/baz is the name a directory that occurs in my $PATH and
nowhere else in my environment.

I do have packages/OpenGL-
haskell-platform-2010.1.0.0, and in case it's relevant, the first
directory in my $PATH is "." (though why it looks for an include file
in my $PATH I can't imagine!).

Any further suggestions most welcome.


More information about the Beginners mailing list