Re: PAR/PP on Windows XP with ActiveState

From: Alan Stewart (astewart1_at_cox.net)
Date: 02/04/05


Date: Thu, 03 Feb 2005 19:22:50 -0800

On 3 Feb 2005 05:30:33 -0800, sigzero@gmail.com wrote:

>I am trying to build an EXE without the Perl DLL included. I run my
>make.bat which contains:
>
>pp --icon app.ico -d -o popups.exe popups.pl
>
>And it errors out with this:
>
>Goto undefined subroutine &DynaLoader::bootstrap_inherit at
>C:/aperl58/lib/XSLoa
>der.pm line 95.
>Compilation failed in require at C:/aperl58/lib/IO/Handle.pm line 260.
>BEGIN failed--compilation aborted at C:/aperl58/lib/IO/Handle.pm line
>260.
>Compilation failed in require at C:/aperl58/lib/IO/Seekable.pm line
>101.
>BEGIN failed--compilation aborted at C:/aperl58/lib/IO/Seekable.pm line
>101.
>Compilation failed in require at C:/aperl58/lib/IO/File.pm line 117.
>BEGIN failed--compilation aborted at C:/aperl58/lib/IO/File.pm line
>117.
>Compilation failed in require at -e line 305.
>BEGIN failed--compilation aborted at -e line 835.
>Cannot open popups.exe for reading: No such file or directory at
>C:/Perl/site/li
>b/Parse/Binary.pm line 611.
>
>I then read the -d switch and it says:
>
>-d, --dependent
>
>Reduce the executable size by not including a copy of perl interpreter.
>Executables built this way will need a separate perl5x.dll or
>libperl.so to function correctly. This option is only available if perl
>is built as a shared library.
>
>The last sentence is what got me. Is the ActiveState distro built as a
>shared library? Or is a lean EXE out of my reach because AS was not
>built that way?
>
>Robert

Try it without the "--icon app.ico". The pp is dying while trying to
read the popups.exe (Parse::Binary.pm), prior to inserting the icon
file. Either this is a bug in pp icon insertion or your icon file is
invalid or too big.

Alan Stewart



Relevant Pages

  • Re: [25% OT] C library integral part of OS/kernel???
    ... > So, when an executable gets built, then there are two copies of C ... its version of the C library functions. ... probably have executables built with microsoft, gnu and borland C, each ... CLC FAQ CLC readme: ...
    (comp.lang.c)
  • Re: Where should I ask?
    ... In the screenshot you will see a version of the icon that is correct, ... executable with the bad icon in the ALT+TAB window was built in Vista ... When running the executable built with Update 1 on Vista, ...
    (borland.public.delphi.non-technical)
  • Re: Res2Exe strips out program icon
    ... Recompile your app using Visual Studio 2005 - the new compilers remove ... the need for the res2exe tool so your icon will be safe ... Create 2 executables. ... Program Manager, Windows Mobile Developer Experience ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Icon not shown?
    ... the icon shows ok at the development ... Sounds to me the resource is ... >>somehow not built into the executable. ... > You can check your idea by loading the EXE file into ...
    (microsoft.public.vc.language)
  • Problems with executables
    ... I cannot rename or delete them. ... of all executables on my PC appear with that icon. ... actual game folder on G:, it appeared as the correct icon, and I was able to ...
    (microsoft.public.windowsxp.general)