[PyMOL] Compilation problem with Pymol v1.7.4.0

2015-01-23 Thread McCully, Dwayne (NIH/NIAMS) [C]
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: 

Re: [PyMOL] Compilation problem with Pymol v1.7.4.0

2015-01-23 Thread David Hall
 On Jan 23, 2015, at 7:32 PM, McCully, Dwayne (NIH/NIAMS) [C] 
 dmccu...@mail.nih.gov wrote:
 
 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
 
 
 layer3/Executive.cpp:13998: error: ‘glutLeaveFullScreen’ was not declared in 
 this scope


This was fixed in the svn commit following 1.7.4.0 (commit 4105)

http://sourceforge.net/p/pymol/code/4107/log/?path=/trunk 
http://sourceforge.net/p/pymol/code/4107/log/?path=/trunk

-David--
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