Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

include stand-alone libraries with perl code?

Status
Not open for further replies.

goBoating

Programmer
Feb 8, 2000
1,606
US
Hello All,

'Working on a project that uses XML::LibXSLT. 'Creating a bundle with Activestate perlApp. We need our app to install and run on machines that may not have libxml2 and libxslt installed. Ergo, we want to compile OS specific versions of those libraries to be bundled with our OS-specific releases.

The question, when I install XML::LibXML and XML::LibXSLT, how do I get the Perl module install to use the stand-alone version of the libraries instead of those that may or may not be on the system?

Thanks.



'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
Found it.

When doing: perl Makefile.PL

you can supply the location of the libxslt libs. Like:

perl Makefile.PL XSLTPREFIX=/path/to/your/standalone/libs <Enter>

'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top