Does the existing fink pymol not work for you?  http://pdb.finkproject.org/pdb/package.php/pymol-py27

You can look at it's info file for guidance on building on Mac if you want your own build.

-David

On Aug 11, 2011, at 12:15 PM, Matthias Schmidt <matthias.rene.schmidt@gmail.com> wrote:

Hi,

I downloaded PyMol from https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol
and tried to compile it with /sw/bin/python2.7 setup.py build

The compilation works fine, but when it comes to linking, I get an error related to undefined symbols in an OpenGL library wrapper.

Do you have any advice on how to compile Pymol succesfully on a Mac (SnowLeopard, with XCode and Fink) or how to solve the linking error? I have installed Glew using fink and so I have the following files in sw/

./include/GL/glew.h
./include/GL/wglew.h
./lib/libGLEW.1.6.0.dylib
./lib/libGLEW.1.dylib
./lib/libGLEW.a
./lib/libGLEW.dylib
./lib/pkgconfig/glew.pc

I use /opt/local/bin/i686-apple-darwin10-g++-4.0.1 from ports as compiler. 

Nevertheless, I don't manage to get it compiled.

Best,

Matthias
--
Structural Bioinformatics and Computational Biochemistry Unit
Dept. of Biochemistry
University of Oxford

http://sbcb.bioch.ox.ac.uk/schmidt.php

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
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