Building and Installing

The module builds and tests pass with Python 2.3, 2.4, and 2.5. Earlier versions of Python will not work. I have developed this on both OS X and Linux. I do not know if it will work on Windows; this may be easy with appropriate simple modifications to the build process, but I am unable to confirm this.

Here are the brief instructions for installing.

In the ideal case, this will just work.

Troubleshooting

This contains a guide for if you are having trouble building or testing.

If You're Having Trouble Building

Below are some suggestions to try or avenues to pursue if you're having trouble building. This is not an exhaustive list, just "the most likely suspects."

If You're Having Trouble Testing

Once you have built the module successfully and there is a graphcut.so symbolic link to the build directory's shared library, you should run the principle test suite through make test. The tests should succeed with an OK. If the tests do not succeed, email me a bug report with a copied-and-pasted transcript and description of the failure, as well as relevant information related to your system and Python installation (e.g., "I am using OS X 10.4 with the Fink installed version of Python 2.5.1" or "I am using Ubunto with the default package manager's Python 2.4").

If You're Having Trouble Installing

If it says permission denied when running make install, perhaps you need to run the command as the superuser, e.g., sudo make install on OS X and most modern Linux distributions.


Thomas Finley, 2007