Re: [amaya-dev]Re: More questions abour the build system

On Friday 03 November 2006 23:27, Régis Boudin wrote:
> > > > Normally we have to use static raptor & redland.
> > >
> > > Is there a specific reason to that ?
> >
> > Unfortunately yes, when the API changes from one version to another.
>
> Wouldn't it make more sens to change the Amaya source code to follow the
> new API in this case ? IT would make you benefit from improvements and
> bug fixes from the library. Plus, it makes less code for you to
> maintain. I had a quick look, changes don't seem very intrusive.

You're probably rigth but I need time to have a look at raptor & redland 
libraries.

> The attached dont_use_constructor.diff patch removes a useless call to
> librdf_serializer_rdfxml_constructor(), which is already called
> indirectly by librdf_world_open() including in the version you provide,
> so it can be safely applied. This only leaves 2 issues with the latest
> version of librdf.

I needed to add this line in configure.in to be able to compile my version :
+ AC_SUBST(MAKERAPTOR)
  AC_SUBST(MAKEREDLAND)

I also use the opportunity to remove NOPRINT and PRINTIFNOTGL options as they 
are not necessary today. If you've access to our CVS base, you may have a 
look at the new version.
-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Thursday, 9 November 2006 15:26:43 UTC