Author: Dan Lawson
Last updated: 25/10/11

These files should be functional mac binaries.  Included are:

chromopainter
chromocombine

As of now, the finestructure and GUI versions are not available due to time constraints. If you make them work (or fail to!) please let me know.

Dan

################################
## How I compiled these:

1. Get GSL:

From http://www.dayel.com/2009/09/building-gsl-universal-binary/

I found the following link:

http://www.dayel.com/comet/libs/gsl/gsl-1.15.tar.gz

Download this and then do:

tar -xzvf gsl-1.15
cd gsl-1.15
./configure
make
sudo make install

2. Get Zlib:

From http://zlib.net/

Download the file:

http://zlib.net/zlib-1.2.5.tar.gz

tar -xzvf zlib-1.2.5
cd zlib-1.2.5
./configure
make
sudo make install

2. You should now be able to compile all non-GUI components.

ChromoPainter: "make" didn't work for me, some error to do with zlib versions I think.  However the following (from the ChromoPainter manual) does work:

gcc -o chromopainter ChromoPainterMain.c -lm -lz

FineStructure: This compiles but behaves oddly for me. It does not pass command line arguments and the RNG does not initialise correctly. I think that the RNG problem is the root cause.

GUIs: There is no obvious reason these won't work once the command line versions do, I didn't have time or permissions to install the required libraries.


