<div dir="ltr"><div>Hi Georg,</div><div><br></div><div>Thank you!</div><div><br></div><div>I was able to work around this issue by installing the following two packages using apt-get:</div><div><br></div><div>libxml-libxslt-perl</div><div>libxml-parser-perl</div><div><br></div><div>I used Dockerfile from <a href="https://github.com/LibreCat/docker-catmandu">https://github.com/LibreCat/docker-catmandu</a></div><div><br></div><div>Cheers,</div><div>Uldis</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 30 Jun 2020 at 18:09, Mayr-Duffner, Georg <<a href="mailto:georg.mayr-duffner@wu.ac.at">georg.mayr-duffner@wu.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Hi Uldis,
<div><br>
</div>
<div>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 (<a href="https://centos.pkgs.org/7/centos-x86_64/perl-core-5.16.3-295.el7.x86_64.rpm.html" target="_blank">https://centos.pkgs.org/7/centos-x86_64/perl-core-5.16.3-295.el7.x86_64.rpm.html</a>).
 The requires list might give a hint to what is missing.</div>
<div><br>
</div>
<div>Kind regards</div>
<div>Georg</div>
<div><br>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div>~~<br>
Mag. Georg Mayr-Duffner<br>
Universitätsbibliothek, Systembibliothekar<br>
University Library, Systems Librarian<br>
 <br>
WU<br>
Wirtschaftsuniversität Wien<br>
Vienna University of Economics and Business<br>
Gebäude LC<br>
Welthandelsplatz 1, 1020 Wien<br>
 <br>
Tel: +43-1-31336-5738<br>
Mobil: +43-676-8213-5738<br>
Fax: +43-1-31336-905738<br>
<a href="mailto:georg.mayr-duffner@wu.ac.at" target="_blank">E-Mail: georg.mayr-duffner@wu.ac.at</a><br>
<a href="https://www.wu.ac.at/bibliothek" target="_blank">https://www.wu.ac.at/bibliothek</a></div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>Am 30.06.2020 um 16:24 schrieb Uldis Bojars <<a href="mailto:captsolo@gmail.com" target="_blank">captsolo@gmail.com</a>>:</div>
<br>
<div>
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>I am getting an error when trying to install Catmandu::MARC in the official librecat/catmandu Docker image [1]:</div>
<div><br>
</div>
<div># cpanm Catmandu::MARC</div>
<div>[...]</div>
<div>--> Working on XML::Parser<br>
Fetching <a href="http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz" target="_blank">
http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz</a> ... OK<br>
Configuring XML-Parser-2.46 ... N/A<br>
! Configure failed for XML-Parser-2.46. See /root/.cpanm/work/1593525785.6/build.log for details.<br>
! Installing the dependencies failed: Module 'XML::Parser' is not installed<br>
! Bailing out the installation for XML-XPath-1.44.</div>
<div><br>
</div>
<div>Here's the relevant fragment from the build.log:</div>
<div>-----</div>
<div>Configuring XML-Parser-2.46<br>
Running Makefile.PL<br>
<br>
Expat must be installed prior to building XML::Parser and I can't find<br>
it in the standard library directories. Install 'expat-devel' (or<br>
'libexpat1-dev') package with your OS package manager. See 'README'.<br>
<br>
Or you can download expat from:<br>
<br>
<a href="http://sourceforge.net/projects/expat/" target="_blank">http://sourceforge.net/projects/expat/</a><br>
<br>
If expat is installed, but in a non-standard directory, then use the<br>
following options to Makefile.PL:<br>
<br>
    EXPATLIBPATH=...  To set the directory in which to find libexpat<br>
<br>
    EXPATINCPATH=...  To set the directory in which to find expat.h<br>
<br>
For example:<br>
<br>
    perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include<br>
<br>
Note that if you build against a shareable library in a non-standard location<br>
you may (on some platforms) also have to set your LD_LIBRARY_PATH environment<br>
variable at run time for perl to find the library.<br>
<br>
-> N/A<br>
-> FAIL Configure failed for XML-Parser-2.46. See /root/.cpanm/work/1593525785.6/build.log for details.<br>
-> FAIL Installing the dependencies failed: Module 'XML::Parser' is not installed<br>
-> FAIL Bailing out the installation for XML-XPath-1.44.<br>
</div>
<div>-----</div>
<div><br>
</div>
<div>Could you help me resolve this issue?<br>
</div>
<div><br>
</div>
<div>[1] <a href="https://hub.docker.com/r/librecat/catmandu/" target="_blank">
https://hub.docker.com/r/librecat/catmandu/</a></div>
<div><br>
</div>
<div>Best regards,</div>
<div>Uldis</div>
<div><br>
</div>
</div>
_______________________________________________<br>
librecat-dev mailing list<br>
- send list mails to <a href="mailto:librecat-dev@lists.uni-bielefeld.de" target="_blank">
librecat-dev@lists.uni-bielefeld.de</a><br>
- to unsubscribe or change options, visit <a href="https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev" target="_blank">
https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev</a><br>
- project website: <a href="http://librecat.org/" target="_blank">http://librecat.org/</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div>