[Tracker] Fun with libmediaart
- From: Ralph Böhme <rb netafp com>
- To: tracker-list gnome org
- Subject: [Tracker] Fun with libmediaart
- Date: Wed, 26 Feb 2014 13:19:54 +0100
Hi!
Guess I'm being stupid, but I can't get current master to build with libmediaart which I installed from git.
libmediaart is installed from git master to /usr/local, simple ./configure && make && make install
I adjusted PKG_CONFIG_PATH such htat pkg-config can pick up the .pc file:
$ echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
Problem 1: libmediaart versioning
=================================
tracker looks for libmediaart-1.0, while libmediaart installed itself as:
$ ls /usr/local/lib/pkgconfig/
libmediaart-0.2.pc
If I try to fix the version in tracker's configure.ac:
diff --git a/configure.ac b/configure.ac
index 15e5e33..dec3678 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,7 +235,7 @@ PKG_CHECK_MODULES(LIBTRACKER_BUS, [$LIBTRACKER_BUS_REQUIRED])
# Check requirements for libtracker-common
LIBTRACKER_COMMON_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- libmediaart-1.0 >= $LIBMEDIAART_REQUIRED"
+ libmediaart-0.2 >= $LIBMEDIAART_REQUIRED"
PKG_CHECK_MODULES(LIBTRACKER_COMMON, [$LIBTRACKER_COMMON_REQUIRED])
I then run into a dependency issue that prevents bootstrapping:
Problem 2: libmediaart depends on tracker-sparql-0.16
=====================================================
$ ./configure
...
checking for LIBTRACKER_COMMON... no
configure: error: Package requirements (glib-2.0 >= 2.38.0
gio-unix-2.0 >= 2.38.0
libmediaart-0.2 >= 0.1.0) were not met:
Package 'tracker-sparql-0.16', required by 'libmediaart-0.2', not found
I'm building on Fedora 20, tracker is installed, tracker-devel is not. Installing tracker-devel fixes the
issue, but how is one supposed to build tracker on a system that doesn't provide tracker and tracker-devel
packages?
Cheers!
-Ralph
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]