http://www.perlmonks.org?node_id=1055346


in reply to Re: Packaging for Perl Code
in thread Packaging for Perl Code

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.

Replies are listed 'Best First'.
Re^3: Packaging for Perl Code
by tarunmudgal4u (Sexton) on Sep 23, 2013 at 19:16 UTC

    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.
        yeah, thats not what -l is for