<sect3>
<title>Using Tracker commandline tools on the server</title>
- <para>Netatalk must be running. Then setup relevant environment
- variables, adjust the prefix /usr/local/netatalk to match your
- configured paths:<screen>$ su
-****
-# cat trackerenv.sh
-export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/spotlight.ipc"
-export XDG_DATA_HOME=/usr/local/netatalk/var/netatalk
-export XDG_CACHE_HOME=/usr/local/netatalk/var/netatalk
-export XDG_CONFIG_HOME=/usr/local/netatalk/etc
-# . trackerenv.sh
-#</screen></para>
+ <para>Netatalk must be running and the commands must be executed
+ as root:<screen>$ su
+# export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/spotlight.ipc"</screen></para>
+
+ <para>When using Tracker from OpenCSW you must also update
+ your PATH:<screen># export PATH=/opt/csw/bin:$PATH</screen></para>
<para>Tracker SPARQL:<screen># tracker-search QUERY
...
<screen><prompt>$ </prompt><userinput>./configure --with-tracker-pkgconfig-version=0.16 ...</userinput></screen>
<para>If you're using Solaris and Tracker from OpenCSW, then you need
- to set the PKG_CONFIG_PATH environment variable and add the
- --with-tracker-prefix configure option</para>
+ to set the PKG_CONFIG_PATH environment variable, add the
+ --with-tracker-prefix configure option and add LDFLAGS="-R/opt/csw/lib"</para>
- <screen>PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig ./configure --with-tracker-prefix=/opt/csw --with-tracker-pkgconfig-version=0.16 ...</screen>
+ <screen>PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig LDFLAGS="-R/opt/csw/lib" ./configure --with-tracker-prefix=/opt/csw --with-tracker-pkgconfig-version=0.16 ...</screen>
<para>Check the configure output whether the Tracker libs were
found:</para>