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 (Reverted edits by Anecada (Talk) to last revision by Steve)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Preparation ===
=== Preparation ===


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


=== Boost version 1_35 ===
sudo apt-get install postgresql postgresql-server-dev* libpq-dev  build-essential subversion \
libboost-dev libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-thread-dev


(only 1_34 available by apt-get)
The rest is almost identical to [[Log_of_an_installation_of_libexodus_on_Centos_5.3]]
 
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
 
<pre>
#include <exodus/exodus.h>
int main() {
date().oconv("D").outputln();
}
</pre>
 
g++ tester.cpp -lexodus-9.6 -I/usr/local/include/exodus
 
/a.out
 
25 JUN 2009

Latest revision as of 14:00, 24 November 2010

Preparation

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install postgresql postgresql-server-dev* libpq-dev  build-essential subversion \
libboost-dev libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-thread-dev

The rest is almost identical to Log_of_an_installation_of_libexodus_on_Centos_5.3