On Wed, 2011-10-26 at 18:01 +0200, jacqueline.leroi wrote:
> No problem to keep it on the mailing list

[compile in SyncML client mode by modifying the
libsynthesis/src/Makefile.am, full description below]

> I tried what you proposed but I had problems when compiling.
> make[6]: *** [libsynthesis_la-enginesessiondispatch.lo] Error 1
> make[6]: *** Waiting for unfinished jobs....
> mv -f .deps/libsynthesis_la-vcalendaritemtype.Tpo 
> .deps/libsynthesis_la-vcalendaritemtype.Plo
> mv -f .deps/libsynthesis_la-vtimezone.Tpo .deps/libsynthesis_la-vtimezone.Plo
> mv -f .deps/libsynthesis_la-lineartime.Tpo 
> .deps/libsynthesis_la-lineartime.Plo
> mv -f .deps/libsynthesis_la-blobs.Tpo .deps/libsynthesis_la-blobs.Plo
> mv -f .deps/libsynthesis_la-admindata.Tpo .deps/libsynthesis_la-admindata.Plo
> mv -f .deps/libsynthesis_la-timezones.Tpo .deps/libsynthesis_la-timezones.Plo
> mv -f .deps/libsynthesis_la-sync_dbapi_text.Tpo 
> .deps/libsynthesis_la-sync_dbapi_text.Plo
> mv -f .deps/libsynthesis_la-dbitem.Tpo .deps/libsynthesis_la-dbitem.Plo
> mv -f .deps/libsynthesis_la-enginemodulebase.Tpo 
> .deps/libsynthesis_la-enginemodulebase.Plo
> mv -f .deps/libsynthesis_la-sysync_b64.Tpo 
> .deps/libsynthesis_la-sysync_b64.Plo
> mv -f .deps/libsynthesis_la-sysync_utils.Tpo 
> .deps/libsynthesis_la-sysync_utils.Plo
> ./src/synthesis/src/sysync/scriptcontext.cpp: In static member function 
> 'static int sysync::TBuiltinStdFuncs::run_pcre(const char*, const char*, 
> sysync::stringSize, sysync::stringSize, int*, int, sysync::TDebugLogger*)':
> ./src/synthesis/src/sysync/scriptcontext.cpp:1265: error: 'PCRE_CASELESS' was 
> not declared in this scope

[...]

This is about libpcre, used for regular expressions. The header file
doesn't seem to be included because of the modified config. Try with
--disable-regex.

> ./src/synthesis/src/sysync/syncagent.cpp: In constructor 
> 'sysync::TSyncAgent::TSyncAgent(sysync::TSyncAppBase*, 
> sysync::TSyncSessionHandle*, const char*)':
> ./src/synthesis/src/sysync/syncagent.cpp:623: error: 'fAbortRequested' was 
> not declared in this scope
> ./src/synthesis/src/sysync/syncagent.cpp:624: error: 'fSuspendRequested' was 
> not declared in this scope
> ./src/synthesis/src/sysync/syncagent.cpp:625: error: 'fEngineSessionStatus' 
> was not declared in this scope
> ./src/synthesis/src/sysync/syncagent.cpp:628: error: 'fProgressInfoList' was 
> not declared in this scope
> ./src/synthesis/src/sysync/syncagent.cpp:629: error: 'fPendingStepCmd' was 
> not declared in this scope
> ./src/synthesis/src/sysync/syncagent.cpp:635: error: 'fIncomingBytes' was not 
> declared in this scope
> ./src/synthesis/src/sysync/syncagent.cpp:636: error: 'fOutgoingBytes' was not 
> declared in this scope

Not sure about this here. You'll have to look into the source to
determine whether these members (f* are class members) are perhaps not
defined in the mode in which the engine is now getting compiled. Might
be a case of not enough or too many ifdefs.

> This is my configure line :
> ./configure CFLAGS=-Os CXXFLAGS=-Os\
> --enable-libcurl=no \
> --disable-shared \
> --enable-static \
> --enable-file \
> --disable-sqlite \
> --enable-core \
> --disable-libsoup \
> --with-syncml-engines=client \
> --disable-gnome-keyring \
> --disable-dbus-timeout-hack \
> --disable-ebook \
> --disable-ecal \
> --disable-regex \
> --disable-kcalextended \
> --disable-qtcontacts \
> --disable-bluetooth \
> --disable-libsoup \
> --disable-maemo \
> --disable-unit-tests \
> --with-boost-libdir=/usr/lib \
> --with-boost=/usr/include/boost \
> --disable-dbus-service \
> --disable-notify \
> --disable-nls \
> --disable-xmlrpc \
> --disable-dbus-service
> 
> I tried to put as many option as I can trying to get minmal config. By the 
> way I activated file backend.
> Have you any idea about errors encountred?

See above.

> Regards
> 
> > Message du 26/10/11 13:26
> > De : "Patrick Ohly" 
> 
> > A : "jacqueline.leroi" 
> > Copie à : 
> > Objet : Re: [SyncEvolution] syncevolution + file size
> >
> > On Wed, 2011-10-26 at 13:09 +0200, jacqueline.leroi wrote:
> > > Hi Patrick,
> > > I wonder how to do it since i think that the option --with-syncml-engines 
> > > has no effect as it 's described in configure file.
> > > 
> > > --with-syncml-engines=client|server|both
> > > Determines which kind of support for SyncML is
> > > compiled and linked into SyncEvolution. Default is
> > > both. Currently has no effect.
> > > have you any idea to compile only client side .
> > 
> > In libsynthesis/src/Makefile.am find the
> > -include 
> > $(srcdir)/Targets/ReleasedProducts/combiEngine_opensource_linux/combiengine_opensource_linux_prefix.h
> > and change that into
> > -include 
> > $(srcdir)/Targets/ReleasedProducts/clientEngine_opensource_linux/clientengine_demo_x86_linux_prefix.h
> > 
> > Also change combiEngine_opensource_linux into clientEngine_opensource_linux 
> > further down in that Makefile.am.
> > 
> > That should give you a libsynthesis configured as SyncML client only.
> > 
> > BTW, can we keep this discussion on the mailing list?
> > 
> > -- 
> > Best Regards
> > 
> > Patrick Ohly
> > Senior Software Engineer
> > 
> > Intel GmbH
> > Open Source Technology Center 
> > Pützstr. 5 Phone: +49-228-2493652
> > 53129 Bonn
> > Germany
> > 
> > 
> 
> Une messagerie gratuite, garantie à vie et des services en plus, ça vous 
> tente ?
> Je crée ma boîte mail www.laposte.net


_______________________________________________
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to