Log of an installation of libexodus on Ubuntu 8.04.1 LTS
From NEOSYS Dev Wiki
Jump to navigationJump to search
Preparation
sudo su - apt-get update apt-get install postgresql-8.3 libpq-dev libicu-dev build-essential install subversion
Boost version 1_38
(only 1_34 available by apt-get)
wget http://downloads.sourceforge.net/boost/boost_1_38_0.tar.bz2?use_mirror=garr tar xvf boost_1_38_0.tar.bz2 cd boost_1_38_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 -lpq -I/usr/local/include/exodus
/a.out
25 JUN 2009