General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Compiling SOGO / Openchange Connector against Samba 4.1.17 and Openchange 2.3 GIT


Chronological Thread 
  • From: Ozy de Jong < >
  • To: < >
  • Subject: [SOGo] Compiling SOGO / Openchange Connector against Samba 4.1.17 and Openchange 2.3 GIT
  • Date: Thu, 19 Mar 2015 15:38:30 +0100

Hello,

I've been working on getting SOGO and Openchange to work on RHEL / CentOS 7.
What i have successfully compiled yet and should work:

- Samba 4 DC with Heimdal Kerberos
- Openchange server 2.3 current GIT
- SOPE 4.9.2 current GIT
- Sogo 2.2.16 current GIT

The samba domain runs, the openchange schema has been provisionned, users can
be added and mapi profiles work.
There's only the Openchange client included with sogo which i can't get to
compile.
I guess it's because the code is supposed to work with Samba 4.1.11 and not
4.1.17, can anyone confirm this considering the following compile errors ?

This is gnustep-make 2.6.6. Type 'make print-gnustep-make-help' for help.
Python executable: /usr/bin/python
Making all for bundle SOGoBackend...
Compiling file MAPIStoreContext.m ...
MAPIStoreContext.m: In function â+[MAPIStoreContext
listAllContextsForUser:withIndexing:inMemCtx:]â:
MAPIStoreContext.m:127:42: erreur: expected expression before âvoidâ
DLIST_CONCATENATE(list, current, void);
^
MAPIStoreContext.m: In function â-[MAPIStoreContext getNewChangeNumber]â:
MAPIStoreContext.m:552:3: erreur: too few arguments to function
âopenchangedb_get_new_changeNumberâ
if (openchangedb_get_new_changeNumber (connInfo->oc_ctx, &newVersionNumber)
^
In file included from MAPIStoreContext.m:57:0:
/usr/local/samba/include/libmapiproxy.h:202:17: note: declared here
enum MAPISTATUS openchangedb_get_new_changeNumber(struct
openchangedb_context *, const char *, uint64_t *);
^
MAPIStoreContext.m: In function â-[MAPIStoreContext getNewChangeNumbers:]â:
MAPIStoreContext.m:571:43: erreur: too few arguments to function
âopenchangedb_get_new_changeNumbersâ
memCtx, max, &numbers)
^
In file included from MAPIStoreContext.m:57:0:
/usr/local/samba/include/libmapiproxy.h:203:17: note: declared here
enum MAPISTATUS openchangedb_get_new_changeNumbers(struct
openchangedb_context *, TALLOC_CTX *, const char *, uint64_t, struct
UI8Array_r **);
^
make[3]: *** [obj/SOGoBackend.obj/MAPIStoreContext.m.o] Erreur 1
make[2]: *** [internal-bundle-run-compile-submake] Erreur 2
make[1]: *** [SOGoBackend.all.bundle.variables] Erreur 2
make: *** [internal-all] Erreur 2


According to the openchange wiki, the current 2.3 HEAD can be compiled
against any Samba 4.1.x release.
So if the sogo openchange connector won't compile because of my Samba version
4.1.17, then i'd try to recompile too with 4.1.11.
My goal is to make some samba and openchange server rpms for x64 that would
be compatible with future SOGO EL7 releases.

Any look into this compile error would be appreciated.

Regards,
Ozy.



Archive powered by MHonArc 2.6.18.

Top of page