Re: [Evolution] [Not subscribed to the list] Calender compiling from git issue

2010-09-17 Thread Ralf Mardorf
On Thu, 2010-09-16 at 22:44 +0200, Thomas Mittelstaedt wrote:
 Am Sonntag, den 12.09.2010, 12:16 +0200 schrieb Ralf Mardorf:
  Hi Paul Smith :)
  
  Im using your http://mad-scientist.us/Makefile to build Evolution from
  git for the audio distro 64 Studio 3.3 alpha amd64, based on Ubuntu
  Karmic.
  
  And perhaps hi list :), maybe my request is allowed to get through the
  list, without being subscribed.
  
  All optional packages are disabled:
  
  ENABLE_libgweather :=   n
  ENABLE_exchange :=  n
  ENABLE_mapi :=  n
  ENABLE_webcal :=n
  ENABLE_openchange :=n
  
  I build those dependencies ...
  
  atk_1.30.0-1_amd64.deb
  glib_2.25.15-1_amd64.deb (+ dummy packages
  libglib2.0-0_2.25.15-1_all.deb and libglib2.0-dev_2.25.15-1_all.deb)
  gtk+_2.20.1-1_amd64.deb
  libgdata_0.6.3-1_amd64.deb
  
  ... to build gtkhtml, evolution-data-server and evolution.
  
  I had some issues with glib. First I build it to /usr/local and got
  issues because some .la wer not found in /usr, then I build it to /usr
  and the .la were not found in /usr/local, so I add links.
  
  Until now I couldn't solve this issue:
  
  r...@64studio:/usr/src/evolution-git# make -j2
  [snip]
  make[5]: Entering directory
  `/usr/src/evolution-git/obj/evolution-data-server/calendar/libedata-cal'
CC libedata_cal_1_2_la-e-data-cal-enumtypes.lo
CC libedata_cal_1_2_la-e-cal-backend.lo
CC libedata_cal_1_2_la-e-cal-backend-cache.lo
CC libedata_cal_1_2_la-e-cal-backend-factory.lo
CC libedata_cal_1_2_la-e-cal-backend-intervaltree.lo
CC libedata_cal_1_2_la-e-cal-backend-sexp.lo
CC libedata_cal_1_2_la-e-cal-backend-sync.lo
CC libedata_cal_1_2_la-e-cal-backend-util.lo
CC libedata_cal_1_2_la-e-cal-backend-store.lo
CC libedata_cal_1_2_la-e-cal-backend-file-store.lo
CC libedata_cal_1_2_la-e-data-cal.lo
CC libedata_cal_1_2_la-e-data-cal-view.lo
CC e_calendar_factory-e-data-cal-factory.o
CC e_calendar_factory-e-data-cal-migrate.o
CC e_calendar_factory-e-cal-backend-loader-factory.o
CC test_e_sexp-e-cal-backend-sexp.o
CC test_intervaltree-test-intervaltree.o
  ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend-sexp.c:27:47:
   error: libedataserver/e-data-server-util.h: No such file or directory
  In file included
  from 
  ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend-sexp.h:30,
  
  from 
  ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend-sexp.c:30:
  ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend.h:26:35:
   error: libedataserver/e-list.h: No such file or directory
  ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend.h:27:37:
   error: libedataserver/e-source.h: No such file or directory
CC test_intervaltree-e-cal-backend-intervaltree.o
  In file included
 
 I recently built the gnome-2-32 version and had the above compile error
 as well. I fixed it with the following patch, but I think, it is fixed
 in the latest commits in the master and gnome-2-32 branches. Just pull
 the latest:

Thank you :)

I've got a cold and no fun trying to build it today, I'll try it ASAP.
I'm a Linux user only, not a Linux coder. Regarding to questions about
compiling issues, should I subscribe to evolution-list or to
evolution-hackers. After watching the archives the correct place seems
to be evolution-hackers, OTOH since Evolution replaced Thunderbird for
me, I might have some questions about the usage, e.g. about issues that
might be known when sharing mails for several Linux installs (Linux
multi-boot) on one machine.

Cheers!

Ralf

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] [Not subscribed to the list] Calender compiling from git issue

2010-09-17 Thread Patrick O'Callaghan
On Fri, 2010-09-17 at 09:04 +0200, Ralf Mardorf wrote:
[...]
 I've got a cold and no fun trying to build it today, I'll try it ASAP.
 I'm a Linux user only, not a Linux coder. Regarding to questions about
 compiling issues, should I subscribe to evolution-list or to
 evolution-hackers. After watching the archives the correct place seems
 to be evolution-hackers, OTOH since Evolution replaced Thunderbird for
 me, I might have some questions about the usage, e.g. about issues that
 might be known when sharing mails for several Linux installs (Linux
 multi-boot) on one machine.

Usage questions to evolution-list (the user's list). Programming
questions mostly to evolution-hackers, but the occasional compilation
question is OK on the user's list.

poc

PS Note that cross-posting to multiple lists is generally frowned on.
For one thing, people who aren't on all the lists won't see all the
replies.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] [Not subscribed to the list] Calender compiling from git issue

2010-09-16 Thread Thomas Mittelstaedt
Am Sonntag, den 12.09.2010, 12:16 +0200 schrieb Ralf Mardorf:
 Hi Paul Smith :)
 
 Im using your http://mad-scientist.us/Makefile to build Evolution from
 git for the audio distro 64 Studio 3.3 alpha amd64, based on Ubuntu
 Karmic.
 
 And perhaps hi list :), maybe my request is allowed to get through the
 list, without being subscribed.
 
 All optional packages are disabled:
 
 ENABLE_libgweather := n
 ENABLE_exchange :=n
 ENABLE_mapi :=n
 ENABLE_webcal :=  n
 ENABLE_openchange :=  n
 
 I build those dependencies ...
 
 atk_1.30.0-1_amd64.deb
 glib_2.25.15-1_amd64.deb (+ dummy packages
 libglib2.0-0_2.25.15-1_all.deb and libglib2.0-dev_2.25.15-1_all.deb)
 gtk+_2.20.1-1_amd64.deb
 libgdata_0.6.3-1_amd64.deb
 
 ... to build gtkhtml, evolution-data-server and evolution.
 
 I had some issues with glib. First I build it to /usr/local and got
 issues because some .la wer not found in /usr, then I build it to /usr
 and the .la were not found in /usr/local, so I add links.
 
 Until now I couldn't solve this issue:
 
 r...@64studio:/usr/src/evolution-git# make -j2
 [snip]
 make[5]: Entering directory
 `/usr/src/evolution-git/obj/evolution-data-server/calendar/libedata-cal'
   CC libedata_cal_1_2_la-e-data-cal-enumtypes.lo
   CC libedata_cal_1_2_la-e-cal-backend.lo
   CC libedata_cal_1_2_la-e-cal-backend-cache.lo
   CC libedata_cal_1_2_la-e-cal-backend-factory.lo
   CC libedata_cal_1_2_la-e-cal-backend-intervaltree.lo
   CC libedata_cal_1_2_la-e-cal-backend-sexp.lo
   CC libedata_cal_1_2_la-e-cal-backend-sync.lo
   CC libedata_cal_1_2_la-e-cal-backend-util.lo
   CC libedata_cal_1_2_la-e-cal-backend-store.lo
   CC libedata_cal_1_2_la-e-cal-backend-file-store.lo
   CC libedata_cal_1_2_la-e-data-cal.lo
   CC libedata_cal_1_2_la-e-data-cal-view.lo
   CC e_calendar_factory-e-data-cal-factory.o
   CC e_calendar_factory-e-data-cal-migrate.o
   CC e_calendar_factory-e-cal-backend-loader-factory.o
   CC test_e_sexp-e-cal-backend-sexp.o
   CC test_intervaltree-test-intervaltree.o
 ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend-sexp.c:27:47:
  error: libedataserver/e-data-server-util.h: No such file or directory
 In file included
 from 
 ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend-sexp.h:30,
 
 from 
 ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend-sexp.c:30:
 ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend.h:26:35:
  error: libedataserver/e-list.h: No such file or directory
 ../../../../evolution-data-server/calendar/libedata-cal/e-cal-backend.h:27:37:
  error: libedataserver/e-source.h: No such file or directory
   CC test_intervaltree-e-cal-backend-intervaltree.o
 In file included

I recently built the gnome-2-32 version and had the above compile error
as well. I fixed it with the following patch, but I think, it is fixed
in the latest commits in the master and gnome-2-32 branches. Just pull
the latest:

===
evolution-data-server/calendar/libedata-cal/e-cal-backend-sexp.c:27:47:
error: libedataserver/e-data-server-util.h: No such file or directory

From: Thomas Mittelstaedt tmsta...@t-mittelstaedt.de


---

 calendar/backends/file/Makefile.am |3 +++
 calendar/libedata-cal/Makefile.am  |1 +
 2 files changed, 4 insertions(+), 0 deletions(-)


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 0f33c68..ed2f978 100644
--- a/calendar/libedata-cal/Makefile.am
+++ b/calendar/libedata-cal/Makefile.am
@@ -121,6 +121,7 @@ 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)\

===

I usually install evolution into /opt/evo. To make sure the right
libraries are linked in, i.e. not the ones from the existing evolution
2.30 installation in /usr, I use the LDFLAGS=-L/opt/evo/lib when
generating the configure script via: