Ok, I've done it. First of all, credit where it is due, my script is an improvment on the one found here: http://itworks.hu/2012/03/06/compili...-ubuntu-12-04/ by csak.
Copy the following text into a text editor:
Code:
#!/bin/bash
sudo apt-get install git gnome-common checkinstall gtk-doc-tools evolution-data-server-dev libgtk-3-dev libgconf2-dev libsoup-gnome2.4-dev libedataserver1.2-dev libedataserverui-3.0-dev libebackend1.2-dev libecal1.2-dev libedata-cal1.2-dev libedata-book1.2-dev evolution-dev
sudo rm -r evolution-ews ; git clone http://git.gnome.org/browse/evolution-ews -b gnome-3-2
sed '/\-Wall/ a \
\t-Wno-error=deprecated-declarations \
\t-Wno-missing-field-initializers' evolution-ews/configure.ac |
sed '/AC_SUBST(SOUP_CFLAGS)/ i \
AC_CHECK_LIB(gthread-2.0, g_thread_init)' >evolution-ews/configure.ac.new
mv evolution-ews/configure.ac.new evolution-ews/configure.ac
cd evolution-ews
./autogen.sh --prefix=/usr --disable-maintainer-mode
#sudo checkinstall --pkgname=evolution-ews --pkgversion=3.2 --pkgrelease=git -requires `evolution \(\>\= 3.2\), evolution \(\<\<3.3\)` && sudo mv *.deb ..
make
sudo make install
cd ..
Save it in your home folder as build-evolution.sh
open a terminal and type:
Code:
chmod a+x build-evolution.sh
./build-evolution.sh
Wait for everyting to compile and install, then restart evolution and you should be able to add "Exchange Web Services" accounts to evolution.
The script will leave a directory(folder) called evolution-ews in your home folder. Once you have confirmed everyting is working properly, you can delete this directory and its contents using your file manager of choice (eg. nautilus).