
On 6 May 2010 18:07, Roger Whittaker
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-2.2.3.0... configure: WARNING: unrecognized options: --with-hc-pkg configure: error: cannot find sources (include/HsOpenGL.h.in) in /foo/bar/baz or .. Error: Configuring the OpenGL-2.2.3.0 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-2.2.3.0/include/HsOpenGL.h.in 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. David