Building PyMOL under FreeBSD is very straightforward. Make sure that you have installed on your system the following FreeBSD ports:
glew. You will also need to build from source Python megawidgets.
Once you have satisfied these dependencies, you will probably need to edit some paths to header files in the
setup.pybuild script present in the
pymolsource directory; look for the line
else: # linux or other unix
which is followed by something like:
inc_dirs=["ov/src",You will probably need to change
/usr/local/include/freetype2and to add additional paths to
Once you are done, just type in your shell:
$ python setup.py build
# python setup.py install
# python setup2.py install
If the build process succeeds, you will obtain a
pymolexecutable in your current working directory.