Last active
August 29, 2015 14:03
-
-
Save WillSams/c6eb266be25b4f003e17 to your computer and use it in GitHub Desktop.
ODB Install for sqlite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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