Hi gang,

Just wanted to share some notes on compiling and getting Pymol 1.3.x running
on OS X Snow Leopard. Before proceeding, you'll of course need the XCode SDK
which comes supplied with the OS X cd's or downloaded through apple's
developer site.


(1) Compilation:

For some reason, the included freetype2 library is insufficient even though
the compilation flags correctly point to the library's path
(ext/include/freetype2).  The compilation fails with the following message
(truncated):

In file included from layer1/TypeFace.c:25:
/usr/X11R6/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
such file or directory

The fix is to prepend the build step with the following CFLAGS environment
variable like so which points to the system default X11 library:

CFLAGS="-I/usr/X11R6/include/freetype2" python setup.py build

You can then proceed with the installation, followed by the secondary
setup2.py commend as noted at the end of the build step.

(2) Additional library:
A required library, Pmw,  isn't included with the SVN trunk, so you'll need
to download it from the following site:

http://sourceforge.net/projects/pmw/files/

Unpack; dive into the src folder and issue
python setup.py build
python setup.py install

All should work.

Cheers,
Paul

-- 
Paul Rigor
http://www.ics.uci.edu/~prigor
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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

Reply via email to