Hi List!
I am trying to compile pymol via 2 ways on my Macbook pro Intel:
1) Via fink:
fink install pymol-py24
(installs version 0.99-1005)
All seems to be ok, but when running /sw/lib/pymol-py24/bin/pymol, I got this:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Serial number of failed request: 19
Current serial number in output stream: 20
PyMOL: abrupt program termination.
2) Via SVN Pymol 1.0
python setup.py build
Failed with:
[...]
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-D_PYMOL_MODULE -D_PYMOL_OSX -Iov/src -Ilayer0 -Ilayer1 -Ilayer2
-Ilayer3 -Ilayer4 -Ilayer5
-I/System/Library/Frameworks/OpenGL.framework/Headers
-I/System/Library/Frameworks/GLUT.framework/Headers
-I/System/Library/Frameworks/CoreFoundation.framework/Headers
-I/System/Library/Frameworks/AppKit.framework/Headers
-I/System/Library/Frameworks/ApplicationServices.framework/Headers
-I/System/Library/Frameworks/Cocoa.framework/Headers
-I/System/Library/Frameworks/IOKit.framework/Headers
-I/sw/include/python2.4 -c layer5/main.c -o
build/temp.darwin-8.10.1-i386-2.4/layer5/main.o
In file included from layer0/os_gl.h:44,
from layer5/main.c:27:
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:269:
warning: function declaration isn't a prototype
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:281:
warning: function declaration isn't a prototype
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:290:
warning: function declaration isn't a prototype
layer5/main.c: In function 'launch':
layer5/main.c:1484: error: 'MacPyMOLOption' undeclared (first use in
this function)
layer5/main.c:1484: error: (Each undeclared identifier is reported only once
layer5/main.c:1484: error: for each function it appears in.)
layer5/main.c:1485: error: 'MacPyMOLReady' undeclared (first use in
this function)
error: command 'gcc' failed with exit status 1
I am using:
ri python24 2.4.3-1001 Interpreted, object-oriented language
ii python24-shlib 2.4.3-1001 Interpreted, object-oriented language
ii freeglut 2.4.0-1 Opengl utility toolkit
ii freeglut-shlib 2.4.0-1 Opengl utility toolkit
ii glut-shlibs 3.7-1025 Opengl utility toolkit
ii libpng3 1.2.18-1 PNG image format handling library
ii libpng3-shlibs 1.2.18-1 Shared libraries for libpng3 package
ii tcltk 8.4.13-3 Tool Command Language and the Tk toolkit
ii tcltk-dev 8.4.13-3 Tool Command Language and the Tk toolkit
ii tcltk-shlibs 8.4.13-3 Tool Command Language and the Tk toolkit
ii freetype2 2.1.4-12 TrueType font rendering library, (dummy)
ii freetype219 2.2.1-4 TrueType font rendering library, headers
ii freetype219-sh 2.2.1-4 TrueType font rendering library, shared libs
And MacOSX OpenGL.
I also tried with python 2.4.3 OSX Framework version, same error.
My guess is it's trying to install MacPymol, but I don't know if I am
even allowed (although I use pymol only visualisation and have several
scripts written for it). Otherwise, how to tell setup to install pymol
for X11? If I can use MacPymol (and compile it), that's would be
great.
So, any hint here would be very appreciated.
Many thanks in advance.
Cheers,
Alan
--
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
http://www.bio.cam.ac.uk/~awd28<<