From 5932bfddbf939694a706b7e97a89cbaf356964f3 Mon Sep 17 00:00:00 2001 From: pjotrp Date: Mon, 25 Jan 2010 17:15:32 +0100 Subject: [PATCH] Some help for OSX --- INSTALL | 2 +- doc/OSX.txt | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index d57dc42..0ad287d 100755 --- a/INSTALL +++ b/INSTALL @@ -45,7 +45,7 @@ Install or build the following tools on your system gcc > 3.3.x (usually default on Linux) cmake >= 2.6 (2008 distributions - needed for SWIG support) - swig >= 1.3.33 (2008 distributions) + swig >= 1.3.36 (2009 distributions) python >= 2.4 (if you want Python support) ruby >= 1.8.6 (if you want Ruby support) perl >= 5.8.8 (if you want Perl support) diff --git a/doc/OSX.txt b/doc/OSX.txt index bddcd0f..b4b78c6 100755 --- a/doc/OSX.txt +++ b/doc/OSX.txt @@ -1,10 +1,10 @@ = OS X with BioLib = Biolib requires cmake and swig which can be installed with darwin -ports: +ports / macports: port install cmake - port install swig + port install swig-perl Installing swig @1.3.38_0+perl+php5+python+ruby set the path: @@ -18,6 +18,15 @@ test: == Trouble shooting == +=== SWIG errors === + +Make sure you are running a version of SWIG that works - 1.3.38 or +later. + +=== Error: Unable to find 'perl5.swg' === + +You'll need to install swig for perl - swig-perl. + === Shared libraries === OSX is fussy with shared libraries at build time, compared to Linux.