Schrift
[thread]5413[/thread]

Problem bei Modulinstallation: via perl

Leser: 1


<< >> 10 Einträge, 1 Seite
pktm
 2004-04-20 23:14
#48729 #48729
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Hallo!
Würde gerne das Modul CGI::Compress::Gzip auf meiner Windows(XP) - Maschine installieren.
Für ppm gibts das nicht, also dachte ich mir, benutze ich CPAN.

Aber wenn ich den Befehl perl -MCPAN -e "install CGI::Compress::Gzip" ausführe kommt am Ende immer ein Fehler:
Quote
+ CPAN.pm: Going to build C/CL/CLOTHO/CGI-Compress-Gzip-0.17.tgz

Checking if your kit is complete...
Looks good
Writing Makefile for CGI::Compress::Gzip
-- OK
Running make test
Der Befehl "test" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
test -- NOT OK
Running make install
make test had returned bad status, won't install without force


Woran könnte das liegen?
Wie bekomme ich es weg?
mfg pktm
http://www.intergastro-service.de (mein erstes CMS :) )
[E|B]
 2004-04-20 23:41
#48730 #48730
User since
2003-08-08
2561 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Läuft das überhaupt auf Windows? Da bin ich mir nicht sicher, da ich es auch schon einmal versucht habe.
Unter Linux keine Probleme, aber Windows zickt da rum.
Gruß, Erik!

s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}

It's not a bug, it's a feature! - [CGI-World.de]
format_c
 2004-04-21 01:54
#48731 #48731
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Also da gibt es eine make Implemtentierung für windows. soll bwe buggy sein. Ich verwende unter Win immer ppm.
Modul runterladen, entpacken, ppm Modul-Name.ppd und ab dafür.
internetverbindung dafür ist erforderlich.

Gruß Alex
format_c
 2004-04-21 02:02
#48732 #48732
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
oh *werlesenlakann*.
um das zu machen brauchst du die Cygwin-Tools Da ist die make implementierung von MS (nmake) z.B. drauf und tar und gzip und so Scherze.

Gruß Alex
esskar
 2004-04-21 03:21
#48733 #48733
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
ich habe mit zuerst IO::ZLib und dann CGI::Compress::GZip runtergeladen und entpackt und dann...

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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
D:\Eigene Dateien\Downloads\IO-Zlib-1.01>Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for IO::Zlib

D:\Eigene Dateien\Downloads\IO-Zlib-1.01>nmake test

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cp Zlib.pm blib\lib\IO\Zlib.pm
F:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\basic.t t\getc.t t\getline.t t\larg
e.t t\tied.t
t\basic......ok
t\getc.......ok
t\getline....ok
t\large......ok
t\tied.......ok
All tests successful.
Files=5, Tests=61, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

D:\Eigene Dateien\Downloads\IO-Zlib-1.01>nmake install

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Installing F:\Perl\site\lib\IO\Zlib.pm
Writing F:\Perl\site\lib\auto\IO\Zlib\.packlist
Appending installation info to F:\Perl\lib/perllocal.pod

D:\Eigene Dateien\Downloads\IO-Zlib-1.01>cd..

D:\Eigene Dateien\Downloads>cd CGI-Compress-Gzip-0.17

D:\Eigene Dateien\Downloads\CGI-Compress-Gzip-0.17>Makefile.PL
Writing Makefile for CGI::Compress::Gzip

