Question regarding a check in configure for XML::Parser

Christian Lohmaier lohmaier+libreoffice at googlemail.com
Wed Apr 10 06:19:05 PDT 2013


Hi Jonathan, *,

On Tue, Apr 9, 2013 at 8:49 PM, Jonathan Aquilina
<eagles051387 at gmail.com> wrote:
> I am looking at Archive::Zip  in configure file

Then you're looking at the wrong place anyway, as configure is
generated code and thus not very friendly too look at - in other
words: It is way too confusing to work with that.

> Question becomes what do i need to do if there is an else to have it
> automatically installed during the script

You don't. Configure must not mess with the user's system.

> as it needs to be run as root.

You don't compile stuff as root either.

> do
> i change the error and add details on how to install the module?

For adding a more verbose message, edit configure.ac in the
"Testing for required Perl modules" section at around line 4600

But it probably is pointless to add commands, as package names
probably differ too much e.g. on ubuntu it is libarchive-zip-perl, on
mageia it is perl-Archive-Zip, etc. (otoh there are similar strings
for cups and others)

ciao
Christian


More information about the LibreOffice mailing list