[librecat-dev] Error installing Catmandu::MARC (in Docker)

Uldis Bojars captsolo at gmail.com
Tue Jun 30 21:00:19 CEST 2020


Hi Georg,

Thank you!

I was able to work around this issue by installing the following two
packages using apt-get:

libxml-libxslt-perl
libxml-parser-perl

I used Dockerfile from https://github.com/LibreCat/docker-catmandu

Cheers,
Uldis



On Tue, 30 Jun 2020 at 18:09, Mayr-Duffner, Georg <
georg.mayr-duffner at wu.ac.at> wrote:

> Hi Uldis,
>
> I’m using an image based on Centos 7 and ran into the same issue. I could
> fix it by adding the perl-core package with yum (
> https://centos.pkgs.org/7/centos-x86_64/perl-core-5.16.3-295.el7.x86_64.rpm.html).
> The requires list might give a hint to what is missing.
>
> Kind regards
> Georg
>
> ~~
> Mag. Georg Mayr-Duffner
> Universitätsbibliothek, Systembibliothekar
> University Library, Systems Librarian
>
> WU
> Wirtschaftsuniversität Wien
> Vienna University of Economics and Business
> Gebäude LC
> Welthandelsplatz 1, 1020 Wien
>
> Tel: +43-1-31336-5738
> Mobil: +43-676-8213-5738
> Fax: +43-1-31336-905738
> E-Mail: georg.mayr-duffner at wu.ac.at <georg.mayr-duffner at wu.ac.at>
> https://www.wu.ac.at/bibliothek
>
> Am 30.06.2020 um 16:24 schrieb Uldis Bojars <captsolo at gmail.com>:
>
> Hi all,
>
> I am getting an error when trying to install Catmandu::MARC in the
> official librecat/catmandu Docker image [1]:
>
> # cpanm Catmandu::MARC
> [...]
> --> Working on XML::Parser
> Fetching http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz
> ... OK
> Configuring XML-Parser-2.46 ... N/A
> ! Configure failed for XML-Parser-2.46. See
> /root/.cpanm/work/1593525785.6/build.log for details.
> ! Installing the dependencies failed: Module 'XML::Parser' is not installed
> ! Bailing out the installation for XML-XPath-1.44.
>
> Here's the relevant fragment from the build.log:
> -----
> Configuring XML-Parser-2.46
> Running Makefile.PL
>
> Expat must be installed prior to building XML::Parser and I can't find
> it in the standard library directories. Install 'expat-devel' (or
> 'libexpat1-dev') package with your OS package manager. See 'README'.
>
> Or you can download expat from:
>
> http://sourceforge.net/projects/expat/
>
> If expat is installed, but in a non-standard directory, then use the
> following options to Makefile.PL:
>
>     EXPATLIBPATH=...  To set the directory in which to find libexpat
>
>     EXPATINCPATH=...  To set the directory in which to find expat.h
>
> For example:
>
>     perl Makefile.PL EXPATLIBPATH=/home/me/lib
> EXPATINCPATH=/home/me/include
>
> Note that if you build against a shareable library in a non-standard
> location
> you may (on some platforms) also have to set your LD_LIBRARY_PATH
> environment
> variable at run time for perl to find the library.
>
> -> N/A
> -> FAIL Configure failed for XML-Parser-2.46. See
> /root/.cpanm/work/1593525785.6/build.log for details.
> -> FAIL Installing the dependencies failed: Module 'XML::Parser' is not
> installed
> -> FAIL Bailing out the installation for XML-XPath-1.44.
> -----
>
> Could you help me resolve this issue?
>
> [1] https://hub.docker.com/r/librecat/catmandu/
>
> Best regards,
> Uldis
>
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit
> https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20200630/12d797c3/attachment.html>


More information about the librecat-dev mailing list