# HG changeset patch # User ymh # Date 1426778238 -3600 # Node ID fe706c358cc3b4dc2dfb518392238181de0e4b76 # Parent a5ee0146e59ddb80149510c7fafc08f0fbb18e24 clean comment in import rdf command diff -r a5ee0146e59d -r fe706c358cc3 src/hdabo/management/commands/import_rdf.py --- a/src/hdabo/management/commands/import_rdf.py Thu Mar 19 16:08:26 2015 +0100 +++ b/src/hdabo/management/commands/import_rdf.py Thu Mar 19 16:17:18 2015 +0100 @@ -2,85 +2,6 @@ ''' Created on May 25, 2011 - -Compilation: - -#Install librdf -# install raptor2 : configure --prefix= + make + make install -# install librasql : PKG_CONFIG_PATH=/Users/ymh/dev/venvs/hdalab/lib/pkgconfig RAPTOR2_LIBS="-L/Users/ymh/dev/venvs/hdalab/lib -lraptor2" RAPTOR2_CFLAGS="-I/Users/ymh/dev/venvs/hdalab/include/raptor2" RAPTOR_VERSION=2.0.15 ./configure --prefix=/Users/ymh/dev/venvs/hdalab - - -raptor2-2.0.15 -configure --prefix=/Users/ymh/dev/venvs/hdalab - -rasqal-0.9.32: - -diff --git a/rasqal-0.9.32/configure b/rasqal-0.9.32.new/configure -index a29a606..b1dda08 100755 ---- a/rasqal-0.9.32/configure -+++ b/rasqal-0.9.32.new/configure -@@ -14105,7 +14105,7 @@ else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - -- RAPTOR_VERSION=`$PKG_CONFIG raptor2 --modversion 2>/dev/null` -+ RAPTOR_VERSION="2.0.15" #`$PKG_CONFIG raptor2 --modversion 2>/dev/null` - raptor_too_old=0 - as_arg_v1=$RAPTOR_VERSION - as_arg_v2=$RAPTOR_MIN_VERSION - -RAPTOR2_LIBS="-L/Users/ymh/dev/venvs/hdalab/lib -lraptor2" RAPTOR2_CFLAGS="-I/Users/ymh/dev/venvs/hdalab/include/raptor2" RAPTOR_VERSION=2.0.15 ./configure --prefix=/Users/ymh/dev/venvs/hdalab - -sqlite: -./configure --prefix=/Users/ymh/dev/venvs/hdalab - -unixODBC: -./configure --prefix=/Users/ymh/dev/venvs/hdalab --enable-gui=no -make -make install - -redland-1.0.17: -CFLAGS="-I/Users/ymh/dev/venvs/hdalab/include" PKG_CONFIG_PATH=/Users/ymh/dev/venvs/hdalab/lib/pkgconfig RAPTOR2_LIBS="-L/Users/ymh/dev/venvs/hdalab/lib -lraptor2" RAPTOR2_CFLAGS="-I/Users/ymh/dev/venvs/hdalab/include/raptor2" RAPTOR_VERSION=2.0.15 RASQAL_LIBS="-L/Users/ymh/dev/venvs/hdalab/lib -lrasqal" RASQAL_CFLAGS="-I/Users/ymh/dev/venvs/hdalab/include/rasqal" ./configure --prefix=/Users/ymh/dev/venvs/hdalab - -redland-bindings -CFLAGS="-L/Users/ymh/dev/venvs/hdalab/lib -I/Users/ymh/dev/venvs/hdalab/include -I/Users/ymh/dev/venvs/hdalab/include/raptor2 -I/Users/ymh/dev/venvs/hdalab/include/rasqal -lraptor2 -lrasqal -lrdf" PKG_CONFIG_PATH=/Users/ymh/dev/venvs/hdalab/lib/pkgconfig RAPTOR2_LIBS="-L/Users/ymh/dev/venvs/hdalab/lib -lraptor2" RAPTOR2_CFLAGS="-I/Users/ymh/dev/venvs/hdalab/include/raptor2" RAPTOR_VERSION=2.0.15 RASQAL_LIBS="-L/Users/ymh/dev/venvs/hdalab/lib -lrasqal" RASQAL_CFLAGS="-I/Users/ymh/dev/venvs/hdalab/include/rasqal" ./configure --prefix=/Users/ymh/dev/venvs/hdalab --with-python=/Users/ymh/dev/venvs/hdalab/bin/python --with-python-ldflags="-L/Users/ymh/dev/venvs/hdalab/lib -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7 -v -Wl,-dylib" --with-python-libext=.so - - ---- -prerequisite: -- pkg-config: -./configure --prefix=/Users/ymh/dev/venvs/redland --with-internal-glib && make && make install - -- sqlite: -./configure --prefix=/Users/ymh/dev/venvs/redland && make && make install - -unixODBC: -./configure --prefix=/Users/ymh/dev/venvs/redland --enable-gui=no -make -make install - -raptor2-2.0.15 -configure --prefix=/Users/ymh/dev/venvs/hdalab -make -make install - - -rasqal-0.9.32 -configure --prefix=/Users/ymh/dev/venvs/hdalab -make -make install - -redland-1.0.17 -CFLAGS="-I/Users/ymh/dev/venvs/redland/include" ./configure --prefix=/Users/ymh/dev/venvs/redland -make -make install - -redland-bindings-1.0.17.1 -./configure --prefix=/Users/ymh/dev/venvs/redland --with-python=/Users/ymh/dev/venvs/redland/bin/python --with-python-ldflags="-L/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7 -Wl,-dylib -make -make install - - - after `import_rdf` call commands `import_hdabo_db -c` then `rebuild_index` @author: ymh