As my employer uses Exchange mail server, I need a way to access my mail from my Ubuntu box. The current Evolution exchange connector is quite outdated, so I prefer to use the emerging Evolution EWS connector. It can access the addressbook, the calendar and even the MAIL! 😀 Since it’s emerging it requires frequent recompilation. After installing the required tools and libs, it still doesn’t compile on the Ubuntu 12.04, for the several deprecated API calls it makes. So I came up with the following script to compile it and prepare a nice little package from it.
#!/bin/bash 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 .. cd ..
nice job but the script is not working
Are you sure you installed all the required libraries?
I used the script on three different machines without any problems.
Send me your error log and I will look into it!
Hello!
I’d like to try (I use the DAVMAIL), how do I download the script (I use Ubuntu 11.10)?
You have the list of packages and dependencies?
Thank you,
Marcelo
Hi csak, I used your solution with a few alterations to solve an issue on ubuntu forums. Thanks for your work. This page is linked and credited in my post. The post is here: http://ubuntuforums.org/showthread.php?t=1976894
Thanks csak,
Your script worked great, but I needed a easy way to install for 20 machines, so I created a .deb which works great for evolution 3.23, so just install evolution on 12.04, install the evolution-ews package and hey presto. You can download it here.
https://docs.google.com/open?id=0B8_p85pxZhZeM0ZmS21PdGRWQVk
This script was for Ubuntu 12.04, as of 12.10 and later the package has been fixed and can easily be installed straight from the repository. It was a hack and was only needed temporarily. I’m glad if it helped a few fellows!
The only reason the post is still here, is because it might contain something useful for someone.