Hello,

I installed PAR from ppm as follow:

C:\>ppm
PPM - Programmer's Package Manager version 3.1.
Copyright (c) 2001 ActiveState SRL. All Rights Reserved.

Entering interactive shell. Using Term::ReadLine::Stub as readline library.

Type 'help' to get started.

ppm> install PAR
====================
Install 'PAR' version 0.75 in ActivePerl 5.8.1.807.
====================
Downloaded 778464 bytes.
Extracting 22/22: blib/arch/auto/PAR/.exists
Installing C:\Perl\html\bin\par.html
Installing C:\Perl\html\bin\pp.html
Installing C:\Perl\html\site\lib\PAR.html
Installing C:\Perl\html\site\lib\App\Packer\PAR.html
Installing C:\Perl\html\site\lib\PAR\Heavy.html
Installing C:\Perl\html\site\lib\PAR\Intro.html
Installing C:\Perl\site\lib\PAR.pm
Installing C:\Perl\site\lib\App\Packer\PAR.pm
Installing C:\Perl\site\lib\PAR\Heavy.pm
Installing C:\Perl\site\lib\PAR\Intro.pod
Installing C:\Perl\bin\par.bat
Installing C:\Perl\bin\par.pl
Installing C:\Perl\bin\parl.exe
Installing C:\Perl\bin\parldyn.exe
Installing C:\Perl\bin\pp
Installing C:\Perl\bin\pp.bat
Installing C:\Perl\bin\replaceicon.exe
Successfully installed PAR version 0.75 in ActivePerl 5.8.1.807.
ppm>

I'm new to par, that's my first try.
I wrote a simple hello.pl, It contains just one :
print "Hello, World...\n";

I run
pp -o hello.exe hello.pl

It works but the generated hello.exe has a size more than 1 Meg :
Too big ! for one line of script :-)

C:\>pp -o hello.exe hello.pl

C:\>dir hello.exe
 
 Directory of C:\

28/12/2003  22:07            1.358.220 hello.exe
 
C:\>


Thus, I want to use the -d option of pp to reduce the  size of my .exe file.
Here starts my headache. I got the following error message :

C:\>pp -d -o hello.exe hello.pl

Goto undefined subroutine &DynaLoader::bootstrap_inherit at D:/cpanrun/build/5-8
-0/lib/XSLoader.pm line 110.
Compilation failed in require at D:/cpanrun/build/5-8-0/lib/IO/Handle.pm line 25
6.
BEGIN failed--compilation aborted at D:/cpanrun/build/5-8-0/lib/IO/Handle.pm lin
e 256.
Compilation failed in require at D:/cpanrun/build/5-8-0/lib/IO/Seekable.pm line
101.
BEGIN failed--compilation aborted at D:/cpanrun/build/5-8-0/lib/IO/Seekable.pm l
ine 101.
Compilation failed in require at D:/cpanrun/build/5-8-0/lib/IO/File.pm line 112.

BEGIN failed--compilation aborted at D:/cpanrun/build/5-8-0/lib/IO/File.pm line
112.
Compilation failed in require at par.pl line 310.

C:\>


Could you tell me how I can fix this problem, please ?

Thanks,

Jos�.




**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.

Reply via email to