**************************************************
*
* Haskell Platform Source Installer
*
* For the Haskell Platform 2011.2.0.1 and GHC 7.0.3
*
**************************************************
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for ghc... /usr/local/bin/ghc
checking for ghc-pkg... /usr/local/bin/ghc-pkg
checking for hsc2hs... /usr/local/bin/hsc2hs
checking version of ghc... 7.0.3
checking version of ghc-pkg matches... yes
checking ghc actually works... [1 of 1] Compiling Main ( conftest.hs, conftest.o )
yes
checking the ghc core packages are all installed... yes
checking for perl... /usr/bin/perl
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
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
In fact, glEnd function did exist in /usr/include/GL/gl.h