zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02849
[Merge] lp:~federico-gnome/zeitgeist/fixes into lp:zeitgeist
Federico Mena Quintero has proposed merging lp:~federico-gnome/zeitgeist/fixes into lp:zeitgeist.
Requested reviews:
Zeitgeist Framework Team (zeitgeist)
For more details, see:
https://code.launchpad.net/~federico-gnome/zeitgeist/fixes/+merge/46950
Instead of checking for rdfpipe(1), we now check for the rdflib module from python.
--
https://code.launchpad.net/~federico-gnome/zeitgeist/fixes/+merge/46950
Your team Zeitgeist Framework Team is requested to review the proposed merge of lp:~federico-gnome/zeitgeist/fixes into lp:zeitgeist.
=== modified file 'configure.ac'
--- configure.ac 2011-01-18 10:49:04 +0000
+++ configure.ac 2011-01-20 18:39:08 +0000
@@ -37,10 +37,13 @@
AC_MSG_ERROR(You need the tool `rapper' from the `raptor-utils' package in order to compile Zeitgeist)
fi
-# check for rdflib
-AC_CHECK_PROG(HAVE_RDFLIB, rdfpipe, yes, no)
-if test "x$HAVE_RDFLIB" = "xno"; then
- AC_MSG_ERROR(You need the tool `rdfpipe' from the `python-rdflib' package in order to compile Zeitgeist)
+# check for python-rdflib
+AC_MSG_CHECKING([for python-rdflib])
+echo "import rdflib" | python - 2>/dev/null
+if test $? -ne 0 ; then
+ AC_MSG_FAILURE([failed. Please install the python-rdflib package.])
+else
+ AC_MSG_RESULT([yes])
fi
AC_OUTPUT
Follow ups