Re: libsycnml

Armin Bauer <[email protected]> Sun, 31 Jul 2005 10:03:56 +0200
Newsgroups gmane.comp.gnome.apps.multisync.user
Message-ID <[email protected]>

Danny Backx wrote:
> Did you also install ?
> 	On my system, 'make install' installs stuff in
> 	/usr/local/lib/multisync
>
> Could you check whether the libraries are correctly named?
> 	Some older versions of libtool didn't name the shared libraries
> 	right. They didn't have ".so" in their name.
> If that happens, you could manually rename them, e.g.
> 	mv libevolution2_sync libevolution2_sync.so
>
>   Danny

that shouldnt be a problem with opensync anymore :)

>
> On Sun, 2005-07-31 at 01:08 +0200, daniel friedrich wrote:
>
>>hi i am again ;)
>>
>>i patched the syncml_plugin.c :
>>smlAuthSetVerifyCallback(env->auth,(SmlAuthVerifyCb) _verify_user, env);
>>
>>and now all things are built
>>
>>but :)
>>when i click on options in multisync when i choosed the
>>syncml-http-server plugin nothing happened.
>>i got this console output:
>>Unable to find MSyncPlugin!!!
>>

this means that i didnt write a gui yet for the syncml plugin. so you
have to use the msynctool (the command line client)

please take a look at this: http://www.opensync.org/wiki/SetupGuide
configure your syncgroup like in this example but instead of using the
evo2 plugin, use the syncml-http-server plugin.

an example config could look like this:
<config><username>test</username><password>test</password><url>/test</url><port>9999</port></config>

but it is possible that it wont work correctly since password checking
is enabled at the moment so i can test against the syncml conformance
test suite. Ill correct this today and then release an updated version.
Until then, please use the username and password "test".

>>regards daniel
>>
>>Am Sonntag, den 31.07.2005, 00:41 +0200 schrieb daniel friedrich:
>>
>>>hi,
>>>
>>>with gcc-3.4 i can compile opensync libsyncml libsoup multisync
>>>but when do make at the syncml plugin i got this error:
>>>
>>>syncml_plugin.c: In function `syncml_http_server_init':
>>>syncml_plugin.c:307: warning: passing arg 2 of
>>>`smlAuthSetVerifyCallback' from incompatible pointer type
>>>make[2]: *** [syncml_plugin.lo] Fehler 1
>>>
>>>mfg daniel
>>>
>>>
>>>Am Samstag, den 30.07.2005, 23:50 +0200 schrieb daniel friedrich:
>>>
>>>>hi
>>>>
>>>>i when i try to do a make on the syncml library i got the following
>>>>error:
>>>>
>>>>cc1: warnings being treated as errors
>>>>sml_transport.c: In function 'smlTransportSend':
>>>>sml_transport.c:215: warning: pointer targets in passing argument 1 of
>>>>'smlPrintBinary' differ in signedness
>>>>sml_transport.c: In function 'smlTransportReceive':
>>>>sml_transport.c:261: warning: pointer targets in passing argument 1 of
>>>>'smlPrintBinary' differ in signedness
>>>>
>>>>i have gcc4 installed.
>>>>
>>>>mfg daniel
>>>>
>>>>
>>>>Am Samstag, den 30.07.2005, 23:11 +0200 schrieb Armin Bauer:
>>>>
>>>>>daniel friedrich wrote:
>>>>>
>>>>>>hi armin,
>>>>>>
>>>>>>i always install with
>>>>>>./autogen.sh
>>>>>>make
>>>>>>make install
>>>>>>
>>>>>>so i copied the autogen.sh file from opensync to the other root
>>>>>>directories. (libsyncml etc.)
>>>>>>but when i try to ./autogen.sh libsyncml it aborted with:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>aclocal:configure.ac:40: warning: macro `AM_PATH_CHECK' not found in
>>>>>>>library
>>>>>>>configure.ac:45: error: possibly undefined macro: AM_PATH_CHECK
>>>>>>>    If this token and others are legitimate, please use
>>>>>>>m4_pattern_allow.
>>>>>>>    See the Autoconf documentation.
>>>>>>>autoreconf: /usr/bin/autoconf failed with exit status: 1
>>>>>>
>>>>>>
>>>>>>so i think i need more detailed instructions ;)
>>>>>
>>>>>ok :)
>>>>>
>>>>>i forgot to add the Check macro to acinclude.m4. please do a svn up,
>>>>>this should be fixed now.
>>>>>
>>>>>i did not include autogen.sh because its useless on modern machines. all
>>>>>it does is calling autoreconf. so the correct order is:
>>>>>
>>>>>autoreconf -sfi
>>>>>./configure --prefix=/some/path
>>>>>make
>>>>>make install
>>>>>
>>>>>
>>>>>>thx
>>>>>>daniel
>>>>>>
>>>>>>
>>>>>>Am Freitag, den 29.07.2005, 22:14 +0200 schrieb Armin Bauer:
>>>>>>
>>>>>>
>>>>>>>hi,
>>>>>>>
>>>>>>>you can download libsyncml from http://svn.opensync.org/libsyncml/trunk
>>>>>>>using subversion.
>>>>>>>
>>>>>>>then you need a patched libsoup (the http library) from
>>>>>>>http://svn.opensync.org/libsoup/trunk
>>>>>>>
>>>>>>>i recommend installing both with a different --prefix so i does not
>>>>>>>interfere with other installed libraries. Then you can do:
>>>>>>>export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
>>>>>>>so pkgconfig picks up the new packages.
>>>>>>>
>>>>>>>the syncml plugin can be found at http://svn.opensync.org/plugins/syncml.
>>>>>>>
>>>>>>>this setup should already work for http synchronization. if you phone
>>>>>>>just supports wbxml (most phones do) you will need to install libwbxml
>>>>>>>(your distro should have it)
>>>>>>>
>>>>>>>Let me know how it goes or if you need more detailed instructions :)
>>>>>>>
>>>>>>>Armin
>>>>>>>
>>>>>>>daniel friedrich wrote:
>>>>>>>
>>>>>>>
>>>>>>>>hi,
>>>>>>>>
>>>>>>>>how can i download libsyncml, because i want to try to sync evo2 with
>>>>>>>>the sycnml plugin for multisync?
>>>>>>>>
>>>>>>>>mfg daniel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>-------------------------------------------------------
>>>>>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO September
>>>>>>>>19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>>>>>>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>>>>>>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>>>>>>>_______________________________________________
>>>>>>>>Multisync-users mailing list
>>>>>>>>Multisync-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>>>>>>https://lists.sourceforge.net/lists/listinfo/multisync-users
>>>>>>
>>>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>>>informative Webcasts and more! Get everything you need to get up to
>>>>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>>>_______________________________________________
>>>>Multisync-users mailing list
>>>>Multisync-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>>https://lists.sourceforge.net/lists/listinfo/multisync-users
>>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>>informative Webcasts and more! Get everything you need to get up to
>>>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>>_______________________________________________
>>>Multisync-users mailing list
>>>Multisync-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>https://lists.sourceforge.net/lists/listinfo/multisync-users
>>>
>>
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>informative Webcasts and more! Get everything you need to get up to
>>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>_______________________________________________
>>Multisync-users mailing list
>>Multisync-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>https://lists.sourceforge.net/lists/listinfo/multisync-users
>>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFC7IXuq9z7v9k9UakRAs8vAJ9Bh093dFf+aY29BwWr5//pjtUzOwCfdBsQ
E5wZoN/KVI+CFmPSLkWChgQ=
=JJgW
-----END PGP SIGNATURE-----