[Vienna-pm] PAR: Seltsames Verhalten

nagy wilhelm.nagy at bfw.gv.at
Thu Mar 22 02:41:21 PDT 2007


Hallo,
 
Folgendes Invironment:
 
os:
--------------------------------------------------------------------------
$ ver
 
Microsoft Windows XP [Version 5.1.2600]
--------------------------------------------------------------------------
 

perl:
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 50 registered patches, see perl -V for more detail)
 
--------------------------------------------------------------------------
PAR:
C:\temp\PDF_SIMPLE>pp --help
Perl Packager, version 0.12 (PAR version 0.90)
 
--------------------------------------------------------------------------
 
wenn ich das Skript 
 
--------------------------------------------------------------------------
# #############################
# perl pdf
#
#
#
use PDF::API2::Simple;
 
my $pdf = PDF::API2::Simple->new( 
                               file => 'c:\\temp\\output.pdf'
                              );
 
$pdf->add_font('Verdana');
$pdf->add_page();
 
for (my $i = 0; $i < 250; $i++) {
   my $text = "$i - All work and no play makes Jack a dull boy";
 
   $pdf->text($text, autoflow => 'on');
   }
 
$pdf->save();
--------------------------------------------------------------------------
 

(Mehr oder minder eine Kopie aus der Doku)
 
mit folgenden Makefile kompeliere
 
--------------------------------------------------------------------------
CC = pp
FNAME =  test.perl.pdf
GOAL=c:\temp\PDF_SIMPLE
 
$(FNAME).exe : $(FNAME).pl
 call $(CC) --module="XML::SAX::PurePerl" -module=PerlIO --output=$(FNAME).exe  $(FNAME).pl
 
clear:
 del $(FNAME).exe
 
install:
 echo TBD
 
run:
 call $(GOAL)\$(FNAME).exe
--------------------------------------------------------------------------
 

und starte  
kommt folgende Fehlermeldung
 
--------------------------------------------------------------------------
C:\temp\PDF_SIMPLE>make run
 

call c:\temp\PDF_SIMPLE\test.perl.pdf.exe
Can't load 'C:\DOKUME~1\Nagy\LOKALE~1\Temp\par-Nagy\cache-1174550034\4d1a52cb.dl
l' for module Storable: load_file:Die angegebene Prozedur wurde nicht gefunden a
t D:/cpanrun/build/5-8-0/lib/DynaLoader.pm line 229.
 at ../blib/lib/PAR/Heavy.pm line 107
Compilation failed in require at Unicode/UCD.pm line 8.
BEGIN failed--compilation aborted at Unicode/UCD.pm line 8.
Compilation failed in require at PDF/API2/Resource/Font/BdFont.pm line 45.
BEGIN failed--compilation aborted at PDF/API2/Resource/Font/BdFont.pm line 45.
Compilation failed in require at PDF/API2.pm line 68.
BEGIN failed--compilation aborted at PDF/API2.pm line 68.
Compilation failed in require at PDF/API2/Simple.pm line 46.
BEGIN failed--compilation aborted at PDF/API2/Simple.pm line 46.
Compilation failed in require at script/test.perl.pdf.pl line 6.
BEGIN failed--compilation aborted at script/test.perl.pdf.pl line 6.
make: *** [run] Error 2
 
--------------------------------------------------------------------------
4d1a52cb.dll existiert.
 
--------------------------------------------------------------------------
$ dir C:\DOKUME~1\Nagy\LOKALE~1\Temp\par-Nagy\cache-1174550034\4d1a52cb.dll
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: D0F9-0549
 
 Verzeichnis von C:\DOKUME~1\Nagy\LOKALE~1\Temp\par-Nagy\cache-1174550034
 
22.03.2007  08:55            65.642 4d1a52cb.dll
               1 Datei(en)         65.642 Bytes
               0 Verzeichnis(se), 18.112.118.784 Bytes frei
--------------------------------------------------------------------------
 
Ich habe schon einige versuche mit --modul und -I... hinter mit.
Habe schon so manches mit PP zu laufen gebracht aber da stehe ich völlig an.
 
Für jede Hilfe waehre ich dankbar
 
\^/ili

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/vienna-pm/attachments/20070322/fc8d5cc6/attachment.html 


More information about the Vienna-pm mailing list