Maya compile time error

Bug #1203261 reported by David Gomes
This bug report is a duplicate of:  Bug #1088815: support newer evolution-data-server. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Maya
New
Undecided
Unassigned

Bug Description

[ 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.

Revision history for this message
Marcus Lundgren (marcus-lundgren) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.