<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">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/">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/">https://hub.docker.com/r/librecat/catmandu/</a></div><div><br></div><div>Best regards,</div><div>Uldis</div><div><br></div></div>