RedStore Installation on firuta
From ETaxonomy
1. Download the required versions of the Redland RDF Libraries as well as RedStore source:
cd /tmp wget http://download.librdf.org/source/raptor2-2.0.6.tar.gz wget http://download.librdf.org/source/rasqal-0.9.28.tar.gz wget http://download.librdf.org/source/redland-1.0.15.tar.gz wget http://www.aelius.com/njh/redstore/redstore-0.5.4.tar.gz
2. Unpack the archives:
tar -zxvf raptor2-2.0.6.tar.gz tar -zxvf rasqal-0.9.28.tar.gz tar -zxvf redland-1.0.15.tar.gz tar -zxvf redstore-0.5.4.tar.gz
3. Install automake, libtoolize, gtkdocize the dependencies for the autogen script:
sudo su apt-get install automake apt-get install libtool apt-get install gtk-doc-tools
4. Now run the autogen script, install libxml (the xml parser to be used by raptor) and then compile and install:
cd raptor2-2.0.6 ./autogen.sh apt-get install libxml2-dev ./configure make make install
5. Now we must compile rasqal, first we need the latest version of flex and bison before we run the autogen script:
apt-get install flex apt-get install bison
6. Now run the autogen script followed by configure, make and install:
cd redland-1.0.15 ./autogen.sh ./configure make make install
7. Now for redland
cd rasqal-0.9.28 ./autogen.sh ./configure make make install
8. We can finally install redstore now that the dependancies are taken care of.
cd redstore-0.5.4 ./configure make make install ldconfig
9. Start redstore on port 8086:
redstore -p 8086 -b localhost
10. Shutdown by finding the process and killing it (replace pid with the pid you find from the first command)
ps | grep redstore kill pid