D:\Eigene Dateien\Downloads\CGI-Compress-Gzip-0.17>nmake test

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cp lib/CGI/Compress/Gzip.pm blib\lib\CGI/Compress/Gzip.pm
F:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\gzip.t
t\gzip....ok 3/14# Failed test (t\gzip.t at line 51)
t\gzip....NOK 4# got: '&▼ &♂&frac34;H&═&╔&╔&curren;/&╩IQ&♦ ú&∟)&∟&♀ '
# expected: '&▼ &♥&frac34;H&═&╔&╔&curren;/&╩IQ&♦ ú&∟)&∟&♀ '
t\gzip....ok 5/14# Failed test (t\gzip.t at line 66)
t\gzip....NOK 6# got: 'Content-Type: text/html; charset=ISO-8859-1
#
# 'HelloWorld!''
# expected: 'Content-Type: text/html; charset=ISO-8859-1
#
# Hello World!'
# Failed test (t\gzip.t at line 77)
t\gzip....NOK 8# got: 'Content-Type: text/html; charset=ISO-8859-1
#
' &♂S&cedil;H&═&╔&╔&☼&curren;/&╩IQT Èå&frac12;%
# expected: 'Content-Type: text/html; charset=ISO-8859-1
#
# &▼ &♥&frac34;H&═&╔&╔&curren;/&╩IQ&♦ ú&∟)&∟&♀ '
# Failed test (t\gzip.t at line 88)
# got: 'Content-Type: text/html; charset=UTF-8
#
' &♂S&cedil;H&═&╔&╔&☼&curren;/&╩IQT Èå&frac12;%
# expected: 'Content-Type: text/html; charset=UTF-8
t\gzip....NOK 10#
# &▼ &♥&frac34;H&═&╔&╔&curren;/&╩IQ&♦ ú&∟)&∟&♀ '
# Failed test (t\gzip.t at line 100)
# got: 'Status: 302 Moved
# Location: 'http://www.foo.com/'
#
# '
# expected: 'Status: 302 Moved
# Location: http://www.foo.com/
#
# '
t\gzip....ok 14/14# Looks like you failed 5 tests of 14.
t\gzip....dubious
Test returned status 5 (wstat 1280, 0x500)
DIED. FAILED tests 4, 6, 8, 10, 12
Failed 5/14 tests, 64.29% okay (less 2 skipped tests: 7 okay, 50.00%)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\gzip.t 5 1280 14 5 35.71% 4 6 8 10 12
2 subtests skipped.
Failed 1/1 test scripts, 0.00% okay. 5/14 subtests failed, 64.29% okay.
NMAKE : fatal error U1077: 'F:\Perl\bin\perl.exe' : return code '0x2'
Stop.

D:\Eigene Dateien\Downloads\CGI-Compress-Gzip-0.17>nmake

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.


D:\Eigene Dateien\Downloads\CGI-Compress-Gzip-0.17>nmake install

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Installing F:\Perl\site\lib\CGI\Compress\Gzip.pm
Writing F:\Perl\site\lib\auto\CGI\Compress\Gzip\.packlist
Appending installation info to F:\Perl\lib/perllocal.pod

D:\Eigene Dateien\Downloads\CGI-Compress-Gzip-0.17>


beim testen scheint es ein paar probleme zu geben...
kann aber auch einfach an der Win32 Ausgabe liegen...
format_c
 2004-04-21 14:16
#48734 #48734
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Habe gerade gesehen, dass nmake bzw. dmake doch nicht bei cygwin dabei ist.
Kannst du mir bitte Sagen wo ich das her bekomme?
also ich brauche nmake
m01169@pc803573 /cygdrive/c/Temp/IO-Zlib-1.01
$ perl -V:make
make='nmake';


Gruß alex
ptk
 2004-04-21 14:34
#48735 #48735
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
Ich bekomme ebenfalls Fehlermeldungen mit der CGI::Compress::Gzip-Testsuite auf einer Linux-Kiste mit perl 5.8.0 und LANG=en_US.UTF-8 (die ueblichen Unicode-Probleme mit perl 5.8.0). Ansonsten scheint CGI::Compress::Gzip noch ein paar Macken zu haben, jedenfalls laeuft die Testsuite meiner grossen Anwendung mit eingeschaltetem CGI::Compress::Gzip nicht fehlerlos durch. Mit Apache::Registry gab es auch Probleme, glaube ich mich zu erinnern.
ptk
 2004-04-21 14:36
#48736 #48736
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
format_c
 2004-04-21 15:07
#48737 #48737
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Strat
 2004-06-05 04:01
#48738 #48738
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
in der doku zu CPAN:CGI::Compress::Gzip steht dazu
Code: (dl )
This module fails tests specifically under Windows in ways I do not understand, as reported by CPANPLUS testers. There is some problem with my IO::Zlib tests. If anyone knows about IO::Zlib failures or caveats on Windows, please let me know. It *might* be related to binmode, but I have not tested this theory.
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/
<< >> 10 Einträge, 1 Seite



View all threads created 2004-04-20 23:14.