Log of an installation of libexodus on Ubuntu 8.04.1 LTS: Difference between revisions
From NEOSYS Dev Wiki
Jump to navigationJump to search
(New page: Preparation sudo su - apt-get update apt-get install postgresql-8.3 apt-get install libpq-dev apt-get install libicu-dev apt-get build-essential apt-get install subversion Boost v...) |
No edit summary |
||
Line 1: | Line 1: | ||
Preparation | === Preparation === | ||
sudo su - | sudo su - | ||
Line 9: | Line 9: | ||
apt-get install subversion | apt-get install subversion | ||
Boost version 1_38 (only 1_34 available by apt-get) | === 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 | wget http://downloads.sourceforge.net/boost/boost_1_38_0.tar.bz2?use_mirror=garr | ||
Line 21: | Line 23: | ||
ldconfig | ldconfig | ||
Exodus (pgexodus | === Exodus === | ||
(pgexodus (which allows "sort/select/index by") isnt included in this quick install) | |||
cd ~ | cd ~ | ||
Line 36: | Line 40: | ||
ln -s /usr/local/include/exodus-9.6/exodus /usr/local/include/exodus | ln -s /usr/local/include/exodus-9.6/exodus /usr/local/include/exodus | ||
Testing | === Testing === | ||
nano tester.cpp | nano tester.cpp | ||
<pre> | |||
#include <exodus/exodus.h> | #include <exodus/exodus.h> | ||
int main() { | int main() { | ||
date().oconv("D").outputln(); | date().oconv("D").outputln(); | ||
} | } | ||
</pre> | |||
g++ tester.cpp -lexodus-9.6 -lpq -I/user/local/include/exodus | g++ tester.cpp -lexodus-9.6 -lpq -I/user/local/include/exodus |
Revision as of 10:25, 26 June 2009
Preparation
sudo su - apt-get update apt-get install postgresql-8.3 apt-get install libpq-dev apt-get install libicu-dev apt-get build-essential apt-get 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 append BJAM_CONFIG= -j4 variant=release link=shared 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/user/local/include/exodus
/a.out
25 JUN 2009