Log of an installation of libexodus on Ubuntu 8.04.1 LTS: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
m (install repeated on apt-get command line)
Line 3: Line 3:
  sudo su -
  sudo su -
  apt-get update
  apt-get update
  apt-get install postgresql-8.3 libpq-dev libicu-dev build-essential subversion
apt-get upgrade
  apt-get install postgresql libpq-dev libboost-dev build-essential subversion


=== Boost version 1_35 ===
=== Boost version 1_35 ===

Revision as of 01:04, 8 July 2009

Preparation

sudo su -
apt-get update
apt-get upgrade
apt-get install postgresql libpq-dev libboost-dev build-essential subversion

Boost version 1_35

(only 1_34 available by apt-get)

wget http://downloads.sourceforge.net/boost/boost_1_35_0.tar.bz2
tar xvf boost_1_35_0.tar.bz2
cd boost_1_35_0
./configure --with-libraries=date_time,filesystem,regex,system,thread
nano Makefile
.. and add -j4 variant=release link=shared  to the end of the line BJAM_CONFIG=
make
make install
ldconfig

Exodus

(pgexodus (which allows "sort/select/index by") isnt included in this quick install)

cd ~
mkdir exodus
cd exodus
svn co http://svn.neosys.com/svn/trunk
cd trunk/exodus/exodus
./configure
make
make install
ldconfig
ln -s /usr/local/include/exodus-9.6/exodus /usr/local/include/exodus 

Testing

nano tester.cpp
 #include <exodus/exodus.h>
 int main() {
	date().oconv("D").outputln();
 }
g++ tester.cpp -lexodus-9.6 -I/usr/local/include/exodus
/a.out
25 JUN 2009