On Sun, 2012-11-11 at 15:24 +0100, Daniel CLEMENT wrote:
> I fear I have nothing to report here, as I ran into errors during the
> "make" process. Attached error message. I rather would have expected
> errors at runtime.

In file included from src/gdbusxx/gdbus-cxx-bridge.h:59:0,
                 from src/gdbusxx/gdbus-cxx-bridge.cpp:20:
src/gdbusxx/gdbus-cxx.h:25:30: erreur fatale: boost/function.hpp : Aucun
fichier ou dossier de ce type
compilation terminée.

boost/function.hpp - file not found?

Do you have the boost development files installed, in particular the one
for boost function? On Debian Testing, that file is installed via
libboost-dev.

The configure script checks for "boost base"; I'm not sure whether that
includes boost/function.hpp.

Hmm, I think the problem is rather the lack of BOOST_CPPFLAGS in the
flags used when compiling gdbusxx.

Does this patch fix the problem? It also adds SYNCEVO_WFLAGS, which was
missing (unrelated, makes no difference unless there are problems in the
code).


diff --git a/src/gdbusxx/gdbusxx.am b/src/gdbusxx/gdbusxx.am
index bd93406..c78d34a 100644
--- a/src/gdbusxx/gdbusxx.am
+++ b/src/gdbusxx/gdbusxx.am
@@ -12,12 +12,13 @@ src_gdbusxx_libgdbussyncevo_la_SOURCES =    \
 
 src_gdbusxx_libgdbussyncevo_la_LDFLAGS = $(src_gdbus_version_info)
 src_gdbusxx_libgdbussyncevo_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS)
-src_gdbusxx_libgdbussyncevo_la_CXXFLAGS = $(GLIB_CFLAGS) $(DBUS_CFLAGS)
+src_gdbusxx_libgdbussyncevo_la_CXXFLAGS = $(GLIB_CFLAGS) $(DBUS_CFLAGS) 
$(SYNCEVO_WFLAGS)
+src_gdbusxx_libgdbussyncevo_la_CPPFLAGS = $(BOOST_CPPFLAGS)
 
 MAINTAINERCLEANFILES += Makefile.in
 
 noinst_PROGRAMS += src/gdbusxx/example
 src_gdbusxx_example_SOURCES = src/gdbusxx/test/example.cpp
-src_gdbusxx_example_CPPFLAGS = -I$(top_srcdir)/src/gdbusxx/
-src_gdbusxx_example_CXXFLAGS = $(GLIB_CFLAGS) $(DBUS_CFLAGS)
+src_gdbusxx_example_CPPFLAGS = -I$(top_srcdir)/src/gdbusxx/ $(BOOST_CPPFLAGS)
+src_gdbusxx_example_CXXFLAGS = $(GLIB_CFLAGS) $(DBUS_CFLAGS) $(SYNCEVO_WFLAGS)
 src_gdbusxx_example_LDADD = src/gdbusxx/libgdbussyncevo.la $(GLIB_LIBS) 
$(DBUS_LIBS)


-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to