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

Re: perl2exe - no more secrets

by marinersk (Chaplain)
on Sep 01, 2010 at 19:34 UTC ( #858402=note: print w/ replies, xml ) Need Help??


in reply to perl2exe - no more secrets

I don't use perl2exe to hide anything. It solves a deployability issue where I am not allowed to install Perl on the remote system.

I tried PAR. FAIL.
I tried TinyPerl. FAIL.
I tried Perl2Exe. WIN. Worked out of the box.

I see errors I can chase down, but therein lies the rub -- It's cost me more in dollars-per-hour trying to get these "free" tools to work than I spent on my last version of Perl2Exe.

So it looks like I will upgrade Perl2Exe and shelve getting these other, cooler, neater tools to function for me until I have some free time.

Sample TinyPerl attempt:

C:\Steve\Dev\psql-perl>C:\App\tinyperl\tinyperl.exe -bin psql.pl psql. +exe Binary created at: psql.exe OK! Enjoy ;-P C:\Steve\Dev\psql-perl>psql.exe Can't find or load LibZip: ERROR: No filename given Perl lib version (v5.8.0) doesn't match executable version (v5.8.9) at + (eval 1) line 28.

Sample PAR attempt:

C:\Steve\Install\PAR\PAR-Packer-1.006>dir Volume in drive C is CBoot Volume Serial Number is B4AB-1A65 Directory of C:\Steve\Install\PAR\PAR-Packer-1.006 09/01/2010 12:38 PM <DIR> . 09/01/2010 12:38 PM <DIR> .. 06/13/2010 11:10 AM 394 AUTHORS 06/26/2010 05:02 AM 48,710 ChangeLog 09/01/2010 12:38 PM <DIR> contrib 09/01/2010 12:38 PM <DIR> inc 09/01/2010 12:38 PM <DIR> lib 06/19/2010 11:50 AM 4,643 Makefile.PL 06/26/2010 05:18 AM 1,829 MANIFEST 06/19/2010 11:50 AM 451 MANIFEST.SKIP 06/26/2010 05:04 AM 745 META.yml 09/01/2010 12:38 PM <DIR> myldr 06/26/2010 05:18 AM <DIR> package 06/13/2010 11:10 AM 5,846 README 09/01/2010 12:38 PM <DIR> script 09/01/2010 12:38 PM <DIR> t 06/13/2010 11:10 AM 185 TODO 8 File(s) 62,803 bytes 9 Dir(s) 4,356,517,888 bytes free C:\Steve\Install\PAR\PAR-Packer-1.006>perl Makefile.PL *** You have extra Perl library paths set in your environment. Please note that these paths (set with PERL5LIB or PERLLIB) are not honored by perl when running under taint mode, which may lead to problems. This is a limitation (by design) of Perl, not of PAR::Packer; but some of the problems may manifest here during installation. Checking if your kit is complete... Looks good Warning: prerequisite Getopt::ArgvFile 1.07 not found. Warning: prerequisite Module::ScanDeps 0.96 not found. Warning: prerequisite PAR 1.000 not found. Warning: prerequisite PAR::Dist 0.22 not found. Warning: prerequisite Parse::Binary 0.04 not found. Warning: prerequisite Win32::Exe 0.14 not found. Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for msvcrt.lib Writing Makefile for the par.exe program Writing Makefile for PAR::Packer C:\Steve\Install\PAR\PAR-Packer-1.006>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\perl.exe "-Minc::Module::Install" -e "extract_par +(q(PAR-Packer-1.006-MSWin32-x86-multi-thread-5.8.9.par))" cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm cp lib/PAR/StrippedPARL/Dynamic.pm blib\lib\PAR\StrippedPARL\Dynamic.p +m cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm cp lib/pp.pm blib\lib\pp.pm cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm cp lib/PAR/StrippedPARL/Static.pm blib\lib\PAR\StrippedPARL\Static.pm C:\Steve\Utils\nmake.exe -f Makefile all -nologo C:\Perl\bin\perl.exe sha1.c.PL sha1.c cl -c -Zm1000 -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D +_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTO +M IZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS +-DUSE_PERLIO -DPERL_MSVCRT_READFIX -I"C:\Perl\lib\CORE" -DPARL_EXE= +\ "parl.exe\" -MD -Zi -DNDEBUG -O1 main.c The system cannot execute the specified program. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. C:\Steve\Install\PAR\PAR-Packer-1.006>


Comment on Re: perl2exe - no more secrets
Select or Download Code
Re^2: perl2exe - no more secrets
by Anonymous Monk on Dec 22, 2011 at 07:46 UTC
    every one knows that a good perl programmer can do in a few lines of code, that would take other languages many pages this is because of all the hard work put into the high level language by the open source community, so a perl compiler needs to look at the machine code or the assembly code or in reality a perl to NASM converter to get a good compilation and allow to be used on many operating systems. not to mention the creative ways to use jump statements to reduce the amount of code in a program... mrbaker_mark@yahoo.com is any one ready to work on this ???

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-12-26 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls