[Vienna-pm] PAR: Seltsames Verhalten

nagy wilhelm.nagy at bfw.gv.at
Thu Mar 22 04:11:19 PDT 2007


Hmm, danke für den hinweis,
Leider kein erfolg.

Ich habe sowohl -l c:\perl\site\lib\PDF (das hat mein exe auf 10MB)
Als auch -l -l c:\perl\site\lib (dann waren es 16mB) aufgeblasen.

Ich glaube auch nicht, dass eine Lib fehlt, was mich beunruhigt ist der teil der Meldung:

 D:/cpanrun/build/5-8-0/lib/DynaLoader.pm line 229.
 ^^^^--- ist sicher nicht auf meinem rechner!

Ich habe schon den ganzen verzeichnisraum (alle pl und pm datein) nach diesem string durchsicht kann ihn aber nicht finden.

Seltsam ist, dass das ding interpretiert klaglos funktioniert.

Lg
\^/ili




>>-----Ursprüngliche Nachricht-----
>>Von: ReneeB [mailto:mailinglisten at renee-baecker.de] 
>>Gesendet: Donnerstag, 22. März 2007 11:49
>>An: nagy
>>Cc: vienna-pm at pm.org
>>Betreff: Re: [Vienna-pm] PAR: Seltsames Verhalten
>>
>>
>>Hallo,
>>
>>das Problem könnte daran liegen, dass Storable einen 
>>XS-Anteil hat. Und 
>>vielleicht wird die
>>Library vom Dependency-Scanner nicht entdeckt.
>>
>>Probier mal die Option '-l' aus.
>>
>>Gruß,
>>Renée
>>
>>
>>nagy schrieb:
>>> 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
>>>
>>>
>>>   
>>> 
>>----------------------------------------------------------------------
>>> --
>>>
>>> _______________________________________________
>>> Vienna-pm mailing list
>>> Vienna-pm at pm.org http://mail.pm.org/mailman/listinfo/vienna-pm
>>
>>
>>-- 
>>my Perl-Blog: http://reneeb-perlblog.blogspot.com
>>
>>


More information about the Vienna-pm mailing list