Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  1 links from elsewhere to this Post. Click to view. #11 (permalink)  
Old 08-10-2007, 12:07 PM
philip philip is offline
Junior Member
 
Join Date: May 2007
Location: Brooklyn, NY
Posts: 3
philip is on a distinguished road
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...
Reply With Quote
  #12 (permalink)  
Old 08-10-2007, 02:30 PM
sculi2000 sculi2000 is offline
Zimbra Employee
 
Join Date: Oct 2006
Posts: 115
sculi2000 is on a distinguished road
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
Reply With Quote
  #13 (permalink)  
Old 10-20-2007, 02:34 PM
cyclebrock cyclebrock is offline
Junior Member
 
Join Date: Jun 2007
Posts: 4
cyclebrock is on a distinguished road
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?
Reply With Quote
  #14 (permalink)  
Old 10-23-2007, 09:31 AM
Kirkaiya's Avatar
Kirkaiya Kirkaiya is offline
Senior Member
 
Join Date: Feb 2006
Location: Bangkok, Thailand
Posts: 55
Kirkaiya is on a distinguished road
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!
Reply With Quote
  #15 (permalink)  
Old 10-23-2007, 10:49 AM
Kirkaiya's Avatar
Kirkaiya Kirkaiya is offline
Senior Member
 
Join Date: Feb 2006
Location: Bangkok, Thailand
Posts: 55
Kirkaiya is on a distinguished road
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
Reply With Quote
  #16 (permalink)  
Old 10-24-2007, 08:58 PM
gnyce1 gnyce1 is offline
Member
 
Join Date: Oct 2007
Location: Philadelphia, PA, United States
ZCS Version: Release 4.5.10_GA_1575.RHEL5_64_20071117125613 RHEL5_64 NETWORK edition
Posts: 17
gnyce1 is on a distinguished road
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.
Reply With Quote
  #17 (permalink)  
Old 10-26-2007, 02:47 PM
cyclebrock cyclebrock is offline
Junior Member
 
Join Date: Jun 2007
Posts: 4
cyclebrock is on a distinguished road
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
Reply With Quote
  #18 (permalink)  
Old 10-26-2007, 02:57 PM
gnyce1 gnyce1 is offline
Member
 
Join Date: Oct 2007
Location: Philadelphia, PA, United States
ZCS Version: Release 4.5.10_GA_1575.RHEL5_64_20071117125613 RHEL5_64 NETWORK edition
Posts: 17
gnyce1 is on a distinguished road
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
Reply With Quote
  #19 (permalink)  
Old 10-26-2007, 04:11 PM
cyclebrock cyclebrock is offline
Junior Member
 
Join Date: Jun 2007
Posts: 4
cyclebrock is on a distinguished road
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
Reply With Quote
  #20 (permalink)  
Old 10-26-2007, 04:23 PM
gnyce1 gnyce1 is offline
Member
 
Join Date: Oct 2007
Location: Philadelphia, PA, United States
ZCS Version: Release 4.5.10_GA_1575.RHEL5_64_20071117125613 RHEL5_64 NETWORK edition
Posts: 17
gnyce1 is on a distinguished road
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.zimbra.com/forums/evolution-connector/7800-howto-configure-connector-ubuntu.html
Posted By For Type Date
del.icio.us/subscriptions/KoerPoiss This thread Refback 10-31-2007 05:15 AM
Evolution Connector [Archive] - Zimbra - Forums This thread Refback 09-02-2007 02:31 PM
Zimbra - Forums This thread Refback 08-09-2007 05:40 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Howto: Update ClamAV unilogic Administrators 9 12-12-2007 04:28 AM
Configure snmp after installation? bjdraw Administrators 12 05-22-2007 09:31 AM
SUSE Linux Enterprise Server 9 NAT Install HOWTO LMStone Installation 0 11-03-2006 01:31 PM
Fedora Core 4 - MC3 & Apache, MYSQL, for web hosting Easy Install HOWTO Bradleyenator Installation 4 01-18-2006 10:58 AM
Fix for SA Configure Files Version Mismatch unilogic Developers 1 12-03-2005 06:37 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0