This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trouble compiling akonadi-exchange

Tags: None
(comma "," separated)
JudahsShadow
Registered Member
Posts
3
Karma
0
OS

Trouble compiling akonadi-exchange

Fri Dec 13, 2013 2:13 am
So, I'm trying to get akonadi-exchange working, and I'm having trouble compiling. I finally managed to get a version of libmapi that satisfied cmake, and most importantly (at least I thought) included libmapi++, but I'm getting the same compiling errors. Here are my pertinant versions;

    Distro: openSUSE 13.1/Tumbleweed
    libmapi: 2.0r3669-2
    libmapi packages libmapi-dev, libmapi0, libmapiadmin-dev, libmapiadmin0, libmapipp-dev, libmapipp0, libmapiproxy-dev, libmapiproxy0, libmapistore-dev, libmapistore0 all imported from debs via alien from debian squeeze from inverse.ca repos (linked from openchange.org)
    KDE: 4.11.2-1.1 from official repos
    akonadi: same
    KDE packages: libakonadiinernals-devel 1.10.3-4.1

Here's a bit of my errors
Code: Select all
./Public/akonadi-exchange/calendar/excalresource.cpp: In member function ‘bool MapiAppointmentException::preparePayload()’:
./Public/akonadi-exchange/calendar/excalresource.cpp:1210:13: error: ‘struct ExtendedException’ has no member named ‘WriterVersion2’
     if (ee->WriterVersion2 >= 0x00003009) {
             ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1211:47: error: invalid use of ‘ChangeHighlight::ChangeHighlight’
         changeHighlight = ee->ChangeHighlight.ChangeHighlight.ChangeHighlightValue;
                                               ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1215:36: error: request for member ‘Msg’ in ‘ee->ExtendedException::Subject’, which is of non-class type ‘const char*’
         title.setUtf16(ee->Subject.Msg.Msg, ee->Subject.Msg.Length);
                                    ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1215:57: error: request for member ‘Msg’ in ‘ee->ExtendedException::Subject’, which is of non-class type ‘const char*’
         title.setUtf16(ee->Subject.Msg.Msg, ee->Subject.Msg.Length);
                                                         ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1219:40: error: request for member ‘Msg’ in ‘ee->ExtendedException::Location’, which is of non-class type ‘const char*’
         location.setUtf16(ee->Location.Msg.Msg, ee->Location.Msg.Length);
                                        ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1219:62: error: request for member ‘Msg’ in ‘ee->ExtendedException::Location’, which is of non-class type ‘const char*’
         location.setUtf16(ee->Location.Msg.Msg, ee->Location.Msg.Length);
                                                              ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1234:50: error: ‘union Exception_Value’ has no member named ‘Value’
         state = AppointmentStates(e->MeetingType.Value);
                                                  ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1237:42: error: ‘union Exception_Value’ has no member named ‘Value’
         reminderDelta = e->ReminderDelta.Value;
                                          ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1240:38: error: ‘union Exception_Value’ has no member named ‘Value’
         reminderSet = e->ReminderSet.Value != 0;
                                      ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1243:57: error: ‘union Exception_Value’ has no member named ‘Value’
         busyStatus = (enum FreeBusyStatus)e->BusyStatus.Value;
                                                         ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1246:36: error: ‘union Exception_Value’ has no member named ‘Value’
         attachment = e->Attachment.Value != 0;
                                    ^
./Public/akonadi-exchange/calendar/excalresource.cpp:1249:29: error: ‘union Exception_Value’ has no member named ‘Value’
         allDay = e->SubType.Value != 0;
                             ^
make[2]: *** [calendar/CMakeFiles/akonadi_excal_resource.dir/excalresource.o] Error 1
make[1]: *** [calendar/CMakeFiles/akonadi_excal_resource.dir/all] Error 2
make: *** [all] Error 2
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
The resource has been bitrotting for a while, mainly because the developer has no longer access to an Exchange server. Discussion has popped up again in the PIM development list, however.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
JudahsShadow
Registered Member
Posts
3
Karma
0
OS
einar wrote:The resource has been bitrotting for a while, mainly because the developer has no longer access to an Exchange server. Discussion has popped up again in the PIM development list, however.


Ah ok. I was hoping I was just missing some dependency. I was ultimately wanting to use the resource for my school's office365 install (which if I understand correctly, is more or less a branded interface to the outlook.com stuff)


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]