<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.rabbibob.com/index.php?action=history&amp;feed=atom&amp;title=PAR_Compiling_Perl_scripts_into_executables</id>
	<title>PAR Compiling Perl scripts into executables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.rabbibob.com/index.php?action=history&amp;feed=atom&amp;title=PAR_Compiling_Perl_scripts_into_executables"/>
	<link rel="alternate" type="text/html" href="https://www.rabbibob.com/index.php?title=PAR_Compiling_Perl_scripts_into_executables&amp;action=history"/>
	<updated>2026-04-28T22:22:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://www.rabbibob.com/index.php?title=PAR_Compiling_Perl_scripts_into_executables&amp;diff=617&amp;oldid=prev</id>
		<title>Rabbi Bob at 14:46, 31 December 2007</title>
		<link rel="alternate" type="text/html" href="https://www.rabbibob.com/index.php?title=PAR_Compiling_Perl_scripts_into_executables&amp;diff=617&amp;oldid=prev"/>
		<updated>2007-12-31T14:46:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:46, 31 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot;&gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That&amp;#039;s it.  I&amp;#039;ve been able to create a couple exe&amp;#039;s right off the bat with this and I&amp;#039;ve been finally freed of my perl2exe license.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That&amp;#039;s it.  I&amp;#039;ve been able to create a couple exe&amp;#039;s right off the bat with this and I&amp;#039;ve been finally freed of my perl2exe license.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:2007-07]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Weblog-&lt;/ins&gt;2007-07]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Perl]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Perl]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mw_RabbiBob_139-wiki_:diff::1.12:old-436:rev-617 --&gt;
&lt;/table&gt;</summary>
		<author><name>Rabbi Bob</name></author>
	</entry>
	<entry>
		<id>https://www.rabbibob.com/index.php?title=PAR_Compiling_Perl_scripts_into_executables&amp;diff=436&amp;oldid=prev</id>
		<title>Rabbi Bob: /* The Parts */</title>
		<link rel="alternate" type="text/html" href="https://www.rabbibob.com/index.php?title=PAR_Compiling_Perl_scripts_into_executables&amp;diff=436&amp;oldid=prev"/>
		<updated>2007-07-28T09:57:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The Parts&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:57, 28 July 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=The Parts=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=The Parts=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This installation was performed with ActivePerl-5.8.8.820-MSWin32-x86-274739 as the base Perl installation.  The same issue (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;later&lt;/del&gt;) occurred with 5.8.7.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This installation was performed with ActivePerl-5.8.8.820-MSWin32-x86-274739 as the base Perl installation.  The same issue (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;see below&lt;/ins&gt;) occurred with 5.8.7.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Grab the following files - &amp;#039;&amp;#039;&amp;#039;DO NOT INSTALL THEM YET!&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Grab the following files - &amp;#039;&amp;#039;&amp;#039;DO NOT INSTALL THEM YET!&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mw_RabbiBob_139-wiki_:diff::1.12:old-431:rev-436 --&gt;
