This FAQ didnt help me !

 #evolution in - Poke us !

Compiling from source

/usr/include/samba-4.0/ndr.h:404: error: expected declaration specifiers or â€~…’ before â€~comparison_fn_t’

UPDATE : Fixed in evolution-mapi 0.25.90
Error :
/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -g -O2 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -g -O2 -MT exchange-mapi-folder.lo -MD -MP -MF .deps/exchange-mapi-folder.Tpo -c exchange-mapi-folder.c -fPIC -DPIC -o .libs/exchange-mapi-folder.o In file included from /usr/include/samba-4.0/dcerpc.h:32, from /usr/include/libmapi/libmapi.h:46, from exchange-mapi-connection.h:30, from exchange-mapi-folder.c:24: /usr/include/samba-4.0/ndr.h:404: error: expected declaration specifiers or â€~…’ before â€~comparison_fn_t’ make[3]: *** [exchange-mapi-folder.lo] Error 1
Solution :
Comment out : /usr/include/samba-4.0/ndr.h:420 which has â€~comparison_fn_t’ error: m4_defn: undefined macro: _AC_SUBST_VARS || build/m4/public.m4:171: SMB_WRITE_PERLVARS is expanded from... the top level

Solution : Use mmeeks-smb_write_makevars.m4.patch on samba or use a newer version of Samba.

Account Setup

I get an error on the console: "(evolution:XXXXX): e-utils-WARNING **: cant load plugin cannot open shared object file: No such file or directory"

The above warning indicates that the Exchange MAPI plugin is not getting loaded when Evolution starts up. You have to export this variable in the terminal before starting Evolution:

 export LD_LIBRARY_PATH=<samba4 installation directory>/lib:$LD_LIBRARY_PATH

For example, if your samba4 installation directory is '/usr/local/samba', then

 export LD_LIBRARY_PATH=/usr/local/samba/lib:$LD_LIBRARY_PATH

(You could add this command in your ~/.profile so that you won't need to do this every time you start Evolution. This warning is also the reason why 'plug-in won't stay on after Evolution shuts down and reopens')

I get an error on the console: "(evolution:XXXXX): cannot open shared object file: No such file or directory"

  Check for the symlink in /opt/samba4 (or libmapi install directory. ) if it is not there,  create symlink with

How do I specify my account details?

If a user has an e-mail address, then use:

If the Exchange server is part of an AD domain, where the user's handle is somedomain\someuser, then use:

  • 2) Username: someuser

  • 3) Domain: somedomain

Domain? I cant specify that in my setup. Am I screwed?

No! Please check Edit -> Plugins and enable the Exchange MAPI plugin.

Ive specified all the details correctly, but Im unable to get past the Authentication?

Please make sure:

  • Your mailbox is enabled for MAPI (This is a setting on the server).
  • Your Exchange server has Public Folders set up (There have been some issues observed if there is no PF hierarchy setup on the server).


Why does each calendar/task list/memo list ask for a password everytime I enable it?

Yes.. Sorry.. It is a bug.. And, we're working really hard to fix it.

UPDATE: This has been fixed in the branch. Yippee!! See the e-d-s fix and the evolution fix

Apps/Evolution/MAPI_FAQ (last edited 2018-09-08 09:39:23 by AndreKlapper)