Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick
- From: Thomas Mittelstaedt <tmstaedt t-mittelstaedt de>
- To: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick
- Date: Sat, 11 Sep 2010 02:30:35 +0200
Am Freitag, den 10.09.2010, 09:36 +0200 schrieb Thomas Mittelstaedt:
> Am Freitag, den 10.09.2010, 06:30 +0200 schrieb Thomas Mittelstaedt:
> > Am Montag, den 06.09.2010, 08:18 +0200 schrieb Milan Crha:
> > > On Sat, 2010-09-04 at 05:30 +0200, Thomas Mittelstaedt wrote:
> > > > .libs/libebook_1_2_la-e-book.o: In function
> > > > `e_book_new_default_addressbook':
> > > > /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329: undefined reference to `e_source_list_peek_default_source'
> > >
> > > Hi,
> > > I suppose you do not have latest master sources of the
> > > evolution-data-server. The "missing" function is part of
> > > libedataserver/e-source-list.c and it links to libedataserver-1.2.la,
> > > which I see it used in the Makefile.am in addressbook/libebook. The
> > > function was added just recently.
Well, resolved it finally. The problem was the existing 2.30
installation on maverick. There was a libedataserver....so in /usr/lib.
Using "-L/opt/evo/lib" for autogen.sh
solved that problem:
PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/ CC='ccache gcc' CFLAGS=-g
LDFLAGS=-L/opt/evo/lib bash ../../evolution/autogen.sh
--prefix='/opt/evo' --disable-deprecated-warning-flags
Then some test...-files failed to compile. I had to do the following:
========================================================
diff --git a/calendar/backends/file/Makefile.am
b/calendar/backends/file/Makefile.am
index c672157..b2e2fdf 100644
--- a/calendar/backends/file/Makefile.am
+++ b/calendar/backends/file/Makefile.am
@@ -44,6 +44,9 @@ test_interval_searches_LDADD = \
test_interval_searches_CPPFLAGS = \
$(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/calendar \
-I$(top_builddir)/calendar \
$(EVOLUTION_CALENDAR_CFLAGS) \
-DTEST_QUERY_RESULT=1
diff --git a/calendar/libedata-cal/Makefile.am
b/calendar/libedata-cal/Makefile.am
index f88e24e..182d68d 100644
--- a/calendar/libedata-cal/Makefile.am
+++ b/calendar/libedata-cal/Makefile.am
@@ -121,12 +121,15 @@ e_calendar_factory_LDADD = \
test_e_sexp_SOURCES = e-cal-backend-sexp.c e-cal-backend-sexp.h
test_e_sexp_CPPFLAGS = \
$(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
-I$(top_srcdir)/calendar \
-I$(top_builddir)/calendar \
$(EVOLUTION_CALENDAR_CFLAGS) \
-DTESTER=1
-test_e_sexp_LDADD = libedata-cal-1.2.la $(E_DATA_SERVER_LIBS)
+test_e_sexp_LDADD = libedata-cal-1.2.la \
+ $(top_builddir)/libedataserver/libedataserver-1.2.la
+###$(E_DATA_SERVER_LIBS)
test_intervaltree_SOURCES = test-intervaltree.c
e-cal-backend-intervaltree.c
===========================================================================
Finally, I got evolution 2.31 to run, but the restoration of ics files
from my 2.28 version is a problem. The memo (notes) ics-files are
somehow not recognized, even if they are set correctly in the gconf
keys.
--
thomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]