&lt;/table&gt;</summary>
		<author><name>Rabbi Bob</name></author>
	</entry>
	<entry>
		<id>https://www.rabbibob.com/index.php?title=PAR_Compiling_Perl_scripts_into_executables&amp;diff=431&amp;oldid=prev</id>
		<title>Rabbi Bob: New page: =Disclaimer= I started reading the [http://www.expertsrt.com/tutorials/Matt/perlPAR.html Compiling Perl Scripts into Standalone Executables] tutorial by NicholasSolutions, which coincident...</title>
		<link rel="alternate" type="text/html" href="https://www.rabbibob.com/index.php?title=PAR_Compiling_Perl_scripts_into_executables&amp;diff=431&amp;oldid=prev"/>
		<updated>2007-07-26T20:57:47Z</updated>

		<summary type="html">&lt;p&gt;New page: =Disclaimer= I started reading the [http://www.expertsrt.com/tutorials/Matt/perlPAR.html Compiling Perl Scripts into Standalone Executables] tutorial by NicholasSolutions, which coincident...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Disclaimer=&lt;br /&gt;
I started reading the [http://www.expertsrt.com/tutorials/Matt/perlPAR.html Compiling Perl Scripts into Standalone Executables] tutorial by NicholasSolutions, which coincidently has a [http://creativecommons.org/licenses/by-nc-nd/2.5/ Creative Commons license] that prohibits building on the tutorial, which makes this bad for two reasons.  The first is that the tutorial is not being updated and the second is that no one can really do anything for the web in updating it due to the license.  So apparently I&amp;#039;ve uncovered my first dislike of CC!&lt;br /&gt;
&lt;br /&gt;
Instead of reproducing what is there, I&amp;#039;m going to simply do the laundry list approach and cite the error that caused me to Google for a bit, then to try my own solution.&lt;br /&gt;
&lt;br /&gt;
=The Parts=&lt;br /&gt;
&lt;br /&gt;
This installation was performed with ActivePerl-5.8.8.820-MSWin32-x86-274739 as the base Perl installation.  The same issue (later) occurred with 5.8.7.&lt;br /&gt;
&lt;br /&gt;
Grab the following files - &amp;#039;&amp;#039;&amp;#039;DO NOT INSTALL THEM YET!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
# [http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084 nmake15.exe]&lt;br /&gt;
# [http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/Parse-Binary-0.08.tar.gz Parse-Binary]&lt;br /&gt;
# [http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/Win32-Exe-0.08.tar.gz Win32-Exe]&lt;br /&gt;
# [http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/Module-ScanDeps-0.50.tar.gz Module-ScanDeps]&lt;br /&gt;
# [http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/PAR-Dist-0.07.tar.gz Par-Dist]&lt;br /&gt;
# [http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/PAR-0.85.tar.gz Par v0.85]&lt;br /&gt;
## [http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/PAR-0.89.tar.gz Par v0.89]&lt;br /&gt;
&lt;br /&gt;
=nmake=&lt;br /&gt;
* Move nmake15.exe to c:\perl\bin&lt;br /&gt;
* execute nmake15.exe to create NMAKE.ERR NMAKE.EXE and README.TXT (readme is not needed)&lt;br /&gt;
&lt;br /&gt;
=Perl Modules=&lt;br /&gt;
For each of the modules listed above (2 through 6), &amp;#039;&amp;#039;&amp;#039;in the order listed&amp;#039;&amp;#039;&amp;#039;, do the following:&lt;br /&gt;
* Unpack (unzip,gunzip)&lt;br /&gt;
* From the command line within the directory created:&lt;br /&gt;
** perl makefile.pl&lt;br /&gt;
** nmake&lt;br /&gt;
** nmake test&lt;br /&gt;
** nmake install&lt;br /&gt;
&lt;br /&gt;
=Can&amp;#039;t find par loader=&lt;br /&gt;
* Type &amp;#039;&amp;#039;pp&amp;#039;&amp;#039; from the command line.  If you get the following error, you arrived at the same place I did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Can&amp;#039;t find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Fix PP=&lt;br /&gt;
Repeat the Perl Modules step for Par.089 and install that module.  Run the test again.  You should not get an error.&lt;br /&gt;
&lt;br /&gt;
=PP commands=&lt;br /&gt;
&lt;br /&gt;
From [http://search.cpan.org/~autrijus/PAR-0.89/script/pp Par-08.9], here command examples.  &amp;#039;&amp;#039;Note: When running on Microsoft Windows, the a.out below will be replaced by a.exe instead.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    % pp hello                  # Pack &amp;#039;hello&amp;#039; into executable &amp;#039;a.out&amp;#039;&lt;br /&gt;
    % pp -o hello hello.pl      # Pack &amp;#039;hello.pl&amp;#039; into executable &amp;#039;hello&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    % pp -o foo foo.pl bar.pl   # Pack &amp;#039;foo.pl&amp;#039; and &amp;#039;bar.pl&amp;#039; into &amp;#039;foo&amp;#039;&lt;br /&gt;
    % ./foo                     # Run &amp;#039;foo.pl&amp;#039; inside &amp;#039;foo&amp;#039;&lt;br /&gt;
    % mv foo bar; ./bar         # Run &amp;#039;bar.pl&amp;#039; inside &amp;#039;foo&amp;#039;&lt;br /&gt;
    % mv bar baz; ./baz         # Error: Can&amp;#039;t open perl script &amp;quot;baz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    % pp -p file                # Creates a PAR file, &amp;#039;a.par&amp;#039;&lt;br /&gt;
    % pp -o hello a.par         # Pack &amp;#039;a.par&amp;#039; to executable &amp;#039;hello&amp;#039;&lt;br /&gt;
    % pp -S -o hello file       # Combine the two steps above&lt;br /&gt;
&lt;br /&gt;
    % pp -p -o out.par file     # Creates &amp;#039;out.par&amp;#039; from &amp;#039;file&amp;#039;&lt;br /&gt;
    % pp -B -p -o out.par file  # same as above, but bundles core modules&lt;br /&gt;
    % pp -P -o out.pl file      # Creates &amp;#039;out.pl&amp;#039; from &amp;#039;file&amp;#039;&lt;br /&gt;
    % pp -B -p -o out.pl file   # same as above, but bundles core modules&lt;br /&gt;
                                # (-B is assumed when making executables)&lt;br /&gt;
&lt;br /&gt;
    % pp -e &amp;quot;print 123&amp;quot;         # Pack a one-liner into &amp;#039;a.out&amp;#039;&lt;br /&gt;
    % pp -p -e &amp;quot;print 123&amp;quot;      # Creates a PAR file &amp;#039;a.par&amp;#039;&lt;br /&gt;
    % pp -P -e &amp;quot;print 123&amp;quot;      # Creates a perl script &amp;#039;a.pl&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    % pp -c hello               # Check dependencies from &amp;quot;perl -c hello&amp;quot;&lt;br /&gt;
    % pp -x hello               # Check dependencies from &amp;quot;perl hello&amp;quot;&lt;br /&gt;
    % pp -n -x hello            # same as above, but skips static scanning&lt;br /&gt;
&lt;br /&gt;
    % pp -I /foo hello          # Extra include paths&lt;br /&gt;
    % pp -M Foo::Bar hello      # Extra modules in the include path&lt;br /&gt;
    % pp -M abbrev.pl hello     # Extra libraries in the include path&lt;br /&gt;
    % pp -X Foo::Bar hello      # Exclude modules&lt;br /&gt;
    % pp -a data.txt hello      # Additional data files&lt;br /&gt;
&lt;br /&gt;
    % pp -r hello               # Pack &amp;#039;hello&amp;#039; into &amp;#039;a.out&amp;#039;, runs &amp;#039;a.out&amp;#039;&lt;br /&gt;
    % pp -r hello a b c         # Pack &amp;#039;hello&amp;#039; into &amp;#039;a.out&amp;#039;, runs &amp;#039;a.out&amp;#039;&lt;br /&gt;
                                # with arguments &amp;#039;a b c&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    % pp hello --log=c          # Pack &amp;#039;hello&amp;#039; into &amp;#039;a.out&amp;#039;, logs&lt;br /&gt;
                                # messages into &amp;#039;c&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    # Pack &amp;#039;hello&amp;#039; into a console-less &amp;#039;out.exe&amp;#039; with icon (Win32 only)&lt;br /&gt;
    % pp --gui --icon hello.ico -o out.exe hello&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Wrap Up=&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it.  I&amp;#039;ve been able to create a couple exe&amp;#039;s right off the bat with this and I&amp;#039;ve been finally freed of my perl2exe license.&lt;br /&gt;
&lt;br /&gt;
[[Category:2007-07]]&lt;br /&gt;
[[Category:Perl]]&lt;/div&gt;</summary>
		<author><name>Rabbi Bob</name></author>
	</entry>
</feed>