Thanks,
Below is a listing of configure.in from the sourceforge tar.gz
cat ./configure.in
dnl Process this file with autoconf to produce a configure script.
AC_INIT(configure.in)
AM_INIT_AUTOMAKE(evolution2_sync, 0.82)
AM_CONFIG_HEADER(config.h)
AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PROG_LIBTOOL
AC_PROG_YACC
pkg_modules_generic="gtk+-2.0 libgnomeui-2.0 libbonoboui-2.0 glib-2.0
libbonobo-2.0"
pkg_modules_eds_1_0="evolution-data-server-1.0 libebook-1.0 libecal-1.0
libedata-book-1.0 libedata-cal-1.0 libedataserver-1.0"
pkg_modules_eds_1_2="evolution-data-server-1.2 libebook-1.2 libecal-1.2
libedata-book-1.2 libedata-cal-1.2 libedataserver-1.2"
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules_generic $pkg_modules_eds_1_0],
version="2.0",
[PKG_CHECK_MODULES(PACKAGE, [$pkg_modules_generic
$pkg_modules_eds_1_2], version="2.2")])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
dnl Info for the RPM
MULTISYNC_TOP="../.."
AC_SUBST(VERSION)
AC_SUBST(prefix)
MULTISYNC_VERSION=`grep "#define VERSION" ${MULTISYNC_TOP}/config.h |
sed -e 's/#define VERSION //g' | sed -e 's/\"//g'`
AC_SUBST(MULTISYNC_VERSION)
AC_SUBST(EVO_RPM_VER)
AC_OUTPUT([
Makefile
src/Makefile
intl/Makefile
po/Makefile.in
../../specs/multisync-evolution2.spec
])
echo "================"
echo "Found evolution $version."
echo "================"
Danny Backx wrote:
I was talking about the CVS version of it, which can be viewed at
http://cvs.sourceforge.net/viewcvs.py/multisync/multisync/plugins/evolution2_sync/configure.in?view=markup
Its line 12 says
EVO_VER=`evolution --version
| sed -e 's/.nome .volution //g'`
(line wrapped to prevent mailer damage)
The trouble is that currently returns this :
Gnome evolution-2.2 2.2.3
which means that the string doesn't match.
Fix that by replacing the space before the double slash by a dot.
If you don't find that line, which version are you working with ?
Danny
On Tue, 2005-07-19 at 07:29 -0700, Dan Sawyer wrote:
Which configure.in is this line in please? I looked in the main and
plugin/multisync2 paths and it was not there.
Thanks,
Dan
Danny Backx wrote:
That's because the scanning in configure.in only looks for specific
strings, and the one currently returned by evolution doesn't match the
pattern.
This is easily fixed by adding a dot instead of a space on line 12 in
configure.in, it should look
like this :
EVO_VER=`evolution --version | sed -e 's/.nome .volution.//g'`
This is only one of the many inconsistencies I stumbled on last week
when trying the same thing.
I eventually gave up on it, I'm now in the process of
porting the OpenSync evolution2 plugin to MultiSync.
I'll let you know when I have something that works.
Question: are others trying the same thing?
Danny
On Mon, 2005-07-18 at 18:21 +0100, Paul Hunnisett wrote:
I am trying to compile the evolution 2 plugin for multisync and get the
following error:
configure: error: This version of the Evolution plugin only works with
Evolution >= 1.5
But, I am running evolution 2.2.3. Is anyone able to tell me how to get
configure to correctly identify the evo version number?
Paul
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Multisync-users mailing list
Multisync-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/multisync-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Multisync-users mailing list
Multisync-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/multisync-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Multisync-users mailing list
Multisync-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/multisync-users