[Tracker] First time user on FreeBSD with some troubles



Hello Tracker list.

My first post to the list. I'm trying to get trackerd running and
working on FreeBSD. After some initial hazzles with getting the MySQL
embedded library installed [1], and figuring out how to launch the
session-wide dbus daemon for my KDM session [2], I think that now it
_should_ work. After trackerd is up and running, seemingly having
indexed my files [3], I run:

$ tracker-search hej

And I get back the following after a while:

** (process:60765): WARNING **: An error has occured : No reply within
specified time

I'm attaching the following files to this mail:

 config.log.gz - The gzipped configure log for Tracker.
 trackerd.txt.gz - The gzipped output of starting up the tracker daemon.
 env.txt - The environment for both the 'trackerd' and
'tracker-search' commands.
 dbus-monitor.txt - The output of dbus-monitor while trying the search.

Here's some further info about my system:

$ uname -a
$ FreeBSD rubik.dose.se 6.1-RC FreeBSD 6.1-RC #0: Sat Apr  8 21:33:08
UTC 2006     root rubik dose se:/usr/obj/usr/src/sys/GENERIC  i386
$ ldd ~/.inst/bin/trackerd
/home/elvis/.inst/bin/trackerd:
        libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x2843c000)
        libgamin-1.so.1 => /usr/local/lib/libgamin-1.so.1 (0x28441000)
        libdbus-glib-1.so.2 => /usr/local/lib/libdbus-glib-1.so.2 (0x28449000)
        libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x28464000)
        libdbus-1.so.2 => /usr/local/lib/libdbus-1.so.2 (0x2849c000)
        libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x284d2000)
        libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28554000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2855d000)
        libz.so.3 => /lib/libz.so.3 (0x2864b000)
        libcrypt.so.3 => /lib/libcrypt.so.3 (0x2865c000)
        libm.so.4 => /lib/libm.so.4 (0x28675000)
        libwrap.so.4 => /usr/lib/libwrap.so.4 (0x2868b000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28692000)
        libpthread.so.2 => /usr/lib/libpthread.so.2 (0x28767000)
        libc.so.6 => /lib/libc.so.6 (0x2878e000)
$ ldd ~/.inst/bin/tracker-search
tracker-search:
        libtracker.so.0 => /usr/home/elvis/.inst/lib/libtracker.so.0
(0x28078000)
        libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x2807c000)
        libdbus-glib-1.so.2 => /usr/local/lib/libdbus-glib-1.so.2 (0x28081000)
        libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x2809c000)
        libdbus-1.so.2 => /usr/local/lib/libdbus-1.so.2 (0x280d4000)
        libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x2810a000)
        libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2818c000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28195000)
        libpthread.so.2 => /usr/lib/libpthread.so.2 (0x28283000)
        libc.so.6 => /lib/libc.so.6 (0x282aa000)
$ ldd ~/.inst/bin/tracker-extract
tracker-extract:
        libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x28078000)
        libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x2807d000)
        libextractor.so.2 => /usr/local/lib/libextractor.so.2 (0x280ff000)
        libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x28104000)
        libz.so.3 => /lib/libz.so.3 (0x2810c000)
        libbz2.so.2 => /usr/lib/libbz2.so.2 (0x2811d000)
        libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2812e000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28137000)
        libpthread.so.2 => /usr/lib/libpthread.so.2 (0x28225000)
        libc.so.6 => /lib/libc.so.6 (0x2824c000)

I'm hoping to get this working, since Tracker seems like a great
project. Thanks in advance.

Oh BTW; I have two unrelated questions too: How do I stop the trackerd
daemon gracefully? It won't die after Ctrl+C, so I have to pkill -9
it. And why embedded MySQL instead of SQLite? It seems SQLite is more
widely packaged for distributions (I can't find knobs in Gentoo
Portage to turn embedded MySQL building on, and it's not in FreeBSD
ports either).

And lastly; sorry if this is something obvious, hopefully you
GNOME-heads can forgive a KDE users stupidy if that is the case. I've
never used the dbus before for once ;)

Best regards,
Aron Stansvik

[1] The embedded library is not installed by default by the MySQL
server FreeBSD port, and there's no knob to turn on building it. So
after having thrown in the --with-embedded-server configure flag, I
entered the directory and built/installed it manually, which seems
like it worked fine (cd libmysqld/ && gmake && gmake install):

  $ ls -l /usr/local/lib/mysql/libmysqld.a
  -r--r--r--  1 root  wheel  7727784 23 Apr 19:20
/usr/local/lib/mysql/libmysqld.a

[2] I did this by creating ~/.kde/env/dbus-session.sh, and adding the
following to it:

  #!/bin/sh
  # test for an existing bus daemon, just to be safe
  if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
        ## if not found, launch a new one
        eval `dbus-launch --sh-syntax --exit-with-session`
        echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
  fi

[3] I'm a bit unsure here, since I had very little disk activity (but
I had some), but I think it indexed something.

Attachment: config.log.gz
Description: GNU Zip compressed data

Attachment: trackerd.txt.gz
Description: GNU Zip compressed data

Attachment: env.txt
Description: Text document

Attachment: dbus-monitor.txt
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]