[Koha-bugs] [Bug 13642] Adding new features for Dublin Core metadata

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 11 16:45:36 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13642

--- Comment #22 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
(In reply to Robin Sheat from comment #21)
> (In reply to Héctor Eduardo Castro Avalos from comment #20)
> > Since long time that I'm working with the code, I forgot how to install
> > RDF::Trine and the missed dependencies. I did a fresh installation for
> > document all this dependencies.
> 
> That looks not too bad.
> 
> > But there exist a problem with List::Util and RDF::Trine, these modules
> > launch an error when you try to install them.
> 
> List::Util is included in core perl, you shouldn't be installing it manually.
> 
> > So the only way to install this module is manually, i.e., download the
> > tar.gz from search.cpan.org.
> 
> Why do you need to install it manually?
> 
> > Then you can install cpanm RDF::Trine and the module will upgrade.
> 
> More importantly, I need to know if the versions specified in the
> dependencies are actually the minimum versions. If the code can handle lower
> versions of those modules, then things will be a lot easier. For example,
> there is already a librdf-trine-perl module. Why aren't you using that?
> 
> > PS. I'm working with debian stable (wheezy)
> 
> We also need to support debian oldstable (squeeze) for the moment.
> 
> We can't have people using cpanm, if this is to go in to Koha, we need the
> dependencies produced too. I can do that, but I need a more information,
> mostly about what _really_ the minimum version numbers that are allowable
> are.

Hi, Robin.

The problem is that RDF has been changing since was created. If you use
librdf-trine-perl (1.0001) and librdf-helper-perl (2.01) launch an error
(comment 11) when using bnode labels like 'ISO3166', the new modules from cpan
didn't do it. So, for that reason I took the decision to upgrade the modules.

It is not recommended to use XML modules for RDF (like XML::LibXML).
Furthermore RDF modules give the opportunity to serialize metadata in other
formats.

I will follow up your advice about to change the code to accommodate with the
modules provided by Debian.

I'll get in touch with you as soon as possible.

This is the list of packages on Debian:
XML::Entities, package need to be created.
HTML::Entities come in libhtml-parser-perl (3.66-1) squeeze and wheezy adhered
to the debian/control
RDF::Helper come in librdf-helper-perl (2.0-1) just for wheezy.
RDF::Trine come in librdf-trine-perl (1.000-1) just for wheezy.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list