1) Please use these branches [and not SVN trunk] to check-out your source:
http://svn.gnome.org/viewvc/evolution-data-server/branches/EXCHANGE_MAPI_BRANCH/http://svn.gnome.org/viewvc/evolution/branches/EXCHANGE_MAPI_BRANCH/
2) libmapi-0.6 (openchange [1] revision 306) and samba4 (revision 26100) need to be installed/built before attempting to build e-d-s or evolution for MAPI.
3)
Please ensure you have all the required build-tools installed [2] on your
system. Also check PKG_CONFIG_PATH to make sure that the installed
packages are available to the build process.
These are the autogen args I use for e-d-s and evolution:
'--enable-maintainer-mode
--disable-static --disable-gtk-doc --with-openldap=yes
--with-openldap-libs=/usr/lib --with-krb5=/usr
--with-krb5-includes=/usr/include --with-krb5-libs=/usr/lib
--enable-mono=no --enable-nss=yes --enable-nspr=yes
--enable-gnome-keyring=yes --enable-ssl --enable-smime --enable-debug
--enable-exchange-mapi=yes --enable-nntp --enable-plugins=all --enable-exchange=yes --with-e2k-debug --enable-pilot-conduits=no'
Note that to use the same arguments, you may have to install quite a few devel-packages.
[1]
http://openchange.org/[2] Using jhbuild to do this greatly helps !! ..
http://www.jamesh.id.au/software/jhbuild/