[Telepathy] Using telepathy/tapioca on maemo

harini satyanarayanan hpundis1 at binghamton.edu
Mon Nov 26 18:43:42 PST 2007


Hi,
   I  tried to use the updated code and it complied on ubuntu, but when i
tried to run it it gave the following error,


./tapioca-test: error while loading shared libraries:
libtapioca-client-glib-0.14.so.0: cannot open shared object file: No such
file or directory

I am not sure what is wrong. How do I get this library, should i just have
to get the debian package and install it?

do i have to start another application for this tutorial to work, like
gabble or stream engine, as given in the testing the installation?

When i tried to do a make it actually threw an error, I am not sure what all
libraries are to be installed for this tutorial to work, because except for
the python bindings i have all the others set up.

here is the error log

[sbox-SDK_X86: ~/tutorial] > make
gcc interface.c -c -ggdb `pkg-config libglade-2.0 gtk+-2.0
libtapioca-client-glib-0.14 --cflags`
Package libtapioca-client-glib-0.14 was not found in the pkg-config search
path.
Perhaps you should add the directory containing `libtapioca-
client-glib-0.14.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libtapioca-client-glib-0.14' found
In file included from interface.c:21:
interface.h:23:21: gtk/gtk.h: No such file or directory
interface.h:24:25: glade/glade.h: No such file or directory
interface.h:25:32: tapioca/tpa-client.h: No such file or directory
In file included from callbacks.h:25,
                 from interface.h:26,
                 from interface.c:21:
connector.h:23:18: glib.h: No such file or directory
In file included from callbacks.h:25,
                 from interface.h:26,
                 from interface.c:21:
connector.h:27: error: syntax error before '*' token
connector.h:27: warning: data definition has no type or storage class
connector.h:28: error: syntax error before '*' token
connector.h:28: warning: data definition has no type or storage class
connector.h:29: error: syntax error before '*' token
connector.h:29: warning: data definition has no type or storage class
connector.h:30: error: syntax error before '*' token
connector.h:30: warning: data definition has no type or storage class
connector.h:31: error: syntax error before '*' token
connector.h:31: warning: data definition has no type or storage class
connector.h:34: error: syntax error before "init_connector"
connector.h:34: warning: data definition has no type or storage class
connector.h:35: error: syntax error before '*' token
connector.h:35: warning: data definition has no type or storage class
In file included from interface.h:26,
                 from interface.c:21:
callbacks.h:27: error: syntax error before '*' token
callbacks.h:28: error: syntax error before '*' token
callbacks.h:29: error: syntax error before "close_channel_cb"
callbacks.h:29: error: syntax error before '*' token
callbacks.h:31: warning: data definition has no type or storage class
callbacks.h:32: error: syntax error before "send_message_cb"
callbacks.h:32: error: syntax error before '*' token
callbacks.h:34: warning: data definition has no type or storage class
callbacks.h:35: error: syntax error before '*' token
callbacks.h:38: error: syntax error before '*' token
callbacks.h:39: error: syntax error before '*' token
callbacks.h:40: error: syntax error before '*' token
callbacks.h:43: error: syntax error before '*' token
callbacks.h:44: error: syntax error before '*' token
In file included from interface.c:21:
interface.h:29: error: syntax error before '*' token
interface.h:29: warning: data definition has no type or storage class
interface.h:30: error: syntax error before '*' token
interface.h:30: warning: data definition has no type or storage class
interface.h:31: error: syntax error before '*' token
interface.h:31: warning: data definition has no type or storage class
interface.h:32: error: syntax error before '*' token
interface.h:32: warning: data definition has no type or storage class
interface.h:33: error: syntax error before '*' token
interface.h:33: warning: data definition has no type or storage class
interface.h:34: error: syntax error before '*' token
interface.h:34: warning: data definition has no type or storage class
interface.h:35: error: syntax error before '*' token
interface.h:35: warning: data definition has no type or storage class
interface.h:37: error: syntax error before '*' token
interface.h:37: warning: data definition has no type or storage class
interface.h:38: error: syntax error before '*' token
interface.h:38: warning: data definition has no type or storage class
interface.h:39: error: syntax error before '*' token
interface.h:39: warning: data definition has no type or storage class
interface.h:42: error: syntax error before '*' token
interface.h:44: error: syntax error before '*' token
interface.h:48: error: syntax error before '*' token
interface.h:49: error: syntax error before "app_change_contact_presence"
interface.h:49: error: syntax error before '*' token
interface.h:52: warning: data definition has no type or storage class
interface.c:26: error: syntax error before '*' token
interface.c: In function `app_init':
interface.c:28: error: `GladeXML' undeclared (first use in this function)
interface.c:28: error: (Each undeclared identifier is reported only once
interface.c:28: error: for each function it appears in.)
interface.c:28: error: `widget_tree' undeclared (first use in this function)
interface.c:28: error: `gladefile' undeclared (first use in this function)
interface.c:28: error: `NULL' undeclared (first use in this function)
interface.c:29: error: `GtkCellRenderer' undeclared (first use in this
function)
interface.c:29: error: `renderer' undeclared (first use in this function)
interface.c:30: error: `GtkTreeViewColumn' undeclared (first use in this
function)
interface.c:30: error: `column' undeclared (first use in this function)
interface.c:31: error: `GtkWidget' undeclared (first use in this function)
interface.c:31: error: `chat_view' undeclared (first use in this function)
interface.c:34: warning: assignment makes pointer from integer without a
cast
interface.c:35: warning: assignment makes pointer from integer without a
cast
interface.c:36: warning: assignment makes pointer from integer without a
cast
interface.c:37: warning: assignment makes pointer from integer without a
cast
interface.c:38: warning: assignment makes pointer from integer without a
cast
interface.c:39: warning: assignment makes pointer from integer without a
cast
interface.c:43: error: `FALSE' undeclared (first use in this function)
interface.c:47: error: `TRUE' undeclared (first use in this function)
interface.c:53: error: `G_TYPE_STRING' undeclared (first use in this
function)
interface.c:53: error: `TPA_TYPE_CONTACT_BASE' undeclared (first use in this
function)
interface.c:53: warning: assignment makes pointer from integer without a
cast
interface.c:56: warning: assignment makes pointer from integer without a
cast
interface.c:57: warning: assignment makes pointer from integer without a
cast
interface.c:60: warning: assignment makes pointer from integer without a
cast
interface.c: At top level:
interface.c:92: error: syntax error before '*' token
interface.c: In function `app_add_contacts':
interface.c:94: error: `GtkTreeIter' undeclared (first use in this function)
interface.c:94: error: syntax error before "iter"
interface.c:95: error: syntax error before '*' token
interface.c:96: error: syntax error before '*' token
interface.c:97: error: `TpaContact' undeclared (first use in this function)
interface.c:97: error: `contact' undeclared (first use in this function)
interface.c:100: error: `contacts' undeclared (first use in this function)
interface.c:106: error: `NULL' undeclared (first use in this function)
interface.c:108: error: `contact_alias' undeclared (first use in this
function)
interface.c:109: error: `contact_presence' undeclared (first use in this
function)
interface.c:111: error: `iter' undeclared (first use in this function)
interface.c: At top level:
interface.c:138: error: syntax error before '*' token
interface.c: In function `app_print_message':
interface.c:140: error: `user' undeclared (first use in this function)
interface.c:142: error: `message' undeclared (first use in this function)
interface.c: At top level:
interface.c:147: error: syntax error before "app_change_contact_presence"
interface.c:147: error: syntax error before '*' token
interface.c: In function `app_change_contact_presence':
interface.c:150: error: `TpaContactBase' undeclared (first use in this
function)
interface.c:150: error: `contact' undeclared (first use in this function)
interface.c:151: error: `model' undeclared (first use in this function)
interface.c:151: error: `iter' undeclared (first use in this function)
interface.c:153: error: `data' undeclared (first use in this function)
interface.c:156: error: `FALSE' undeclared (first use in this function)
make: *** [interface.o] Error 1


I am not sure what is missing inside the emulator for it to throw this error
do i have to make modifications in the code, or the makefile or am i missing
any of the needed libraries. When i try to install
libtapioca-client-glib-0.14 it does not allow me to install it because of
older versions of dependents. The problem is maemo itself has a repository
that gives a set of libraries and i am not sure how to safely upgrade them.

sorry about so many questions, it would be great if u can help me with it.

Thanks,
Harini




On Nov 26, 2007 12:41 PM, Marcelo Lira <setanta at gmail.com> wrote:

> Harini
>
> There is one IM application, called Ereséva[1], that you to get code and
> ideas from when programming with Tapioca. It is written in Python and uses
> tapioca-python, which is a binding for tapioca-glib, and is not difficult to
> map the code from python to C.
>
> I suppose you want the things you do on the whiteboard to appear in the
> whiteboards of the other people connected, if so you will need to transport
> application data besides the text messages and voip, and what you need for
> this is using Tubes. The general idea is explained here[1].
>
> Tapioca doesn't have tubes implementation yet, in this case I recommend to
> take a look at telepathy-glib/libtelepathy.
>
> Any problems don't hesitate and ask.
>
> [1] http://wiki.laptop.org/go/Shared_Sugar_Activities
>
>
> Regards,
>
> --
> Marcelo Lira dos Santos
> http://setanta.wordpress.com
> @CInLUG: http://www.cin.ufpe.br/~cinlug <http://www.cin.ufpe.br/%7Ecinlug>
> @Ciência Livre: http://www.ciencialivre.pro.br
> @INdT: http://www.indt.org.br
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/telepathy/attachments/20071126/9a75f693/attachment.html 


More information about the Telepathy mailing list