OSX 10.6.4 Snow Leopard: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
This install was performed on OSX 10.6.4 (Snow Leopard) on Macbook Pro
This install was performed on OSX 10.6.4 (Snow Leopard) on Macbook Pro


=== Installing dependencies ===
= Installing C++ compiler =
 
==== Installing C++ compiler ====


Insert mac osx install disk
Insert mac osx install disk
Line 14: Line 12:
The XCODE package includes subversion
The XCODE package includes subversion


==== Installing Postgres ====
= Installing Postgres =


This is Postgres 9.0.1 but you can use any version back to 8.1.0
This is Postgres 9.0.1 but you can use any version back to 8.1.0
Line 26: Line 24:
Once downloaded, just do a standard install and remember the admin user password.
Once downloaded, just do a standard install and remember the admin user password.


==== Installing Exodus ====
= Installing Exodus =


<pre>
<pre>
Line 32: Line 30:




#install icu
# 1. Install ICU
cd ~
cd ~
svn co http://source.icu-project.org/repos/icu/icu/tags/release-4-8/ icu48
svn co http://source.icu-project.org/repos/icu/icu/tags/release-4-8/ icu48
Line 40: Line 38:
sudo make install
sudo make install


# install boost
# 2. Install Boost
cd ~
cd ~
rm -f boost_1_46_1.tar.gz
rm -f boost_1_46_1.tar.gz
Line 53: Line 51:




# install Exodus
# 3. Install Exodus
 
export PATH=/Library/PostgreSQL/9.0/bin/:$PATH
export PATH=/Library/PostgreSQL/9.0/bin/:$PATH
cd ~
cd ~
svn co HTTPS://exodusdb.googlecode.com/svn/trunk/ exodus
svn co HTTPS://exodusdb.googlecode.com/svn/trunk/ exodus
Line 62: Line 62:
make
make
sudo make install
sudo make install
# 4. Configure Exodus for Postgres and vice versa
After exodus is installed, to setup postgres do the following.
configexodus
# 5. Test Exodus
To get an exodus console (sets the right environment variables)
exodus
testsort
ls cli/src to see the exodus command line utilities and find some documentation on using exodus someone on this wiki


</pre>
</pre>


==== Installing Ports ====
= Installing Ports =


This is not needed for Exodus but it useful to install unix-like tools
This is not needed for Exodus but it is useful to install unix-like tools on mac


#http://www.macports.org/install.php
#http://www.macports.org/install.php

Revision as of 02:18, 30 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 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 Exodus

#!/bin/bash


# 1. Install ICU
cd ~
svn co http://source.icu-project.org/repos/icu/icu/tags/release-4-8/ icu48
cd icu48/source
./configure
make
sudo make install

# 2. Install Boost
cd ~
rm -f boost_1_46_1.tar.gz
wget http://sourceforge.net/projects/boost/files/boost/1.46.1/boost_1_46_1.tar.gz
echo untarring boost, be patient, lots of files.
tar xfz boost_1_46_1.tar.gz
cd boost_1_46_1

#bjam should say "has_icu builds: yes" otherwise check your icu installation above
./bootstrap.sh
sudo ./bjam --with-date_time --with-filesystem --with-regex --with-system --with-thread -a install


# 3. Install Exodus

export PATH=/Library/PostgreSQL/9.0/bin/:$PATH

cd ~
svn co HTTPS://exodusdb.googlecode.com/svn/trunk/ exodus
cd ~/exodus
./configure
make clean #in case half-built with wrong boost libs
make
sudo make install

# 4. Configure Exodus for Postgres and vice versa

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

 configexodus

# 5. Test Exodus

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

 exodus
 testsort

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

Installing Ports

This is not needed for Exodus but it is useful to install unix-like tools on mac

  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 <put your favourite packages>