Hurrah!

It's working, even X11, all fine. Thanks a lot Warren.

Cheers,
Alan

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

svn update and try rebuilding.

The problem was that the existing setup.py was still linking against
Apple-provided Python as opposed to Fink Python.  Also note that I've added
some additional defines so that you'll be able to save images and use
scalable fonts.  See setup.py for a full list of the Fink dependencies
required.

Cheers,
Warren

--
DeLano Scientific LLC
Subscriber Support Services
mailto:del...@delsci.info

"Not yet a PyMOL Subscriber, but want to support the project?  Email
sa...@delsci.com to quote your lab, school, or employer.  Thank you for
sponsoring this open-source endeavor!" -WLD


> -----Original Message-----
> From: pymol-users-boun...@lists.sourceforge.net
> [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of Alan
> Sent: Monday, July 02, 2007 12:43 PM
> To: Pymol; Warren DeLano
> Subject: [PyMOL] compiling pymol on Mac intel
>
> 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<<
>
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users




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