From: Markus <132...@gm...> - 2005-12-21 21:34:11
|
Daniel Gollub schrieb: >On Wed, 2005-12-21 at 10:29 +0100, M. Wollgarten wrote: > > >>Hello list! >> >>I am running a debian box with the current testing-distribution. >>I installed the debian pakages from www.opensync.org and want to >>install and >>use the syncml-plugin to synchronize my Siemens SX-1. >> >> > >which version of libsoup do you have? >debian testing seems to have libsoup-2.2.6 - right? > >i think you need the latest cvs snapshot of libsoup to build the syncml >plugin. > >http://cvs.gnome.org/viewcvs/libsoup/libsoup/soup-server.h?rev=1.28&view=markup : >" >* configure.in: bump version to 2.2.90. This will not be > officially released, but once these patches have gotten some > testing they may be pulled up to the gnome-2-12 branch. > >----> * libsoup/soup-connection.c: >----> * libsoup/soup-server.c: >----> * libsoup/soup-session.c: >----> * libsoup/soup-socket.c: add an "async-context" property, >----> which gets passed from server to socket, and session to connection >----> to socket, allowing async usage outside the main thread. Based on >----> patches from Armin Bauer and Jürg Billeter. > >[...]" > > > >>I followed the guide to compile the necessary libraries and the >>plugin. >>However, I encountered several problems. >> >>In some place the compilation was stopped due to converting warnings >>into >>errors. >>I removed the -Werror option from the Makefiles and than I could >>compile. >> >> > >nice try :) > > > >>In one part I got the error message that in http_servers.c >>SOUP_SERVER_ASYNC_CONTEXT >>and in http_clients.c >>SOUP_CLIENT_ASYNC_CONTEXT >>were not defined. >>I found defines in some soup-....h which look like >> >>#define SOUP_SERVER_ASYNC_CONTEXT "async-context" >> >>and >> >>#define SOUP_CLIENT_ASYNC_CONTEXT "async-context" >> >>which I added to the respective http_....c files. >>after that compilation went fine. >> >> > >I don't think that the single #define helps :/ >Update of libsoup to current CVS version will help more. > > > Indeed, much less problems, after downloading the 2.2.90 from cvs.gnome.org. For the rest I still followed the guide on http://www.opensync.org/wiki/syncml-guide I had to do once the -Werror "trick" for syncml-plugin/src/Makefile.* The define-problems are gone. :-) >>I installed the plugins (make install). And they are now at the places >>were >>the other plugins (from debian packages) are. Also the >>share/default-entries >>are there as for the other plugins. >>However, msynctool --listplugins does not show the syncml-plugin. >> >> > >On this case you can turn on the OSYNC_TRACE for more debugging >information, but i am sure when you update libsoup to the latest CVS >snapshot it will work for you. > > > > Unforunately, it doesn't. Still msynctool --listplugins Available plugins: evo2-sync kdepim file-sync but ls -l /usr/lib/opensync/plugins/ -rw-r--r-- 1 root root 1497 2005-03-20 21:22 evo2_sync.la -rw-r--r-- 1 root root 26464 2005-03-20 21:22 evo2_sync.so -rw-r--r-- 1 root root 1056 2005-03-20 21:21 file_sync.la -rw-r--r-- 1 root root 14348 2005-03-20 21:21 file_sync.so -rw-r--r-- 1 root root 1451 2005-03-20 21:21 kdepim_lib.la -rw-r--r-- 1 root root 41512 2005-03-20 21:21 kdepim_lib.so -rw-r--r-- 1 root root 821 2005-03-20 21:21 kdepim_sync.la -rw-r--r-- 1 root root 7036 2005-03-20 21:21 kdepim_sync.so -rw-r--r-- 1 root root 1380 2005-12-21 22:16 syncml_plugin.la -rw-r--r-- 1 root root 45977 2005-12-21 22:16 syncml_plugin.so Hmm, how to turn on the OSYNC_TRACE??? Thanks again! Markus |