Ubuntu 12.04 has crappy support for bussiness solutions.
You can check MS exchange mail, synchronize calendar in evolution with evolution-ews which is missing in default repository. Exchange has to have owa enabled.
Also default client on Ubuntu precise is thunderbird, which doesn’t have ability to use system provided calendar.
How silly is that?
Didn’t want to add external repositories, as it updates lots of packaged in system, and crappy apt-get doesn’t do its job to keep only one version!!! I needed only one small plugin, so why should I touch all default system, which suppose to be “stable”?
Or You can search on internet for reliable repository, try search for all needed packets and include only them, but keep in mind, that newer evolution might require newer libraries, and Your system – older, so You may need to update lots of stuff.
Don’t forget, that when You update evolution to newer version, You may need to recompile new evolution-ews plugin manually.
So here is tutorial how to add exchange support to ubuntu without external repositories, and with evolution client version, which is in default ubuntu repository.
EDIT: Made script, that makes all those steps automatically, You can download it from this post: evolution-ews plugin install script for evolution 3.2.3 on ubuntu 12.04
Firstly, need to install all needed packages:
$ 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
Now download somewhere evolution-ews packet from site:
http://projects.gnome.org/evolution/previous.shtml
Choose version by Your evolution on ubuntu:
mine is 3.2.3:
$ evolution -v
evolution 3.2.3
So I downloaded this one: evolution-ews 2.3.2
extract it and go inside:
$ tar -xvf evolution-ews-3.2.3.tar.xz
$ cd evolution-ews-3.2.3
because of some bugs in ubuntu libraries, You have to edit configure.ac file and add line “AC_CHECK_LIB(gthread-2.0, g_thread_init)” somewhere at the beggining of file, for example (mine is 6th line) after “AC_CONFIG_HEADERS(config.h)”.
Example:
AC_PREREQ(2.58)
AC_INIT([evolution-ews], [3.2.3], [http://bugzilla.gnome.org/browse.cgi?product=evolution-ews])
AM_INIT_AUTOMAKE([gnu 1.9 dist-xz no-dist-gzip])
AC_CONFIG_SRCDIR(README)
AC_CONFIG_HEADERS(config.h)
AC_CHECK_LIB(gthread-2.0, g_thread_init)
...
Then, find in file this part:
AS_COMPILER_FLAGS(WARNING_FLAGS,
"-DGSEAL_ENABLE
-Wall -Wextra
-Wno-missing-field-initializers
-Wno-sign-compare
-Wno-unused-parameter
-Wdeclaration-after-statement
-Wno-unused-but-set-variable
-Werror-implicit-function-declaration
-Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-declarations -Wmissing-include-dirs
-Wmissing-noreturn -Wnested-externs -Wpointer-arith
-Wundef -Wwrite-strings -Werror")
and add parameters: -Wno-error=deprecated-declarations after -DGSEAL_ENABLE.
My example:
AS_COMPILER_FLAGS(WARNING_FLAGS,
"-DGSEAL_ENABLE
-Wno-error=deprecated-declarations
-Wall -Wextra
-Wno-missing-field-initializers
-Wno-sign-compare
-Wno-unused-parameter
-Wdeclaration-after-statement
-Wno-unused-but-set-variable
-Werror-implicit-function-declaration
-Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-declarations -Wmissing-include-dirs
-Wmissing-noreturn -Wnested-externs -Wpointer-arith
-Wundef -Wwrite-strings -Werror")
Then four commands are left:
$ autoreconf
$ ./configure
$ make
$ sudo make install
And You are DONE!!!
When adding account choose Exchange Web Services (EWS).
You may notice, that there is also Microsoft Exchange. It’s plugin from default repository called evolution-exchange, but it works only with 2000 and 2003 exchanges. So it’s pretty old, and not working with new ones.
If something goes wrong or doesn’t work, feel free to add comments. They are reviewed pretty often, so maybe we would find solution.
Saved lots of time?
Say thanks:
[paypal-donation]
Leave a Reply