When running "python setup.py build" in the pymol directory of version 1.7.4.0, I get an error that stops pymol from compiling (see below). Does anyone know how to fix this problem.
Dwayne gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -D_PYMOL_LIBPNG -D_PYMOL_INLINE -D_PYMOL_OPENGL_SHADERS -D_PYMOL_CGO_DRAWARRAYS -D_PYMOL_CGO_DRAWBUFFERS -D_PYMOL_GL_CALLLISTS -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_FREETYPE -DNO_MMLIBS -D_CGO_DRAWARRAYS -DOPENGL_ES_2 -D_PYMOL_NUMPY -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/include -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python2.6 -c layer5/PyMOL.cpp -o build/temp.linux-x86_64-2.6/layer5/PyMOL.o -Werror=implicit-function-declaration -Werror=declaration-after-statement -Wno-write-strings -Wno-unused-function -Wno-empty-body -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon layer2/ObjectMap.cpp: In function ‘int ObjectMapCCP4StrToMap(ObjectMap*, char*, int, int, int)’: layer2/ObjectMap.cpp:2487: warning: comparison between signed and unsigned integer expressions layer3/Executive.cpp: In function ‘void ExecutiveFullScreen(PyMOLGlobals*, int)’: layer3/Executive.cpp:13998: error: ‘glutLeaveFullScreen’ was not declared in this scope layer3/Executive.cpp:13981: warning: unused variable ‘I’ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -D_PYMOL_LIBPNG -D_PYMOL_INLINE -D_PYMOL_OPENGL_SHADERS -D_PYMOL_CGO_DRAWARRAYS -D_PYMOL_CGO_DRAWBUFFERS -D_PYMOL_GL_CALLLISTS -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_FREETYPE -DNO_MMLIBS -D_CGO_DRAWARRAYS -DOPENGL_ES_2 -D_PYMOL_NUMPY -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/include -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python2.6 -c layer1/Symmetry.cpp -o build/temp.linux-x86_64-2.6/layer1/Symmetry.o -Werror=implicit-function-declaration -Werror=declaration-after-statement -Wno-write-strings -Wno-unused-function -Wno-empty-body -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon error: command 'gcc' failed with exit status 1gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -D_PYMOL_LIBPNG -D_PYMOL_INLINE -D_PYMOL_OPENGL_SHADERS -D_PYMOL_CGO_DRAWARRAYS -D_PYMOL_CGO_DRAWBUFFERS -D_PYMOL_GL_CALLLISTS -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_FREETYPE -DNO_MMLIBS -D_CGO_DRAWARRAYS -DOPENGL_ES_2 -D_PYMOL_NUMPY -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/include -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python2.6 -c contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c -o build/temp.linux-x86_64-2.6/contrib/uiuc/plugins/molfi le_plugin/src/vaspoutcarplugin.o -Werror=implicit-function-declaration -Werror=declaration-after-statement -Wno-write-strings -Wno-unused-function -Wno-empty-body -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon [root@tb3-2e32-linux pymol]# contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c: In function ‘open_vaspoutcar_read’: contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c:88: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c: In function ‘read_vaspoutcar_structure’: contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c:205: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c: In function ‘read_vaspoutcar_timestep’: contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c:240: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c:243: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result layer2/RepCartoon.cpp: In function ‘void do_ring(PyMOLGlobals*, short int, int, int*, ObjectMolecule*, CoordSet*, float, CGO*, int, int, float, int, int, int, int, int*, int, float, float, int*, float*, float)’: layer2/RepCartoon.cpp:263: warning: ‘ai’ may be used uninitialized in this function layer2/ObjectMap.cpp: In function ‘int ObjectMapNumPyArrayToMapState(PyMOLGlobals*, ObjectMapState*, PyObject*, int)’: layer2/ObjectMap.cpp:5533: warning: ‘dens’ may be used uninitialized in this function layer5/PyMOL.cpp: In function ‘PyMOLreturn_status Loader(CPyMOL*, char*, char*, int, char*, char*, int, int, int, int, int, int)’: layer5/PyMOL.cpp:3106: warning: comparison between signed and unsigned integer expressions layer2/ObjectMap.cpp: In function ‘int ObjectMapStateTrim(PyMOLGlobals*, ObjectMapState*, float*, float*, int)’: layer2/ObjectMap.cpp:491: warning: ‘frac_mn’ may be used uninitialized in this function layer2/ObjectMap.cpp:492: warning: ‘frac_mx’ may be used uninitialized in this function ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net