Skip to content

Instantly share code, notes, and snippets.

@WillSams
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WillSams/c6eb266be25b4f003e17 to your computer and use it in GitHub Desktop.
Save WillSams/c6eb266be25b4f003e17 to your computer and use it in GitHub Desktop.
ODB Install for sqlite
sudo su #do your installs as root
mkdir /opt/odb
cd /opt/odb
wget http://www.codesynthesis.com/download/odb/2.3/odb_2.3.0-1_amd64.deb
wget http://www.codesynthesis.com/download/odb/2.3/libodb-2.3.0.zip
wget http://www.codesynthesis.com/download/odb/2.3/libodb-sqlite-2.3.0.zip
sudo dpkg -i odb*.deb
unzip libodb-2.3.0.zip
cd libodb-2.3.0
./configure
make
make install
cd ..
unzip libodb-sqlite-2.3.0.zip
cd libodb-sqlite-2.30
./configure
make
make install
exit #get out of root and back to your user account
cd ~/Projects/C++
wget http://www.codesynthesis.com/download/odb/2.3/odb-examples-2.3.0.zip
unzip odb-examples-2.3.0.zip
cd odb-examples-2.3.0
./configure --with-database=sqlite
make
make check
cd ~/Projects/C++
wget http://www.codesynthesis.com/download/odb/2.3/odb-tests-2.3.0.zip
unzip odb-tests-2.3.0.zip
cd odb-tests-2.3.0
./configure --with-database=sqlite
make
make check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment