Windows



Building PyMOL under Windows requires installing the MinGW/MSYS programming environment. Make sure that you install from the MinGW file repository the following modules (binary only, you will not need sources):

Get the latest autoconf, automake and libtool; build and install them from a MSYS shell as follows:

$ ./configure --prefix=/mingw
$ make
$ make install

Get the latest zlib, build and install it:

$ ./configure --prefix=/mingw
$ make

You will likely get an error like the following:

ld.exe: cannot find -lc

To fix it, just re-issue the last echoed line which failed, removing the final -lc, then:

$ make
$ cp libz.so.1.2.? libz.so
$ make install

Get the latest libpng, build and install it:

$ ./configure --prefix=/mingw
$ make
$ make install

Get the latest GLUT for MinGW, unzip, then copy include/glut.h into /mingw/include/GL, copy libglut32.a into /mingw/lib and glut32.dll into the pymol directory that you got from the tarball.
Get the latest GLEW Win32 binary, unzip, then copy include/GL/*.h into /mingw/include/GL, copy bin/glew32.dll as /mingw/lib/libglew32.dll.a; copy bin/glew32.dll also into the pymol directory that you got from the tarball.
Download and install Python 2.5.4, accepting all defaults.
You should end up with a Python25 directory in your hard-disk root. Now cd into /c/Python25/Lib/distutils and create a file named distutils.cfg containing the following two lines:

[build]
compiler = mingw32


Download Python megawidgets, cd in the src subdirectory and issue the following command from a MSYS shell:

$ /c/Python25/python.exe setup.py build
$ /c/Python25/python.exe setup.py install


Now cd in the pymol directory and patch a few files, namely:
Now issue the following commands:

$ /c/Python25/python.exe setup.py build
$ /c/Python25/python.exe setup.py install
$ /c/Python25/python.exe setup2.py install


If the build process succeeds, you will obtain a pymol.bat executable in your current working directory.

Sitemap
Print version
Contact
Mailing list


Last update:
May 31. 2015 20:39:55

Powered by
CMSimple - CMSimple-Styles


Get Open3DALIGN at SourceForge.net. Fast, secure and Free Open Source software downloads



Would you like to test your
alignment in a 3D-QSAR
model? Try Open3DQSAR
Just wish to compute a MIF?
Try Open3DGRID