From: Armin B. <arm...@de...> - 2005-10-03 12:56:02
|
R=C3=A9my Amouroux wrote: > Hello armin and thanks for your reactivity >=20 > The modification you have made is working for me only if I modify the > verification that syncmngr.h exists. As in the following: > Index: acinclude.m4 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- acinclude.m4 (revision 701) > +++ acinclude.m4 (working copy) > @@ -76,8 +76,8 @@ > AC_CHECK_LIB(rra,rra_syncmgr_new,,[ > AC_MSG_ERROR([Can't find RRA library]) > ]) > - AC_CHECK_HEADERS(rra/syncmgr.h,,[ > + AC_CHECK_HEADERS(syncmgr.h,,[ > AC_MSG_ERROR([Can't find rra/syncmgr.h]) > ]) >=20 > -]) > \ No newline at end of file > +]) >=20 >=20 > But, since the .c files are hard-coded looking for rra/..., it won't > work anyway. Example in synce_plugin.c >=20 > #include <rra/appointment.h> > #include <rra/contact.h> > #include <rra/task.h> > #include <rra/matchmaker.h> > #include <rra/uint32vector.h> > #include <rra/syncmgr.h> >=20 > The last person modifying the spec file for the synce package for FC4 i= s > andreas.bierfert[AT]lowlatency.de (from the changelog). >=20 > (the packages are provided within the EXTRAs part of FC4). >=20 > I'll try to contact him to understand why the include files are not in = a > subdirectory (which is the sensible thing to do from my point of view).= >=20 yes. but the way that synce handles things is also not completely correct. if the --with-rra switch adds the ${includedir}/rra dir to the included directories _and_ the #include commands search for a rra/ again the switch wont work correctly. I think the correct way is to do it like this: rra and synce get installed into a directory ${includedir}/rra-$version/r= ra this way its possible to use the rra/ prefix in the #include statement (which works also a sort of a namespace so includes dont overlap) but it is also possible to install several versions separately. > Regards >=20 > RemyA >=20 > On Mon, 2005-10-03 at 12:01 +0200, Armin Bauer wrote: >=20 >>Hi, >> >>i commited a fix. the --with-rra option should now work for fedora as >>well. so please do a "svn up" for the synce plugin >> >>Armin >> >>R=C3=A9my Amouroux wrote: >> >>>Hi >>> >>>I'm trying to compile the synce plugin on my newly installed fedora co= re >>>4. Synce is installed using the usual repositories, and I have the >>>following packages: >>>synce-0.9.1-3.fc4 >>>synce-devel-0.9.1-3.fc4 >>> >>>unfortunatly, the since plugin is looking for include files >>>in /usr/include/rra/ while they are all in /usr/include/. >>> >>>Trying to use --with-rra options for configure is not working since it= 's >>>looking for the rra folder. >>> >>>Is there a solution (outside creating manually the rra folder and >>>copying the include files in it)? >>> >>>RemyA >>> >> |