Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm attempting to install Haskell Platform 2013.2.0.0 on a fairly fresh Ubuntu 13.04, using the instructions here:

I've installed the extra packages mentioned in the comments, but the configure step generates an error related to OpenGL not being found. Here it is:

> ./configure
# Omitting some output
# ...
checking for zlibVersion in -lz... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for library containing glEnd... no
configure: error: The OpenGL C library is required

Strangely, it can find the OpenGL headers, but it can't find glEnd. Any idea what could be causing this?

share|improve this question

migrated from Oct 14 '13 at 2:45

This question came from our site for system and network administrators.

I have the same problem, but I don't have sudo access on the server. What can I do ? – xApple Jul 22 '14 at 19:50

Install the following:

sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglc-dev
sudo apt-get install freeglut3-dev
sudo apt-get install libedit-dev
sudo apt-get install libglw1-mesa libglw1-mesa-dev


#now build
sudo make install
cabal update


share|improve this answer
I already had these packages installed, so this did not help :( – emchristiansen Oct 14 '13 at 18:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.