Thanks Warren,

I update from pymol from SVN and to python2.5 (Fink), then :

python2.5 setup.py build [OK]
sudo python2.5 setup.py install [OK]
sudo python2.5 setup2.py install [OK]

Then:
./pymol failed with:

Fatal Python error: Interpreter not initialized (version mismatch?)
./pymol: line 2:  9512 Abort trap              /sw/bin/python2.5
/sw/lib/python2.5/site-packages/pymol/__init__.py $*

[all process above with python2.4]
Fatal Python error: Interpreter not initialized (version mismatch?)
pymol: line 2:  6249 Abort trap              /sw/bin/python2.4
/sw/lib/python2.4/site-packages/pymol/__init__.py $*

trying with pymol-py24 or pymol-py25 from Fink (1.0-1000) gave this error:

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.

I must say that I never ever had problems running any X11 application
in my Mac, only pymol from Fink shows that.

If I use pymol -c build_pep2.py (no X), it works fine.

I hope I can find a solution.

Cheers,
Alan

On 27/06/07, DeLano Scientific <del...@delsci.info> wrote:
Alan,

Okay, I found the glitch with the OSX defines -- my bad.

However, I also rediscovered what the hidden difficultly is with compiling
PyMOL under X11, and that is: Mac OS X's built-in python has an Aqua-based
Tcl/Tk/Tkinter implementation NOT bound to X11 and which does not work with
PyMOL due to conflicts in the threading and event model.

So to compile PyMOL for X11 on Mac OS X, one needs a separate
Python/Tcl/Tk/Tkinter instance that has been built for X11.  Where you do
get that?  Fink.

So the bottom line message is: Open-source PyMOL for X11 under Mac OS X must
be compiled under the Fink environment, not straight Mac OS X.  We need to
fix the default setup.py to reflect this fact.

Cheers,
Warren

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


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

Reply via email to