Hi, This line is self explanatory "error: GL/glut.h: No such file or directory". You need to install glut development libraries On Ubuntu you can use apt to install pymol. sudo apt-get install pymol or something similar
Marius On Thu, Feb 12, 2009 at 12:52 PM, Abhik Mukhopadhyay <ab...@dq.fct.unl.pt> wrote: > Dear All > I am trying to install pymol as described in the pymol wiki. I am experiencing > some problems. I am using Ubuntu 8.10 64 bits version in an AMD machine. The > last part of the output after the "sudo python setup.py install" was > > layer0/os_gl.h:69: error: expected ')' before 'width' > layer0/os_gl.h:121:20: error: GL/glut.h: No such file or directory > In file included from layer5/main.h:35, > from layer0/Block.c:20: > layer0/os_python.h:28:19: error: Python.h: No such file or directory > In file included from layer0/Block.c:20: > layer5/main.h:45: error: expected ')' before '*' token > layer5/main.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' > before > '*' token > layer0/Block.c: In function 'BlockFill': > layer0/Block.c:43: warning: implicit declaration of function 'glBegin' > layer0/Block.c:43: error: 'GL_POLYGON' undeclared (first use in this function) > layer0/Block.c:43: error: (Each undeclared identifier is reported only once > layer0/Block.c:43: error: for each function it appears in.) > layer0/Block.c:44: warning: implicit declaration of function 'glVertex2i' > layer0/Block.c:48: warning: implicit declaration of function 'glEnd' > layer0/Block.c: In function 'BlockOutline': > layer0/Block.c:56: error: 'GL_LINE_LOOP' undeclared (first use in this > function) > error: command 'gcc' failed with exit status 1 > > Then I checked this > > caspio:~/pymol_temp/pymol> gcc -v > Using built-in specs. > Target: x86_64-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu > 4.3.2-1ubuntu12' > --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared > --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > --enable-threads=posix --enable-nls > --with-gxx-include-dir=/usr/include/c++/4.3 > --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug > --enable-objc-gc --enable-mpfr --enable-checking=release > --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu > Thread model: posix > gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) > > If anyone has any idea to solve this. > Thanks in advance. > Abhik > -- > Dr. Abhik Mukhopadhyay > Post Doctoral Associate > Universidade Nova de Lisboa, > FCT, Caparica, > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users >