Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 53

Thread: Howto Configure the Connector for Ubuntu

  1. #11
    Join Date
    May 2007
    Location
    Brooklyn, NY
    Posts
    3
    Rep Power
    8

    Default Evolution development libraries not installed

    I am in the same boat - all packages listed installed (most notably evolution-dev), but still I get:
    checking Evolution version... configure: error: Evolution development libraries not installed

    Looking in ./configure, I see we have the line:

    EVOLUTION_VERSION=`pkg-config --modversion evolution-shell-2.8 2>/dev/null`
    if test -z "$EVOLUTION_VERSION"; then
    { { echo "$as_me:$LINENO: error: Evolution development libraries not installed" >&5
    echo "$as_me: error: Evolution development libraries not installed" >&2;}

    It seems to be using it to test the version of the Evolution API installed...

  2. #12
    Join Date
    Oct 2006
    Posts
    115
    Rep Power
    9

    Default

    The problem is probably that the configure script is not testing for 2.10 development libraries. We've made the fix internally, but it hasn't trickled out to svn yet. In the meantime, you can patch configure.ac like this:

    if test -z "$EVOLUTION_VERSION"; then
    dnl No 2.2 check for 2.6
    EVOLUTION_VERSION=`pkg-config --modversion evolution-shell-2.6 2>/dev/null`
    if test -z "$EVOLUTION_VERSION"; then
    dnl No 2.6 check for 2.8
    EVOLUTION_VERSION=`pkg-config --modversion evolution-shell-2.8 2>/dev/null`
    if test -z "$EVOLUTION_VERSION"; then
    dnl No 2.8 check for 2.10
    EVOLUTION_VERSION=`pkg-config --modversion evolution-shell-2.10 2>/dev/null`
    if test -z "$EVOLUTION_VERSION"; then
    AC_MSG_ERROR(Evolution development libraries not installed)
    else
    EVOLUTION_API_VERSION=2.10
    EAPI_MAJOR_VERSION=2
    EAPI_MINOR_VERSION=10
    CAMEL_API_VERSION=1.2
    EDS_API_VERSION=1.2
    fi
    else
    EVOLUTION_API_VERSION=2.8
    EAPI_MAJOR_VERSION=2
    EAPI_MINOR_VERSION=8
    CAMEL_API_VERSION=1.2
    EDS_API_VERSION=1.2
    fi
    else
    EVOLUTION_API_VERSION=2.6
    EAPI_MAJOR_VERSION=2
    EAPI_MINOR_VERSION=6
    CAMEL_API_VERSION=1.2
    EDS_API_VERSION=1.2
    fi
    else
    EVOLUTION_API_VERSION=2.2
    EAPI_MAJOR_VERSION=2
    EAPI_MINOR_VERSION=2
    CAMEL_API_VERSION=1.2
    EDS_API_VERSION=1.2
    fi

  3. #13
    Join Date
    Jun 2007
    Posts
    4
    Rep Power
    8

    Default Evolution 2.12

    Noticed the patches to the configure.ac file that relate to version 2.10 of Evolution, and I attempted to create one that simply replaced the 10 with a 12. Unfortunately, it now throws this error:

    Code:
    checking dependency style of gcc... (cached) gcc3
    ./configure: line 4313: AM_PROG_LIBTOOL: command not found
    checking Evolution version... configure: "Using Evolution API version 2.12.0"
    ./configure: line 4431: syntax error near unexpected token `0.33'
    ./configure: line 4431: `AC_PROG_INTLTOOL(0.33)'
    Specifically, I am using Ubuntu 7.10. Is there much impetus to make the Evolution plugin a priority?

  4. #14
    Join Date
    Feb 2006
    Location
    Bangkok, Thailand
    Posts
    55
    Rep Power
    9

    Default

    I did something similar, although I did some additional digging. After using
    Code:
    pkg-config --modversion evolution-plugin
    to ensure that I did, in fact, have the 2.12 version installed (and using Synaptic package manager to find that my camel-provider is version 1.2), I set the versions as:
    Code:
          EVOLUTION_API_VERSION=2.12
          EAPI_MAJOR_VERSION=2
          EAPI_MINOR_VERSION=12
          CAMEL_API_VERSION=1.2
          EDS_API_VERSION=1.2
    in the if-then tree. I set EDS_API_VERSION to 1.2, because that's the one that shows up in /usr/lib

    After attempting to do the build, and getting the errors other supposedly missing packages which are actually there, I did the following:

    1) I changed
    Code:
    PKG_CHECK_MODULES(EPLUGIN, evolution-plugin-$EVOLUTION_API_VERSION)
    to
    Code:
    PKG_CHECK_MODULES(EPLUGIN, evolution-plugin)
    And similarly took out the variable $EVOLUTION_API_VERSION, and the preceding dash ("-") from where the directory is set, like this:
    Code:
    eplugindir=`pkg-config --variable=plugindir evolution-plugin`
    After then getting an error on EDS_UI packages not being installed, I used synaptic again to install gnomeui32 and re-install gnomeui-0, which also installed some dependent packages (search for libgnomeui).

    And then, I re-installed libedata-book, and libedata-cal, even though they were present in the filesystem (/usr/lib/), but I'm noticing the pattern that none of the packages appeared using pkg-config --modversion until they were re-installed with Synaptic. Not sure whether this is because Ubuntu's built-in "Add/Remove" is not registering packages, or what, exactly (and why did the evolution-plugin show up, but only when not checking the version number?), but anyway.

    So after doing all that, I finally got thru the setup, and to the "make" prompt:

    Code:
    ==========================================
     Ready to build Zimbra Connector
    ==========================================
      Logging  : yes (version: 0.6)
    
    ==========================================
    
    CFLAGS:     -g -O2
    ADD_CFLAGS:
    
    ====== Evolution Settings ================
      API Version        : 2.12
      Evolution version  : 2.12.0
      E-D-S backend dir  : /usr/lib/evolution-data-server-1.2/extensions
    
    ====== Evolution Plugin Settings ==========
      Plugin Path        : /usr/lib/evolution/2.12/plugins
      Error Path         : /usr/share/evolution/2.12/errors
    
    ====== Camel-Provider Settings ===========
      privlibdir         : /usr/lib/evolution-data-server-1.12
      Install Path       : /usr/lib/evolution-data-server-1.2/camel-providers-10
    
    Type 'make' to compile and then 'make install' to install
    And then... it was building (okay, "making"? I'm a long-time msft developer, and relatively new to linux), and this error'd out with:

    Code:
    In file included from camel-zimbra-listener.c:33:
    /usr/include/evolution-2.12/shell/es-event.h:29:21: error: e-shell.h: No such file or directory
    In file included from camel-zimbra-listener.c:33:
    /usr/include/evolution-2.12/shell/es-event.h:59: error: expected specifier-qualifier-list before 'EShell'
    /usr/include/evolution-2.12/shell/es-event.h:94: error: expected declaration specifiers or '...' before 'EShell'
    make[2]: *** [camel-zimbra-listener.lo] Error 1
    make[2]: Leaving directory `/home/kirkaiya/ZimbraEvolution/eplugin'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/kirkaiya/ZimbraEvolution'
    make: *** [all] Error 2
    It's just too late at night for me to check in camel-zimbra-listener.c to see if I can figure out whether the reference to the file should be changed to something else or not, but in case anybody else is working their way thru this with Ubuntu Gutsy Gibbon (7.10), it *is* possible to get this far anyway!

  5. #15
    Join Date
    Feb 2006
    Location
    Bangkok, Thailand
    Posts
    55
    Rep Power
    9

    Default

    And a slight update - I went thru what I assumed would be the pointless exercise of getting a copy of e-shell.h from gnome's cvs (see [evolution] Index of /trunk/shell ) and putting it in the shell folder.

    And... during the make, got missing file errors for e-component-registry.h and e-shell-window.h

    The 2nd one at least is also at svn.gnome, but I think at this point I'll wait for somebody who knows what they're doing to chime in

  6. #16
    Join Date
    Oct 2007
    Location
    Philadelphia, PA, United States
    Posts
    17
    Rep Power
    8

    Default have zimbra evolution plugin working on ubuntu 7.10

    I'm not sure that I "know what I'm doing" but as proof of concept, I got it working. Here are the notes that I wrote up for myself so that I could remember. Note well - did not do a huge amount of testing, but saw contacts and calendar sync worked, even did a free/busy search from Evo which seemed to work. HTH, Greg
    __________________________

    I got the Zimbra Evolution plugins to work - this was on Ubuntu 7.10. You have to download the Evolution development libraries, plus some other evo plugin development packages, plus libcurl.

    Then, checkout the Evolution svn repo from here:
    svn co Revision 2: / zimbra_evo_plugin

    Then, I had to edit the configure.ac and make these changes:
    ____________________

    #####Enable for Evolution 2.12 (defaulted to 2.10)

    if test -z "$EVOLUTION_VERSION"; then
    dnl No 2.8 check for 2.12
    EVOLUTION_VERSION=`pkg-config --modversion evolution-shell 2>/dev/null`

    #####and just down a bit

    else
    EVOLUTION_API_VERSION=2.12
    EAPI_MAJOR_VERSION=2
    EAPI_MINOR_VERSION=12
    CAMEL_API_VERSION=1.2
    EDS_API_VERSION=1.2
    fi


    ##### Fix for Evo plugin pkg-config

    eplugindir=`pkg-config --variable=plugindir evolution-plugin`
    AC_SUBST(eplugindir)
    _____________________

    Lastly, it was mostly compiling, but bombed on a couple of missing header files. I could not find in what Ubuntu package they belonged in - or even if they HAD been packaged. So, I downloaded some .h files from here

    http://codebrowse.launchpad.net/~vcs...ehx9w14jai-671

    specifically, the e-shell.h, e-component-registry.h, e-shell-window.h, and e-siderbar.h need to be retrieved and placed in the /usr/include/evolution-2.12/shell directory.
    ______________________

    Finally, when I created the account and picked Zimbra Collaboration Suite, it sets up mail for IMAP. At first there was no indication that there were any calendar or contacts that referred to Zimbra. Wasn't quite sure what I needed to do, so I poked around in the compiled source. There were a few binaries there, including in the /calendar directory, "create-account" and "list-account". list-account didn't do anything, meaning there was no account to list, I guess, but "create-account --help" gave some options

    gnyce@merit-laptop:~/ZimbraEvo/trunk/calendar$ ./create-account --help
    Usage: ./create-account account hostname username port use_ssl

    So I followed that and created an account. Whether that was related to what happened next, I'm not sure - guess yes - but soon thereafter, within Evolution I had a calendar listing with my Zimbra events, and the two different address books. I setup Evolution to look in those address books when sending mail, and created a Calendar event within Evolution (and verified that it was posted via Webmail). Also tested a Free/Busy search - seemed to work right away. That's about all the testing I did.

  7. #17
    Join Date
    Jun 2007
    Posts
    4
    Rep Power
    8

    Default Another hickup

    I seem to be hung up here

    Code:
    checking Evolution version... configure: "Using Evolution API version 2.12.0"
    ./configure: line 4439: syntax error near unexpected token `0.33'
    ./configure: line 4439: `AC_PROG_INTLTOOL(0.33)'
    It appears to do the evolution version checks, but I don't find anything that makes sense in the mentioned line 4439.

    Thanks for the help to this point.

    Brock

  8. #18
    Join Date
    Oct 2007
    Location
    Philadelphia, PA, United States
    Posts
    17
    Rep Power
    8

    Default intltool

    Not a regular Ubuntu user nor do I have one in front of me, but do a search in synaptic for "intltool" or just plan "intl*" - think you need to have something like that installed, then re-run ./configure

    If not, post back - I'll grab my config.log and see what I had installed (it's on a laptop I can get my hands on again).

    greg

  9. #19
    Join Date
    Jun 2007
    Posts
    4
    Rep Power
    8

    Default So far so good. but....

    Managed to get all the libraries and the configure worked. now however I get this.
    Code:
    config.status: error: cannot find input file: Makefile.in

  10. #20
    Join Date
    Oct 2007
    Location
    Philadelphia, PA, United States
    Posts
    17
    Rep Power
    8

    Default bootstrap

    re-run ./bootstrap (or something close to that) - am _guessing_ that with stuff missing before, things didn't get generated properly. So something like
    ./bootstrap
    ./configure
    make
    make install

    (assuming the previous steps run cleanly - IIRC, if a step errors out, it gives a decent reason why, enough to figure out which pkg is missing - the libcurl one and the header files gave me the biggest pause).

    post back results

Similar Threads

  1. [SOLVED] Howto: Update ClamAV
    By unilogic in forum Administrators
    Replies: 9
    Last Post: 12-12-2007, 04:28 AM
  2. Configure snmp after installation?
    By bjdraw in forum Administrators
    Replies: 12
    Last Post: 05-22-2007, 09:31 AM
  3. SUSE Linux Enterprise Server 9 NAT Install HOWTO
    By LMStone in forum Installation
    Replies: 0
    Last Post: 11-03-2006, 01:31 PM
  4. Replies: 4
    Last Post: 01-18-2006, 10:58 AM
  5. Fix for SA Configure Files Version Mismatch
    By unilogic in forum Developers
    Replies: 1
    Last Post: 12-03-2005, 06:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •