I need to package an installer-application written in Perl 5.6.1 (HP-UX 11.00), which uses LibXML-1.53 Module.
The problem is, that on customer side, we may not have make/gcc present (and it's an overhead to install make/gcc/bison/flex). Make and GCC are 'required' for doing a perl Makefile.PL for LibXML-1.53 and other perl modules LibXML-1.53 depends upon.
Is there a way to do a 'perl Makefile.PL;make;make test; make install' on our test systems, and then use those pm files for the packaging? I tried copying the entire perl 'lib' directory, and I set my $PERL5LIB appropriately, but I still get the following error:
# /opt/perl/bin/perl -e 'use XML::LibXML'
Can't find 'boot_XML__LibXML__Common' symbol in opt/perl/lib/site_perl
+/5.6.1/PA-RISC1.1/auto/XML/LibXML/Common/Common.sl
at opt/perl/lib/site_perl/5.6.1/PA-RISC1.1/XML/LibXML.pm line 11
Compilation failed in require at opt/perl/lib/site_perl/5.6.1/PA-RISC1
+.1/XML/LibXML.pm line 11.
BEGIN failed--compilation aborted at opt/perl/lib/site_perl/5.6.1/PA-R
+ISC1.1/XML/LibXML.pm line 11.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
If I could make an executable out of the whole application, it would be the best thing. But it's still ok if we are able to run the installer applicaiton after installing perl and libxml2 (C libraries).
I've tried using perl2exe, perlcc and perl2bin, but there is some problem or the other.
Please help.
-Wall
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.