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!