[ 6%] Building C object CMakeFiles/maya-calendar.dir/Maya/Application.c.o
In file included from /home/david/src/maya/fix-1020798/build/Maya/Application.c:29:0:
/usr/include/evolution-data-server-3.6/libecal/e-cal-component.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
In file included from /home/david/src/maya/fix-1020798/build/Maya/Application.c:30:0:
/usr/include/evolution-data-server-3.6/libedataserver/e-source.h:20:2: error: #error "Only <libedataserver/libedataserver.h> should be included directly."
In file included from /home/david/src/maya/fix-1020798/build/Maya/Application.c:31:0:
/usr/include/evolution-data-server-3.6/libecal/e-cal-util.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
In file included from /usr/include/evolution-data-server-3.6/libecal/e-cal-util.h:30:0,
from /home/david/src/maya/fix-1020798/build/Maya/Application.c:31:
/usr/include/evolution-data-server-3.6/libecal/e-cal-component.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
In file included from /usr/include/evolution-data-server-3.6/libecal/e-cal-util.h:31:0,
from /home/david/src/maya/fix-1020798/build/Maya/Application.c:31:
/usr/include/evolution-data-server-3.6/libecal/e-cal-recur.h:24:2: error: #error "Only <libecal/libecal.h> should be included directly."
In file included from /usr/include/evolution-data-server-3.6/libecal/e-cal-recur.h:30:0,
from /usr/include/evolution-data-server-3.6/libecal/e-cal-util.h:31,
from /home/david/src/maya/fix-1020798/build/Maya/Application.c:31:
/usr/include/evolution-data-server-3.6/libecal/e-cal-component.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
/home/david/src/maya/fix-1020798/build/Maya/Application.c:35:43: fatal error: libedataserver/e-source-group.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/maya-calendar.dir/Maya/Application.c.o] Error 1
make[1]: *** [CMakeFiles/maya-calendar.dir/all] Error 2
make: *** [all] Error 2
Under Ubuntu 13.04 I encounter that error compiling Maya, does Maya not work on newer versions of Ubuntu? The CMake ran just fine with no errors.
Well, it is as the error said, that the project is trying to wrongly include some header files directly, when only <libecal/libecal.h> should be included. The error is thrown here in the preprocessing stage: https:/ /github. com/GNOME/ evolution- data-server/ blob/master/ calendar/ libecal/ e-cal-time- util.h# L11