------------------------------------------------------------------------
------------------------------------------------------------------------

Building the PyMOL external dependencies ("ext") tree

1. Edit the build.com script

   a. Set the BASE variable to point to this directory

   b. Decide whether or not you are going to compile the wxPython stuff.
      (you'll need to download those optional sources separately). 
      Adjust targets accordingly.  

   c. Modify the other variable values to reflect your operating system.

      NOTE: To compile under IRIX, you may need GNU make (gmake), which is
      available as freeware from SGI. (I think gmake may only be required
      for compiling wxPython - if you're just doing Tcl/Tk Irix make is fine).

   d. Check if you already have libpng version 2 on your system 
      (for example, recent linux distributions often have it).  
      If you have version 2, then version 1 will not work with 
      version 2 libraries, so simplyt remove png-linux 
      (or png-<whatever>) from the target list.

2. Run ./build.com 

   This will build everything (in a perfect world).

   If errors occur, then you will need to fix them and finish the build
   manually, since "./build.com" alone will always start from the very
   beginning.

      ./build.com <target-name>
      ./build.com <target-name>
      ./build.com <target-name> 
      (etc..)

   To run the PyMOL core without an external gui, you will only need:

      ./build.com zlib
      ./build.com python   
      ./build.com png-[linux or irix]
      ./build.com glut-[linux or irix]

   For a Tcl/Tk based external gui, you will need to build

      run: 

      ./build.com tcl
      ./build.com tk

      *before* building python and run

      ./build.com pmw

      *after* building python

   For a wxPython based external gui, you will need to build

      ./build.com glib
      ./build.com gtk
      ./build.com wxgtk
      ./build.com wxpython

      NOTE: the above targets have only been tested on Linux in this release.

3. Once everything is compiled, make sure that a symbolic link "ext" from the
   pymol directory points to the BASE directory so that PyMOL can find the
   libraries and the include files it needs.

Good luck!

Warren





