Log of an installation of libexodus on Centos 5.3
From NEOSYS Dev Wiki
Jump to navigationJump to search
Preparation
sudo yum update sudo yum install boost-devel postgresql-devel gcc-c++ subversion postgresql-server sudo service postgresql start
Exodus
cd ~ mkdir exodus cd exodus svn co http://svn.neosys.com/svn/trunk cd trunk/exodus
./configure make sudo make install
sudo nano /etc/ld.so.conf
... and add the following line (note: NO preceding word include)
/usr/local/lib
register the new libraries
sudo /sbin/ldconfig
make a pointer to the include files
sudo 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(); print(oconv(date(),"D")); }
g++ tester.cpp -lexodus -I/usr/local/include/exodus
./a.out
27 JUN 2009 27 JUN 2009