Skip to content

Instantly share code, notes, and snippets.

@slok
Created February 27, 2011 13:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slok/846176 to your computer and use it in GitHub Desktop.
Save slok/846176 to your computer and use it in GitHub Desktop.
Redland librdf installation (GNU/Linux)
--------------
Raptor2-2.0.0
--------------
[For GRDDL requieres libxml2 and libxslt]
$ tar xvf ./raptor2-2.0.0.tar.gz
$ cd ./raptor2-2.0.0
$ ./configure --prefix=/usr --libdir=/usr/lib64
$ make
$ make check
$ cd ./examples
$ make grapper
$ make examples
$ [ejecutar los ejemplos compilados]
$ cd ../
# make install
--------------
rasqal-0.9.25
--------------
$ tar xvf ./rasqal-0.9.25.tar.gz
$ cd ./rasqal-0.9.25
$ ./configure --prefix=/usr --libdir=/usr/lib64
$ make
$ make check
# make install
--------------
redland-1.0.13
--------------
$ tar xvf ./redland-1.0.13.tar.gz
$ cd ./redland-1.0.13
$ ./configure --prefix=/usr --libdir=/usr/lib64 --with-mysql
$ make
$ make check
$ cd ./examples/
$ make examples
$ ./example1 http://paginaspersonales.deusto.es/dipina/resources/diego.rdf
$ cd ../
# make install
--------------
redland-bindings-1.0.13.1
--------------
[Process only for python]
$ tar xvf ./redland-bindings-1.0.13.1.tar.gz
$ cd ./redland-bindings-1.0.13.1
$ ./configure --with-python
$ make
$ make check
# make install
$ cd ./python/
$ python ./example.py
$ cat ./test-out.rdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment