[Telepathy] empathy/mission-control/telepathy in non-standard directory

Rainer Dorsch rdorsch at web.de
Fri Nov 9 17:25:24 PST 2007


Hello,

I am installing empathy/mission-control/telepathy in a non-standard 
directory /opt/gtalk. Everything builds and installs fine, when I start 
empathy, I cannot create accounts, because no backends are found:

In the accounts dialog I get:

****************************

No Accounts Configured

To add a new account, you first have to install a backend for each protocol 
you want to use.

******************************

The Add button is disabled, which makes me concluding that no backend was 
found at all.

This is confirmed by the code segment


empathy/libempathy-gtk/empathy-accounts-dialog.c:
                if (empathy_profile_chooser_n_profiles 
(dialog->combobox_profile) > 0) {
                        string = g_string_new (_("To add a new account, you 
can click on the "
                                                 "'Add' button and a new entry 
will be created "
                                                 "for you to start 
configuring."));
                } else {
                        string = g_string_new (_("To add a new account, you 
first have to "
                                                 "install a backend for each 
protocol "
                                                 "you want to use."));
                }


Seems telepathy is unable to find any connection manager which I installed, in 
particular I am going for gabble 0.6.1 (?)


Not sure where to go from here. Can somebody point to a telepathy code segment 
which is used to find the available connection managers? Is that using DBUS?

Also a review of my build and run scripts would be very welcome.

Many thanks,
Rainer

My build and run scripts:

rdorsch at paddy:/opt/rdorsch.nobackup/SW.nobackup/tapioca$ cat build
#!/bin/bash
set -vx
export LD_LIBRARY_PATH=/opt/gtalk/lib/:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/opt/gtalk/lib/pkgconfig

deps="glib-2.14.2 dbus-glib-0.74 pango-1.18.3 gtk+-2.12.1 libtelepathy-0.2.0 
telepathy-mission-control-4.49 sofia-sip-1.12.7 telepathy-glib-0.6.0 
telepathy-gabble-0.6.1 telepathy-idle-0.1.2"

rm -rf /opt/gtalk empathy/

for p in $deps; do
  echo Rebuilding $p ...
  rm -rf $p
  if [ -e $p.tar.gz ]; then
    tar xvfz $p.tar.gz
  elif [ -e $p.tar.bz2 ]; then
    tar xvfj $p.tar.bz2
  else
    echo Did not find anything for $p
    exit 1
  fi
  cd $p
  if ! ./configure --prefix=/opt/gtalk; then
    echo configuring $p failed
    exit 2
  fi
  if ! make; then
    echo building $p failed
    exit 2
  fi
  if ! make install; then
    echo installing $p failed
    exit 2
  fi
  cd ..
done

date
svn co svn://svn.gnome.org/svn/empathy/trunk empathy
cd empathy
./autogen.sh --prefix=/opt/gtalk
make
make install

rdorsch at paddy:/opt/rdorsch.nobackup/SW.nobackup/tapioca$ cat dbus-empathy
#!/bin/bash

PREFIX=/opt/gtalk
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
#export MC_PROFILE_DIR=$PREFIX/share/mission-control/profiles
export XDG_DATA_DIRS=$PREFIX/share/:/usr/share/
export 
PYTHONPATH=$PREFIX/lib/python2.5/site-packages/:/usr/lib/python2.5/site-packages/

dbus-daemon --config-file=/etc/dbus-1/session-gtalk.conf --print-address | 
tee /tmp/dbus-gtalk-rd.log
rdorsch at paddy:/opt/rdorsch.nobackup/SW.nobackup/tapioca$ cat empathyloc
#!/bin/bash
set -vxx
PREFIX=/opt/gtalk
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export DBUS_SESSION_BUS_ADDRESS=$(head -n 1 /tmp/dbus-gtalk-rd.log)
echo DBUS_SESSION_BUS_ADDRESS: $DBUS_SESSION_BUS_ADDRESS
EMPATHY_DEBUG=all empathy 
$*rdorsch at paddy:/opt/rdorsch.nobackup/SW.nobackup/tapioca$





-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
jabber: rdorsch at jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/


More information about the Telepathy mailing list