OSX 10.6.4 Snow Leopard: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
(No difference)

Revision as of 22:58, 29 May 2011

Installing Exodus on Mac is almost identical to installing on Linux.

This install was performed on OSX 10.6.4 (Snow Leopard) on Macbook Pro

Installing dependencies

Installing C++ compiler

Insert mac osx install disk Open optional utilities folder Open xcode Follow instructions

The XCODE package includes subversion

Installing Postgres

This is Postgres 9.0.1 but you can use any version back to 8.1.0

http://www.postgresql.org/download/macosx

http://www.enterprisedb.com/products/pgdownload.do#osx

https://www.enterprisedb.com/getfile.jsp?fileid=1517

Once downloaded, just do a standard install and remember the admin user password.

Installing Boost

Minimum required is boost 1_33. Here we install 1.44 using "Macports".

---

Optionally get ICU to fully support unicode in boost regex. How to do this on Mac OSX is unknown at the moment.

  1. http://www.macports.org/install.php
  2. http://distfiles.macports.org/MacPorts/MacPorts-1.9.1-10.6-SnowLeopard.dmg

At the console command prompt

sudo port -v selfupdate
sudo port install boost

It takes at least an hour!

Building and Installing exodus

Download Exodus tar.gz

Latest-versions
http://code.google.com/p/exodusdb/downloads/detail?name=exodus-11.05.1.tar.gz

Move it to your home directory then ...

cd ~
tar xvfz exodus-11.05.1.tar.gz
cd exodus-11.05.1

Ensure postgres can be found (change 9.0 to your version!) and check pg_config can run

PATH=/Library/PostgreSQL/9.0/bin/:$PATH
pg_config
./configure
make
sudo make install

After exodus is installed, to setup postgres do the following.

configexodus

To get an exodus console (sets the right environment variables)

exodus
ls cli/src to see the exodus command line utilities and find some documentation on using exodus someone on this wiki