From: Rodolfo M. <rod...@gm...> - 2006-08-16 13:34:47
|
Rodolfo Medina wrote: >>>> I wish to read phonebook and sms from my mobile phone, a Nokia 6630 >>>> plugged to the PC with USB cable, >>>> and Alexander Kanavin from the openobex mailing list suggested me to >>>> use the latest opensync with syncml support for that purpose. >>>> Do you think it will be all right? >>>> >>>> [...] >>>> >> Now, after installing libopensync-0.18.tar.gz, >> libopensync-plugin-file-0.18.tar.gz, multisync-0.90.18.tar.gz and libsoup, >> I'm following the steps at: >> >> http://www.opensync.org/wiki/syncml-guide >> >> [...] >> >> . I downloaded wbxml2-0.9.2.tar.gz, but >> don't know how to apply the patch, neither how to install wbxml2 >> after applying the patch. Vincent <co...@bs...> writes: > dont dl wbxml2-0.9.2.tar.gz but wbxml2-0.9.0.tar.gz just under the 0.9.2 ( > click on 0.9.0 ) > or try this : > http://prdownloads.sourceforge.net/wbxmllib/wbxml2-0.9.0-src.tar.gz?download > > after that, untar the source in a folder and paste the patch form > libsyncml/misc/wbxml2....patch. > an do : > # patch -p 1 < wbxml2 .... ..patch > > after that : > # autoreconf -sfi > # ./configure > # make > # make install Thanks, this was helpful. Now I've followed all the steps at: http://www.opensync.org/wiki/syncml-guide . Now, how do I manage the phone? I did: $ msynctool --listplugins Available plugins: file-sync $ msynctool --addgroup filefile $ msynctool --addmember filefile syncml-http-server Unable to instance plugin with name syncml-http-server: Unable to find the plugin "syncml-http-server" $ msynctool --addmember filefile syncml-obex-client Unable to instance plugin with name syncml-obex-client: Unable to find the plugin "syncml-obex-client" . I can't work the problem out here. Maybe the installation of syncml-plugin went wrong in some way. In fact, during syncml-plugin installation, when I did $ cd syncml-plugin $ autoreconf -sfi , I got the following error message: configure.ac:7: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' [...] autoreconf: automake failed with exit status: 1 . Then I changed the line 7 of tmp/syncml-plugin/configure.ac from: AC_CONFIG_HEADER(config.h) into: AM_CONFIG_HEADER(config.h) , and then did: $ make # make install . Apart from that, everything seemed to go well. I'm reporting the whole procedure I followed, hoping for help. Thanks indeed for any help, Rodolfo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # apt-get install libxml2-dev # apt-get install sqlite3 libsqlite3-dev . From http://www.opensync.org/ I downloaded: exampleplugin-0.01.tar.gz, libopensync-plugin-file-0.18.tar.gz, multisync-0.90.18.tar.gz, libopensync-0.18.tar.gz and from http://prdownloads.sourceforge.net/wbxmllib/wbxml2-0.9.0-src.tar.gz?download wbxml2-0.9.0-src.tar.gz and put them in ~/tmp. >From there, I unpacked and installed libopensync-0.18.tar.gz the usual way, then (libfam-dev?) did the same with libopensync-plugin-file-0.18.tar.gz, and the same with multisync-0.90.18.tar.gz. Then I installed the packages libopensync0 and libopensync0-dev (from testing repositories). Then I unpacked and installed the usual way openobex-1.3.tar.gz. Then: # apt-get install cvs2svn . From ~/tmp, $ svn co http://svn.opensync.org/libsyncml/trunk libsyncml This created a dir ~/tmp/libsyncml . From ~/tmp, $ cvs -d :pserver:ano...@an...:/cvs/gnome co libsoup this created a dir ~/tmp/libsoup # apt-get install gnome-common # apt-get install automake1.6 # apt-get install gtk-doc-tools . From ~/tmp, $ cd libsoup $ ./autogen.sh $ make # make install >From ~/tmp, $ tar xzvf wbxml2-0.9.0-src.tar.gz $ cd libsyncml/misc $ cp -vi wbxml2-0.9.0.patch ~/tmp/wbxml2-0.9.0 $ cd ~/tmp/wbxml2-0.9.0 $ patch -p 1 < wbxml2-0.9.0.patch $ autoreconf -sfi $ ./configure $ make # make install $ cd libsyncml $ autoreconf -sfi $ ./configure $ make # make install . From ~/tmp, $ svn co http://svn.opensync.org/plugins/syncml/ syncml-plugin $ cd syncml-plugin $ autoreconf -sfi configure.ac:7: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' configure.ac: installing `./install-sh' configure.ac: installing `./mkinstalldirs' configure.ac: installing `./missing' src/Makefile.am: installing `./depcomp' autoreconf: automake failed with exit status: 1 . Then I changed the line 7 of tmp/syncml-plugin/configure.ac: AC_CONFIG_HEADER(config.h) into: AM_CONFIG_HEADER(config.h) $ make # make install |