Home > Gnome Evolution, GNU/Linux, Ubuntu at work > Installing Evolution 2.29.3 with mapi plugin under Ubuntu 9.10 Karmic

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-data-server/2.29/evolution-data-server-2.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.

  1. Pete
    December 12, 2009 at 08:57

    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

    • gurrier
      December 12, 2009 at 09:59

      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.

    • Affan
      March 13, 2010 at 04:18

      Hello Pete,

      Were you able to solve the error you were getting. I followed the steps but got the same error.

      Thanks,
      Affan

      • gurrier
        March 13, 2010 at 09:14

        Affan,

        Are you using the .5 files?
        Try the steps again and make sure each of the .configure commands returns without error.

        Regards,

        gurrier

  2. Johan
    December 12, 2009 at 17:25

    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?

    • gurrier
      December 13, 2009 at 20:51

      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.

      • Johan
        December 13, 2009 at 23:52

        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.

      • gurrier
        December 14, 2009 at 08:50

        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

  3. Dan
    December 17, 2009 at 04:12

    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?

    • gurrier
      December 17, 2009 at 08:13

      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

  4. Dan
    December 18, 2009 at 10:53

    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?

    • gurrier
      December 19, 2009 at 01:34

      What values are you setting to configure your MAPI access from Evolution?

  5. Dan
    December 19, 2009 at 04:19

    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.

    • gurrier
      December 19, 2009 at 11:52

      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?

  6. Dan
    December 22, 2009 at 03:07

    The version showing in Help/About is 2.29.3

    • gurrier
      December 23, 2009 at 08:14

      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.

  7. Dan
    December 30, 2009 at 09:26

    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.

  8. Dan
    December 31, 2009 at 04:21

    An update. I reinstalled the mapi update and now all is well. Thanks for all your comments.

    • gurrier
      January 2, 2010 at 20:57

      Good news. Glad you got it working.

  9. January 9, 2010 at 05:21

    Great idea, thanks for this tip!

  10. January 12, 2010 at 05:56

    Great idea, thanks for this tip!

  11. Mishu
    January 12, 2010 at 22:31

    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 …

    • gurrier
      January 12, 2010 at 23:15

      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

  12. Mishu
    January 12, 2010 at 23:19

    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 ?

  13. Mishu
    January 12, 2010 at 23:24

    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

    • gurrier
      January 12, 2010 at 23:27

      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

      • Mishu
        January 12, 2010 at 23:39

        yes but make doesnt do nothing….

        mihaitaran@ubuntu:~/evolution/evolution-mapi-0.29.4$ make
        make: *** No targets specified and no makefile found. Stop.

  14. Mishu
    January 13, 2010 at 01:07

    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

    • gurrier
      January 13, 2010 at 07:12

      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.

  15. Mishu
    January 13, 2010 at 20:03

    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 !

  16. Mishu
    January 14, 2010 at 19:58

    Mishu :
    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 ? 🙂

    • gurrier
      January 15, 2010 at 18:59

      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.

  17. Mishu
    January 15, 2010 at 19:19

    Mishu : … 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 !

    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 ?

  18. Mishu
    January 15, 2010 at 19:52

    here is a print screen of the thing :

    • gurrier
      January 25, 2010 at 01:26

      Mishu,

      That screenshot link is broken.
      (Sorry, only spotted it today).

      Regards,

      gurrier

    • gurrier
      January 26, 2010 at 12:13

      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

  19. Mishu
    January 25, 2010 at 18:46

    i re-uploaded the file , it think it works now, thank you !

  1. No trackbacks yet.

Leave a reply to gurrier Cancel reply