Installing Evolution 2.29.3 with mapi plugin under Ubuntu 9.10 Karmic
UPDATE: 2.29.5 is available.
Just change the version number in the wget lines below in Step 2 and follow the remaining steps as below taking care to update the new version number where appropriate.
You should not need to uninstall anything in advance.
Download, compile and install the following 4 files…
gtkhtml-3.29.5.tar.bz2
evolution-data-server-2.29.5.tar.bz2
evolution-2.29.5.tar.bz2
evolution-mapi-0.29.5.tar.bz2
ALERT: This posting relates to an “unstable release” of Evolution. Although you may improve functionality against an Exchange 2007 server, you may also suffer from degraded performance. Install at your own risk.
These are the steps I followed to install the very latest unstable development version of Gnome Evolution. It requires you to upgrade a few components over what is included in Ubuntu 9.10 Karmic Koala by default.
1. Run Applications menu-> Accessories-> terminal
2. Get the latest code tarballs by typing the following commands into the terminal window (note that we get two versions of the evolution code as the newest one appears to be missing a required file)
mkdir ~/evolution
cd ~/evolution
wget http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.29/gtkhtml-3.29.3.tar.bz2
wget http://ftp.gnome.org/pub/GNOME/sources/evolution/2.29/evolution-2.29.3.tar.bz2
wget http://ftp.gnome.org/pub/GNOME/sources/evolution/2.29/evolution-2.29.3.2.tar.bz2
wget http://ftp.gnome.org/pub/GNOME/sources/evolution-mapi/0.29/evolution-mapi-0.29.3.tar.bz2
3. Get prereqs for building each of the packages by typing the following commands into the terminal window
sudo apt-get install libdb-dev libnspr4-dev libnss3-dev libical-dev libsqlite3-dev
sudo apt-get install bison intltool gnome-core-devel evolution-data-server-dev libcanberra-gtk-dev
sudo apt-get install libgtkhtml3.8-dev network-manager-dev libunique-dev libhal-dev
sudo apt-get install libgtkimageview-dev libpst-dev libnotify-dev
sudo apt-get install libmapi-dev samba4-dev libglib2.0-dev
4. Extract the source code from the tarballs with the following commands
tar xjvf gtkhtml-3.29.3.tar.bz2
tar xjvf evolution-data-server-2.29.3.tar.bz2
tar xjvf evolution-2.29.3.tar.bz2
tar xjvf evolution-2.29.3.2.tar.gz
tar xjvf evolution-mapi-0.29.3.tar.bz2
5. Now we should have a folder for each of the components under our ~/evolution folder, so we visit each folder in turn and build and install. Check for the screen for any errors, particularly after each install command, to see if the individual component built ok. If you experience any errors, leave a comment here so that we can determine if a prerequisite is missing from your environment.
cd ~/evolution/gtkhtml-3.29.3
./configure
make
sudo make install
cd ~/evolution/gtkhtml-3.29.3
./configure
make
sudo make install
cd ~/evolution/evolution-data-server-2.29.3
./configure
make
sudo make install
cd ~/evolution/evolution-2.29.3
./configure
make
sudo make install
cd ~/evolution/evolution-2.29.3.2
./configure
make
sudo make install
cd ~/evolution/evolution-mapi-0.29.3
./configure
make
sudo make install
6. If everything built alright, you should now be able to launch Evolution and check in the Help menu -> About to confirm that you are running 2.29.3.2 now. You should also have improved (but still buggy) calendar functionality if you have an Exchange 2007 email server As stated at the top of this posting, this is an unstable release of code under very active development at the moment. Only try these steps if you can cope with Evolution not working or working intermittently.
If you are dependent on Evolution to work and it does not currently meet your requirements with the version you have already installed, then try the steps shown here.
No dice for me…
Compiled everything and saw no errors, some warnings. When running evo through GUI it says starting and then exits. When calling evo through term I get …
evolution-shell-Message: Preparing for online mode…
evolution-shell-Message: Online preparations complete.
(evolution:2543): e-utils-WARNING **: /usr/local/lib/evolution/2.30/modules/libevolution-module-calendar.so: undefined symbol: e_cal_refresh
Failed to load module: /usr/local/lib/evolution/2.30/modules/libevolution-module-calendar.so
Segmentation fault
Should I try to do it all over again? Should I have done a apt-get remove evolution before I started all of this?
Also, this line tar xjvf evolution-2.29.3.2.tar.gz requires a z instead of j.
Thanks,
Pete
Pete,
Corrected the .gz to .bz2. Sorry for that little slip. 🙂
Your problem sounds like the evolution package failed to build/install.
I would suggest you perform step 5 again and particularly watch for each “sudo make install” step.
It may be that you are missing some of the prerequisites.
Perhaps try “sudo apt-get remove evolution-mapi” before performing step 5 again.
Regards,
gurrier.
Hello Pete,
Were you able to solve the error you were getting. I followed the steps but got the same error.
Thanks,
Affan
Affan,
Are you using the .5 files?
Try the steps again and make sure each of the .configure commands returns without error.
Regards,
gurrier
I got the following message when running ./configure for evolution-mapi:
checking for EVOLUTION_PLUGIN… configure: error: Package requirements (evolution-plugin >= 2.29.1) were not met:
Requested ‘evolution-plugin >= 2.29.1’ but version of evolution-plugin is 2.28.1
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EVOLUTION_PLUGIN_CFLAGS
and EVOLUTION_PLUGIN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
As I understand package evolution-dev is what you need to get around this. However, I cannot find an evolution-dev package newer than 2.28.1.
How would you solve this?
The “evolution-dev” package just provides the source code for the evolution package that is in the Ubuntu Karmic repositories.
The steps in my post above will provide the latest evolution package source code to be able to compile the evolution-mapi source.
Still, following your steps above with a clean Kubuntu 9.1 install + bug fixes gives the following answer when running ./configure for evolution-mapi:
checking for EVOLUTION_PLUGIN… configure: error: Package requirements (evolution-plugin >= 2.29.1) were not met:
No package ‘evolution-plugin’ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EVOLUTION_PLUGIN_CFLAGS
and EVOLUTION_PLUGIN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Do you mean you can just ignore this? In my view, there’s something missing.
Johan,
If you run the following command, what does it show?
find ~ -name evolution-plugin*
I’m suspecting one of the packages prior to the evolution-mapi step has not completed correctly.
Also, you are using Kubuntu which could well mean you are missing dependencies (I am using the “vanilla” Ubuntu based on Gnome)
Regards,
gurrier
I am still having an issue with authentication. Where do I find the data being passed to Exchange so that I see what the issue is?
Dan,
This link is the Evolution guys’ guide on how to debug Evolution.
Run it from a terminal with the appropriate flags to give you the debug messages.
http://projects.gnome.org/evolution/bugs.shtml
Regards,
gurrier
I now receive an authentication error when setting Evolution Preferences.
Edit>Preferences (select edit for Enabled Account Name Work)
>Receiving Email tab > configuration Authenticate tab
Message: Authentication failed. MapiLogonProvider:MAPI_E_LOGON_FAILED
How should I procede?
What values are you setting to configure your MAPI access from Evolution?
The only options I know about are the ones in the Accoutn Editor Window.
For ‘Server Type’ I chose Exchange MAPI.
For Server – I put in the name of our mail server.
For Username- I put in my Active Directory user-name.
For Domain name- I put in the Acive Directory server name.
Are there options I need to specify elsewhere.
Domain name is not an actual server name though, it’s the “something.com” (commonly the same as the external domain name that is at the end of your email address).
When you go to Help menu -> About in Evolution, what version is it showing?
The version showing in Help/About is 2.29.3
Dan,
My settings are like yours except I put the domain name rather than a server name in the domain name field.
Then I click the Authenticate button and I get a successful response.
You could also try the fully qualified domain name i.e. mydomain.com
Regards,
Tony.
by changing the server to an IP address, I get authenticated. The bad news – evuliton crashes with a Segmentation fault.
exchange-mapi-connection.c:77: Entering mapi_profile_load Segmentation fault
I’ll begin researching this new development. Thanks for your help thus far.
An update. I reinstalled the mapi update and now all is well. Thanks for all your comments.
Good news. Glad you got it working.
Great idea, thanks for this tip!
Great idea, thanks for this tip!
Hello,
For the latest version .4 yo change anywhere 3 to 4 in cd ~/evolution/evolution-2.29.3.2 filename ? 2.29.4.2 doesn’t wotk and so on …
Mishu,
Sorry about the ambiguity. Ignore the 2.29.4.2, you only need 2.29.4
By the way 2.29.5 came out yesterday so you can just increase the version numbers again. 🙂
Regards,
gurrier
mihaitaran@ubuntu:~/evolution/evolution-mapi-0.29.4$ make
make: *** No targets specified and no makefile found. Stop.
mihaitaran@ubuntu:~/evolution/evolution-mapi-0.29.4$ sudo make install
[sudo] password for mihaitaran:
make: *** No rule to make target `install’. Stop.
:)) help ? just done it corectly ?
and the ./configure worked corectly
and the output is :
mihaitaran@ubuntu:~/evolution/evolution-mapi-0.29.4$ ls -all
total 1436
drwxr-xr-x 4 mihaitaran mihaitaran 4096 2010-01-12 14:10 .
drwxr-xr-x 7 mihaitaran mihaitaran 4096 2010-01-12 13:02 ..
-rw-r–r– 1 mihaitaran mihaitaran 1503 2009-09-24 13:44 acinclude.m4
-rw-r–r– 1 mihaitaran mihaitaran 348976 2009-12-21 06:28 aclocal.m4
-rw-r–r– 1 mihaitaran mihaitaran 128 2009-04-22 07:47 AUTHORS
-rw-r–r– 1 mihaitaran mihaitaran 4676 2009-11-07 20:02 ChangeLog
-rwxr-xr-x 1 mihaitaran mihaitaran 46260 2009-11-16 20:20 config.guess
-rw-r–r– 1 mihaitaran mihaitaran 2314 2009-12-21 06:28 config.h.in
-rw-r–r– 1 mihaitaran mihaitaran 57977 2010-01-12 14:10 config.log
-rwxr-xr-x 1 mihaitaran mihaitaran 33952 2009-11-16 20:20 config.sub
-rwxr-xr-x 1 mihaitaran mihaitaran 520220 2009-12-21 06:28 configure
-rw-r–r– 1 mihaitaran mihaitaran 5702 2009-12-21 06:15 configure.ac
-rw-r–r– 1 mihaitaran mihaitaran 35147 2009-11-16 20:20 COPYING
-rwxr-xr-x 1 mihaitaran mihaitaran 18615 2009-11-16 20:20 depcomp
-rw-r–r– 1 mihaitaran mihaitaran 326 2009-04-22 07:47 eplugin-rule.mk
-rw-r–r– 1 mihaitaran mihaitaran 9512 2009-09-11 13:59 INSTALL
-rwxr-xr-x 1 mihaitaran mihaitaran 13663 2009-11-16 20:20 install-sh
-rw-r–r– 1 mihaitaran mihaitaran 0 2009-11-16 20:20 intltool-extract.in
-rw-r–r– 1 mihaitaran mihaitaran 0 2009-11-16 20:20 intltool-merge.in
-rw-r–r– 1 mihaitaran mihaitaran 0 2009-11-16 20:20 intltool-update.in
-rwxr-xr-x 1 mihaitaran mihaitaran 243268 2009-11-16 20:20 ltmain.sh
-rw-r–r– 1 mihaitaran mihaitaran 291 2009-09-24 13:44 Makefile.am
-rw-r–r– 1 mihaitaran mihaitaran 24778 2009-12-21 06:28 Makefile.in
-rwxr-xr-x 1 mihaitaran mihaitaran 11419 2009-11-16 20:20 missing
-rwxr-xr-x 1 mihaitaran mihaitaran 3538 2009-11-16 20:20 mkinstalldirs
-rw-r–r– 1 mihaitaran mihaitaran 11376 2009-12-21 06:25 NEWS
drwxr-xr-x 2 mihaitaran mihaitaran 4096 2010-01-12 14:10 po
-rw-r–r– 1 mihaitaran mihaitaran 41 2009-04-22 07:47 README
drwxr-xr-x 7 mihaitaran mihaitaran 4096 2009-12-21 06:28 src
Mishu,
The “./configure” creates the makefile.
Then you use “make” to compile the code and finally “sudo make install” to install the compiled code.
Regards,
gurrier
yes but make doesnt do nothing….
mihaitaran@ubuntu:~/evolution/evolution-mapi-0.29.4$ make
make: *** No targets specified and no makefile found. Stop.
Problem resolved, installed latest version and it’s ok.
BUT now a new problem: from connection types … exchange server is missing, and my office uses Exchange server 2003 … how can i make it work ? Thank you very much for your help … Mishu
The option you need is the MAPI one not the exchange one.
Try running the configure, make and make install steps again for the evolution-mapi component.
Then rerun evolution.
Yep , now it’s working , thank you very much but i cannot connect to my office’s exchange server 2003 , cannot authenticate … curious thing cuz when i type the adres https …./echange in mozilla works and i can connect using my username and password ! thanks 4 your help !
any idea ? 🙂
If authenticate is not working then make sure you have the correct server name (maybe try the ip address instead of the name).
Hitting the Authenticate button should work, it is likely that you have to try different settings.
so i know that the adress and password are correct. In win xp at my work i connect to domain … can that be a problem ?
here is a print screen of the thing :
Mishu,
That screenshot link is broken.
(Sorry, only spotted it today).
Regards,
gurrier
Mishu,
That screenshot only proves that you are having problems with authenticating the logon.
That could mean that you have the wrong domain or username or password.
Also, verify that you are using the correct server name for authentication.
Regards,
gurrier
i re-uploaded the file , it think it works now, thank you !