Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: - Pack script and dependencies into self-extracting bash script

by jbryan (Acolyte)
on Aug 21, 2012 at 20:06 UTC ( #988844=note: print w/replies, xml ) Need Help??

in reply to Re: - Pack script and dependencies into self-extracting bash script
in thread - Pack script and dependencies into self-extracting bash script

Ahh, so is that different than what the following does:

# From % pp -P -o file % pp -B -p -o file

Neither of the resulting files would run cross-platform (e.g. when copied from 64bit laptop to 64bit machine, both running CentOS, or the other way around - 32bit to 64bit.) Even though no .so/etc were copied, the header on the file that PAR added require'd DynaLoader, which caused it to fail with an error like Undefined subroutine &DynaLoader::bootstrap called at /usr/lib64/perl5/ line 111. (This is from a file generated with pp on my 64bit laptop last night and ran on my 32bit desktop here at the office.)

I spent several hours googling and trying various options, though I admit I didn't try that -X option (must have glossed over that thru my sleep-deprived hazy vision!)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988844]
[Corion]: I'm looking into Firefox Accounts (to self-host bookmark synchronization, among other things) and the one thing I like about their documentation is that they include test vectors for ...
[Corion]: ... their hashes. Even though their backends claim to be open, they don't really seem to be geared towards self-hosting them, so I'm pondering writing a (simplicistic) Perl backend for my needs

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-11-18 17:02 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (277 votes). Check out past polls.