Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Packaging for Perl Code

by marto (Chancellor)
on Sep 23, 2013 at 13:21 UTC ( #1055284=note: print w/ replies, xml ) Need Help??


in reply to Packaging for Perl Code

"as of now it's the output of pp utility"

It'd make more sense if you actually showed how you ran pp to generate this executable. I suggest using the -x option and being verbose with the output of the packaging:

pp -x -vv -o derp.exe derp.pl


Comment on Re: Packaging for Perl Code
Select or Download Code
Re^2: Packaging for Perl Code
by tarunmudgal4u (Sexton) on Sep 23, 2013 at 17:37 UTC

    Below is the complete output-

    C:\Jenkins Workspace>pp -o TCExecutor.exe -l "C:\Perl\site\lib\Sys\Inf +o\Driver\Windows" -l "C:\Perl\site\lib\Sys\Info\Dr iver\Unknown" -l "C:\Perl\site\lib\auto\Sys\Info\Driver\Windows\Window +s.dll" -l "C:\Perl\site\lib\Sys\Info" -M "Sys\Info \Driver\Windows\OS.pm" -M "Sys\Info\Driver\Unknown\OS.pm" -M "Sys\Info +.pm" -M "Module\ScanDeps\DataFeed.pm" -x -vv TCEx ecutor.pl Set up gcc environment - 3.4.5 (mingw-vista special r3) C:\Perl\site\bin/pp: Packing TCExecutor.pl C:\Perl\site\bin/pp: Writing PAR on \ppLopua.par Killing running processes of IEDriverServer, chromedriver, firefox or +AutoItX3 if any.. No any IEDriverServer, chromedriver, firefox or AutoItX3 processes run +ning.. Looks Good Deleting C:\Users\ADMINI~1\AppData\Local\Temp\2 directory.. + done Mapping a drive to build machine 10.211.32.254.. failed Error: Couldn't map to network drive \\10.211.32.254\C$\luauser_perfor +ce\depot\Shared_Tech\Documentation\Projects\LUA\2. 3.3\QA\Automation\LUA Maven\Eclipse_Maven\Framework Please check your network: Sys\Info\Driver\Windows\OS.pm: No such file or directory at C:/Perl/si +te/lib/Module/ScanDeps/DataFeed.pm line 17. END failed--call queue aborted at TCExecutor.pl line 128. SYSTEM ERROR in executing TCExecutor.pl: 512 at C:/Perl/site/lib/Modul +e/ScanDeps.pm line 1302.

    I've implemented the changes suggested. Still, pp doesn't execute successfully.

      Hi, I've made some more changes and it's working fine now.. thanks

        Included some modules explicitly using -M option and path to search for these modules using -l option and it's working now. Please see below snippet-

        C:\Jenkins Workspace>pp -o TCExecutor.exe -l "C:/Perl/site/lib/Sys/Inf +o/Driver/Windows" -l "C:/Perl/site/lib/Sys/Info/Dr iver/Unknown" -l "C:/Perl/site/lib/auto/Sys/Info/Driver/Windows/Window +s.dll" -l "C:/Perl/site/lib/Sys/Info" -M "Sys/Info /Driver/Windows/OS.pm" -M "Sys/Info/Driver/Unknown/OS.pm" -M "Sys/Info +.pm" -M "Module/ScanDeps.pm" -M "Module/ScanDeps/ DataFeed.pm" -i symantec.ico TCExecutor.pl Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There i +s NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR +POSE. Set up gcc environment - 3.4.5 (mingw-vista special r3) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There i +s NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR +POSE.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-07-31 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls