Thread Strawberry Perl 5.12 - Tests benutzen kurze DOS-Pfade (11 answers)
Opened by GwenDragon at 2011-11-04 11:18

GwenDragon
 2011-11-04 11:18
#153855 #153855
User since
2005-01-17
14555 Artikel
Admin1
[Homepage]
user image
Seltsamerweise benutzen mit cpan manche Tests beim Installieren der Module die kurzen DOS-Pfade (also wie C:\STRAWB~\perl\bin\perl.exe).
Da schlägt aber z. B. das Installieren von HTML::Mason fehl, weil angeblich der falsch Interpreter verwendet wird.
Irgendwie spinnt das Build-Skript des Moduls.
Einerseits ruft es mit dem langen Pfad den Interpreter auf, anderseite meckern die Tests.
Teilweise gekürzte Ausgabe:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Building HTML-Mason
Converting custom POD tags in files under blib
DROLSKY/HTML-Mason-1.47.tar.gz
C:\StrawberryPerl\perl\bin\perl.exe ./Build -- OK
Running Build test
Converting custom POD tags in files under blib
t/01-syntax.t ...................... ok
t/01a-comp-calls.t ................. ok
t/02-sections.t .................... ok
t/02a-filter.t ..................... ok
t/04-misc.t ........................ ok
t/05-request.t ..................... ok
t/05a-stack-corruption.t ........... ok
t/06-compiler.t .................... ok
t/06a-compiler_obj.t ............... ok
t/06b-compiler-named-subs.t ........ ok
t/06c-compiler-spaces-path.t ....... ok
t/07-interp.t ...................... ok
t/07a-interp-mcr.t ................. ok
(.....)
t/25-flush-in-content.t ............ ok
t/25-log.t ......................... ok
t/99-pod.t ......................... skipped: Test::Pod 1.20 not installed.
t/live/CGIHandler.t ................ * FATAL ERROR: Perl interpreter mismatch. C
onfiguration was initially
created with 'C:\StrawberryPerl\perl\bin\perl.exe'
but we are now using 'C:\STRAWB~1\perl\bin\perl.exe'. You must
run 'Build realclean' or 'make realclean' and re-configure.
INIT failed--call queue aborted.
t/live/CGIHandler.t ................ Dubious, test returned 255 (wstat 65280, 0x
ff00)
No subtests run
t/live/apache-filter.t ............. * FATAL ERROR: Perl interpreter mismatch. C
onfiguration was initially
created with 'C:\StrawberryPerl\perl\bin\perl.exe'
but we are now using 'C:\STRAWB~1\perl\bin\perl.exe'. You must
run 'Build realclean' or 'make realclean' and re-configure.
INIT failed--call queue aborted.
t/live/apache-filter.t ............. Dubious, test returned 255 (wstat 65280, 0x
ff00)
No subtests run
t/live/cgi-no-handler.t ............ * FATAL ERROR: Perl interpreter mismatch. C
onfiguration was initially
created with 'C:\StrawberryPerl\perl\bin\perl.exe'
but we are now using 'C:\STRAWB~1\perl\bin\perl.exe'. You must
run 'Build realclean' or 'make realclean' and re-configure.
INIT failed--call queue aborted.
t/live/cgi-no-handler.t ............ Dubious, test returned 255 (wstat 65280, 0x
ff00)


Erst wenn ich Straberry Perl 5.12 nach C:\SBPerl anstatt nach C:\StraberryPerl kopiere, sind die Pfade so kurz, dass es passt.
Seltsam, denn das Laufwerk ist NTFS, nicht FAT.

Kann das jemand nachvollziehen?
Ist das ein Bug? Wenn ja, soll ich den dann melden?
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread Strawberry Perl 5.12 - Tests benutzen kurze DOS-Pfade