Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: loading libxml2 as a prerequisite

by sundialsvc4 (Abbot)
on Nov 19, 2014 at 13:05 UTC ( [id://1107745]=note: print w/replies, xml ) Need Help??


in reply to loading libxml2 as a prerequisite

I think that the only thing which you can realistically do is to document the requirement.   Put the prerequisite Perl package into the dependency list for yours, but tell the Gentle Reader that it is important that the underlying .so or .dll files be present.   cpan will recognize the prerequisite and attempt to install XML::LibXML if it isn’t there yet, but most-unfortunately that install might not be successful and there might be nothing that the (non-Administrative) user can actually do about it.   Some [Perl] installers react graciously when an underlying binary library isn’t there; others fall-down into a tangled heap of smelly ones and zeros.   Generally speaking, none of them can actually be expected to install the library.   So, I think, you need to voice the issue very clearly in your package documentation, including a discussion of what the Gentle Reader may expect (and that he might need to call the I.T. department).

Replies are listed 'Best First'.
Re^2: loading libxml2 as a prerequisite
by jandrew (Chaplain) on Nov 19, 2014 at 13:19 UTC

    sundialsvc4 Thank you, I had overlooked adding this to the documentation near term till I get this resolved.

    Long term the documents should probably warn of the installation of the underlying library libxml2. (when I get it to work)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1107745]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-23 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found