The swig files won't compile.
You're probably using the wrong version of swig. OOF2
requires version 1.1 build 883. You'll have to delete
everything from the SRC/SWIG directory, and replace it
with a fresh copy from the oof2 distribution (or just
delete your entire oof2 directory and start over). Then
build and install OOF2 with one command, like
python setup.py build --skip-swig install --prefix=prefix
I get lots of messages like this during compilation:
Warning(124): Specifying the language name in %typemap
is deprecated - use #ifdef SWIG<LANG>
You're using the wrong version of swig. See above.
coordcmodule.C won't compile, indicated by a long string
of error messages beginning with
SRC/SWIG/common/coordcmodule.C:2776: error: cannot
allocate an object of abstract type 'Position'.
You're still using the wrong version of swig. See above.
I've installed gtk2/pygtk2 but the build script says
that it can't find it.
You probably haven't installed the development versions
of those packages, so the required header files aren't
present. Development packages usually have names ending
in -dev, such as python-gtk2-dev on
I get a long error message ending with KeyError:
See the Ubuntu