Subject: | Not recognized dependencies in Modules YAML and Maketext |
Date: | Mon, 19 Oct 2009 12:10:08 +0200 |
To: | bug-PAR-Packer [...] rt.cpan.org |
From: | Martin Gut <gut [...] transsolar.com> |
Message body not shown because it is not plain text.
Hello,
I have 2 problems with the pp tool on Windows xp.
First: I can't generate a par file if the Module YAML and Maketext are used
1. Problem: Dependencies are not recognised
I have a small test program, which shows this.
testparpacker.pl works
pp -p -o test.par testparpacker.pl
#no error message
parl test.par
# leads to an error:
The Modul Data::Dumper is not recognized.
If I try to include it with pp -p -M Data::Dumper -o test.par
testparpacker.pl
There will be no error, but the same error message after program start.
Can't locate Data/Dumper.pm in @INC (@INC contains: CODE(0x11490fc)
C:\DOKUME~1\mgut\LOKALE~1\Temp\par-mgut\cache-946ce7a4f68d72a75ac3d1ac3892bcbfb0f86d7d\inc\lib
C:\DOKUME~1\mgut\LOKALE~1\Temp\par-mgut\cache-946ce7a4f68d72a75ac3d1ac3892bcbfb0f86d7d\inc
CODE(0x1090ef4) . CODE(0x10910d4)) at YAML/Base.pm line 162.
Compilation failed in require at script/testparpacker.pl line 3.
BEGIN failed--compilation aborted at script/testparpacker.pl line 3.
Also if I copy the modul by hand in the Par File (test2.par) I get a
similar error:
Can't locate loadable object for module Data::Dumper in @INC (@INC
contains: CODE(0x114a184)
C:\DOKUME~1\mgut\LOKALE~1\Temp\par-mgut\cache-946ce7a4f68d72a75ac3d1ac3892bcbfb0f86d7d\inc\lib
C:\DOKUME~1\mgut\LOKALE~1\Temp\par-mgut\cache-946ce7a4f68d72a75ac3d1ac3892bcbfb0f86d7d\inc
CODE(0x1090ef4) . CODE(0x10910d4)) at
C:/bin/dev/perl/site/lib/PAR/Heavy.pm line 87
Compilation failed in require at YAML/Base.pm line 162.
Compilation failed in require at script/testparpacker.pl line 3.
BEGIN failed--compilation aborted at script/testparpacker.pl line 3.
Also the language-Files for the Module Maketext are not included in the
par-File
One problem seems to be, that scandeps.pl does not find the modules. (
The result of scandeps.pl is included in the zip-file -> scan.txt)
I tried it on WINDOWS XP
and Active Perl Version v5.10.0 and v5.10.1
2. Problem: Can't generate exe files with ActiveState Perl version
v5.10.1
with Version v5.10.1 pp crashes if I want to generate a exe-file.
This seems to be a general problem. I found the same error message when
I google the problem, but found no solution until now:
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Can't load 'C:/Programme/Perl/lib/auto/IO/IO.dll' for module IO:
load_file:Die angegebene Prozedur wurde nicht gefunden at
C:/Programme/Perl/lib/XSLoader.pm line 70.
at C:/Programme/Perl/lib/IO.pm line 11
Compilation failed in require at C:/Programme/Perl/lib/IO/Handle.pm line
266.
BEGIN failed--compilation aborted at C:/Programme/Perl/lib/IO/Handle.pm
line 266.
Compilation failed in require at C:/Programme/Perl/lib/IO/Seekable.pm
line 101.
BEGIN failed--compilation aborted at
C:/Programme/Perl/lib/IO/Seekable.pm line 101.
Compilation failed in require at C:/Programme/Perl/lib/IO/File.pm line 133.
BEGIN failed--compilation aborted at C:/Programme/Perl/lib/IO/File.pm
line 133.
Compilation failed in require at -e line 448.
C:\Programme\Perl\site\bin/pp: Failed to extract a parl from
'PAR::StrippedPARL::Static' to file 'parldHkYm2V.exe' at
C:/Programme/Perl/site/lib/PAR/Packer.pm line 1155, <DATA> line 1.
Maybe you can solve this, would be nice :-)
Thank You for Your work and best regards
Martin Gut
--
-----------------------------------------------------------------------------------------------------------------------------------
Transsolar: KlimaEngineering- Technologien für energieeffizientes Bauen und Nutzerkomfort in Gebäuden
Dipl.-Ing. Martin Gut
TRANSSOLAR Energietechnik GmbH
Büro München
Landwehrstr. 60/62
80336 München
Germany
Tel.: +49 (0)89 / 590688-45
Fax : +49 (0)89 / 590688-59
Mail: gut@transsolar.com
Video IP: 87.234.210.46
Web : www.transsolar.com
Transsolar Energietechnik GmbH, Curiestrasse 2, 70563 Stuttgart
Geschäftsführer : Diplom-Ingenieur Matthias Schuler, Diplom-Ingenieur Thomas Auer, Diplom-Physiker Stefan Holst
Eingetragen beim Amtsgericht Stuttgart HRB 23347
USt-IdNr.: 99073/00911
-----------------------------------------------------------------------------------------------------------------------------------