Building Paintown from the source code.
The first step for all platforms is to get the code. The paintown source code is stored in subversion. Get a subversion client for your platform and check out the following URL.
SVN Url
https://svn.code.sf.net/p/paintown/code/trunk
Example for linux systems. The $ is a shell prompt, you don't actually type it.
~ $ svn co https://svn.code.sf.net/p/paintown/code/trunk paintown ~ $ ls paintown
To build paintown you have an option of using cmake or scons. Having both systems in place ensures that at least one of them will work. For what its worth the project owner, Jon Rafkind, uses scons. If you just type make by default the scons build will be invoked. The makefile will also find out how many cores your system has and start a parallel build with that number.
~/paintown $ make
On my dual-core laptop this is equivalent to
~/paintown $ scons -j 2
You can always just invoke scons directly:
~/paintown $ scons
To use cmake you should build a temporary directory and configure the project there.
~/paintown $ mkdir b ~/paintown $ cd b ~/paintown/b $ cmake .. ~/paintown/b $ make
Ubuntu instructions There is a script in the paintown directory that will install all the necessary dependancies and build the project for you, easy-compile-ubuntu. Run it like so:
~/paintown $ ./easy-compile-ubuntu