Re: [maker-devel] Maker

33 views
Skip to first unread message

Carson Holt

unread,
Jun 17, 2010, 5:46:11 PM6/17/10
to Christian Schlötterer, MAKER
Here is a step by step guide to getting exonerate 2 to work on Mac OS X 10.6 (and only for 10.6). If it seems too intimidating just install exonerate 1.0, it still works although it can sometimes have weird problems.  You should be able to cut and paste one command line at a time.  New Macs with OS X 10.6 are quirky because they have the new 64-bit Intel processor and a hybrid operating system (some parts are 32 bit and some parts are 64 bit).  This has caused all kinds of problems for some Linux modules/libraries when installing on a new Mac with OS X 10.6.

Follow these steps exactly in order to get exonerate installed.

Delete any old version of fink:
rm -rf /sw

Copy the file attached to this e-mail to your Desktop. Then add it to the folder ~/bin.  Make sure you specify to copy to ~/bin/gcc exactly so the file will have the correct name in the end, as downloading this file via e-mail for some reason almost  always tacks a .pl extension on the end:
mkdir  ~/bin
cp  ~/Desktop/gcc*  ~/bin/gcc
chmod  a+x  ~/bin/gcc

Add ~/bin to you PATH variable in .bash_profile or .profile (you may have to create this file if it doesn’t exist):
export PATH=$HOME/bin:$PATH

Reload your .bash_profile or .profile:
source .bash_profile
source .profile

Now download and install fink from http://downloads.sourceforge.net/fink/ fink-0.29.10.tar.gz (clicking the link should download it into your ~/Downloads folder):
cd ~/Downloads
tar -xvf fink-0.29.10.tar.gz
cd fink-0.29.10
./bootstrap /sw
/sw/bin/pathsetup.sh
fink selfupdate

Now install libgettext3-dev:
fink scanpackages
sudo apt-get update
sudo apt-get install libgettext3-dev=0.14.5-2

Now install glib and glib2
fink install glib
fink install glib2-dev

Then install exonerate from the source code http://www.ebi.ac.uk/~guy/exonerate/exonerate-2.2.0.tar.gz (clicking the link should download it into your ~/Downloads folder).
cd ~/Downloads/exonerate-2.2.0
./configure
make
make install

Now everything should be ready to go.  Just type exonerate to test.  You can also remove the file ~/bin/gcc if you want.  The file is forcing fink and any other packages to always install things in 32-bit for compatibility.  You will need to remove it if you ever want to compile in 64-bit.  Many things you install via fink will not work in 64-bit on a Mac, and neither will exonerate, which is why I had you add the file.

Thanks,
Carson
gcc
Reply all
Reply to author
Forward
0 new messages