PAR, pp and script packing

From: Asier (kasier_at_hispavista.com)
Date: 04/25/04


Date: 25 Apr 2004 08:16:48 -0700

Hi:

i have developed an applicattion in perl.

The problem i have, is that when i pack it normally with pp, and try
to use it in another different box( packed in redhat 9, fails in
mandrake 9), it gives me an error (icsh_len). I suppose that this
happends due to XS modules, becouse of the other modules i am using in
my script ... So i found in par's documentation that i could pack with
--multiarch option, and that implies -p (Create PAR archives only; do
not package to a standalone binary.).

But it is in this point where my mind gets confused. What can i do, if
i want to distribute my applicattion, accross any *linux* box, with
the modules i have downloaded and installed in my box?

What is the best way to pack in order to distribute my app, without
having to pack more things than necessary (supposing that standard
perl is installed in other possible linux boxes) and taking as less
space as possible?

i do not mind if it is a self standalone executable other a perl
archive with .par archives (supposing in this last case that par is
NOT installed in the other machines)

Thank you very very much



Relevant Pages

  • Re: writing binary files
    ... The whole idea of pack is that it packs data according to a TEMPLATE, ... > require a template character to be passed for every character in the ... output in Perl, you might consider writing out the compact version using ...
    (comp.lang.perl.misc)
  • Re: PAR, pp and script packing
    ... > i have developed an applicattion in perl. ... > The problem i have, is that when i pack it normally with pp, and try ... > not package to a standalone binary.). ... > But it is in this point where my mind gets confused. ...
    (comp.lang.perl.modules)
  • Re: bit sequence match
    ... : perl book about pack. ... An explanation of pack() is also available on your own machine by typing ... the hash slice returns values in a desired order. ... things you can do while learning Perl. ...
    (comp.lang.perl.misc)
  • Re: How to identify a 32 or 64 bit OS?
    ... T> way to do this that will work on Windows as well as Linux. ... Useless use of pack in void context at test line 4. ... This is perl, v5.8.8 built for i686-linux-ld ...
    (comp.lang.perl.misc)
  • PAR, pp and script packing
    ... i have developed an applicattion in perl. ... The problem i have, is that when i pack it normally with pp, and try ... not package to a standalone binary.). ...
    (comp.lang.perl.misc)