[Israel.pm] Cross platform packaging using perl packager.

Gaal Yahas gaal at forum2.org
Sun Mar 4 03:22:52 PST 2007


The loader *ought* to be portable: if it isn't, it's probably a bug.

Open a bug in rt.cpan.org or see if anyone on #par in irc.perl.org knows
anything about this.

On Sun, Mar 04, 2007 at 12:52:01PM +0200, Erez David wrote:
> I can asume only Perl... and I tried the -P option of pp but it didn't work...
> My Linux (where I run the pp...) is 64 bit so I guess that might be
> the problem isn't it? while trying to run it of the sunOS I get:
> 
> Goto undefined subroutine &DynaLoader::bootstrap_inherit at
> /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/XSLoader.pm line 110.
> Compilation failed in require at
> /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/IO/Handle.pm line
> 256.
> 
> Where can I find the right loader...?
> 
> On 3/4/07, Gaal Yahas <gaal at forum2.org> wrote:
> > On Sun, Mar 04, 2007 at 12:00:08PM +0200, Erez David wrote:
> > > I need to be able to pack a Perl script + its used modules (externals
> > > + internals) so it would work on any machine from any arch with only
> > > pure Perl installed on it...
> > >
> > > I don't need executable... just the Perl modules... the main problem
> > > off course is with external modules which I can not tell whether they
> > > are installed or not on the other machine...
> > >
> > > I have tried the pp tool from perl::packager with the --multiarch
> > > option and it didn't worked for me. (seems like you need to have PAR
> > > installed on the remote machine according to the tutorial....)
> >
> > The magic of PAR works thanks to the fact that you can prepend whatever
> > you like to a ZIP file. pp puts some kind of loader for you, you just
> > have to pick the right one.
> >
> > Since you can assume perl but nothing else, sounds like the loader you
> > need is the kind generated with the -P option to pp.
> >
> > --
> > Gaal Yahas <gaal at forum2.org>
> > http://gaal.livejournal.com/
> > _______________________________________________
> > Perl mailing list
> > Perl at perl.org.il
> > http://perl.org.il/mailman/listinfo/perl
> >
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl

-- 
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/



More information about the Perl mailing list