Sorry for a question that I feel has been answered a hundred times, but I can't seem to find a solution anywhere.

I try to install PyMOL via svn on a Redhat EL5 system as described in the wiki:

svn co https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol pymol
cd pymol
python setup.py install

After a lot of copying and some compiling, it exits with the following error:

In file included from layer0/Block.c:17:
layer0/os_gl.h:121:20: error: GL/glut.h: No such file or directory
error: command 'gcc' failed with exit status 1

freeglut-2.4.0-7.1.el5 is installed

In setup.py, I see that lib_dirs is defined as /usr/X11/libs, which does not exist. Should I be messing with this?


Andreas



--
        Andreas Förster, Research Associate
        Paul Freemont & Xiaodong Zhang Labs
Department of Biochemistry, Imperial College London

Reply via email to