install evolution-ews on ubuntu 12.04

Install evolution-ews for evolution 3.2.3 on ubuntu 12.04

This is a nice post, I adopted from “http://loginroot.com/evolution-ews-plugin-install-script-for-evolution-3-2-3-on-ubuntu-12-04/” for my use and share with others.

 

Made script for automatic evolution-ews plugin install.
By default ubuntu 12.04 uses evolution 3.2.3 and there are no evolution-ews package in repository.
Use evolution-ews plugin the same version as Your evolution mail client version.

If You want to compile and edit configuration file manualy, script automates everything that is written in this post:
Adding MS exchange compability with evolution-ews in ubuntu 12.04

Download link:
evolution-ews-3.2.3-install.sh

wget http://loginroot.com/scripts/evolution-ews-3.2.3-install.sh
chmod +x evolution-ews-3.2.3-install.sh
./evolution-ews-3.2.3-install.sh

#!/bin/bash
sudo apt-get install evolution libc6-dev-i386 evolution-data-server-dev pkg-config intltool gtk-3.0 gconf-2.0 libgconf2-dev libedataserver1.2-dev libedataserverui-3.0-dev libebackend1.2-dev libecal1.2-dev libedata-cal1.2-dev libedata-book1.2-dev evolution-dev libtool liblogthread-dev gtk-doc-tools
rm -rf evolution-ews-3.2.3
wget http://download.gnome.org/sources/evolution-ews/3.2/evolution-ews-3.2.3.tar.xz
tar -xvf evolution-ews-3.2.3.tar.xz
cd evolution-ews-3.2.3
sed -i -e s/"AC_CONFIG_HEADERS(config.h)"/"AC_CONFIG_HEADERS(config.h)\nAC_CHECK_LIB(gthread-2.0, g_thread_init)"/g configure.ac
sed -i -e s/"-DGSEAL_ENABLE"/"-DGSEAL_ENABLE\n\t-Wno-error=deprecated-declarations"/g configure.ac
autoreconf
./configure
make
sudo make install
echo "Done!!!"

Leave a comment