On Thu 2010-06-10 (12:00), Ulli Horlacher wrote:

> I then tried:
> 
> pp -gui -clean -o schwuppdiwupp.exe schwuppdiwupp.pl 
> c:\strawberry\perl\lib\unicore\Heavy.pl
> 
> but with the same result:
> 
>   "Can't locate unicore/Heavy.pl in @INC (...) at utf8_heavy.pl line 96"

Same result with

pp -gui -clean -a c:\strawberry\perl\lib\unicore\Heavy.pl -o schwuppdiwupp.exe 
schwuppdiwupp.pl 

and 

pp -gui -clean -M c:\strawberry\perl\lib\unicore\Heavy.pl -o schwuppdiwupp.exe 
schwuppdiwupp.pl 


I then added "require 'unicore/Heavy.pl'" to my perl program and compiled
it with:

pp -gui -clean -c -o schwuppdiwupp.exe schwuppdiwupp.pl

This worked!

And finally I removed the manually copied *.dll from the destination
machine and compiled it on the developer machine with:

pp -gui -clean -c -l c:\strawberry\c\bin\libeay32_.dll -l 
c:\strawberry\c\bin\libssl32_.dll -o schwuppdiwupp.exe schwuppdiwupp.pl

The resulting schwuppdiwupp.exe is now a standalone windows executable
which needs no additonal files and runs on a vanilla windows machine! 
Exactly what I wants!

Thanks to all for providing me with hints&tips!




-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlac...@rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/

Reply via email to