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: