Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: SOAP::Lite and pp (Perl Packager) issue

by dasgar (Priest)
on Jan 31, 2018 at 21:33 UTC ( #1208221=note: print w/replies, xml ) Need Help??


in reply to SOAP::Lite and pp (Perl Packager) issue

Can you share the syntax that you used for the pp utility?

The reason for asking is sometimes the pp utility doesn't properly detect and include needed modules. I've gotten in the habit using the -c and -x options when using pp, which causes it to "determine additional run-time dependencies".

The first messages are warnings, as the execution does not die. But later on SOAP issues an error and stops the program execution. I believe it's due to the first warnings.

If you can share those error messages, that might help others to be able to provide better assistance.

Since I don't have any experience with SOAP in general (much less SOAP modules), I probably can't offer any further suggestions.

I haven't tried it yet, but salva has a fairly new module called Win32::Packer that you could try instead of pp.

  • Comment on Re: SOAP::Lite and pp (Perl Packager) issue

Replies are listed 'Best First'.
Re^2: SOAP::Lite and pp (Perl Packager) issue
by Garden Dwarf (Beadle) on Feb 01, 2018 at 09:10 UTC

    I used -c and -x, and I've been able to solve my issue! "XML:Parser::Lite" was missing and now my exe executes correctly!

    My syntax is "pp -i application.ico -o application.exe application.pl" (yes, I use an older version of PP in order to change default icon). Note that I use also END{perl_code} to encapsulate my Perl program when using PP. I've read somewhere around here that this is better.

    I will check for salva/Win32::Packer to see if I'm more comfortable with it (even if pp was doing right until now). Thanks for the suggestion.

    So... even if I read your messages since a while here, this was my first post. And issue is fixed faster than I thought. Thanks again!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208221]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2021-01-21 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?