Thread Installation mit Makefile schlägt fehl (13 answers)
Opened by pktm at 2009-10-14 00:03

pktm
 2009-10-14 00:03
#126950 #126950
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Hallo!

Ich habe gerade versucht mein Release von CGI::Application::Plugin::HTCompiled zu installieren, aber die Installation bricht mit folgender Meldung ab: "Can't coerce array into hash".

Hier ist das ganze Geschehen:
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
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Dokumente und Einstellungen\root>cd C:\zwischen\CGI-Application-Plugin-HTComp
iled-1.03

path\CGI-Application-Plugin-HTCompiled-1.03>perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for CGI::Application::Plugin::HTCompiled

path\CGI-Application-Plugin-HTCompiled-1.03>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cp lib/CGI/Application/Plugin/HTCompiled.pm blib\lib\CGI\Application\Plugin\HTCo
mpiled.pm

path\CGI-Application-Plugin-HTCompiled-1.03>nmake test

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/*.t
t/00-load................ok
t/01-load_tmpl...........ok
t/02-extend_load_tmpl....ok
t/pod-coverage...........ok
t/pod....................ok
All tests successful.
Files=5, Tests=13, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

path\CGI-Application-Plugin-HTCompiled-1.03>nmake install

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

Can't coerce array into hash at C:/Perl/lib/ExtUtils/Install.pm line 556.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

path\CGI-Application-Plugin-HTCompiled-1.03>


Mit Module::Build geht es.
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
path\CGI-Application-Plugin-HTCompiled-1.03>perl Build.PL
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

Creating new 'Build' script for 'CGI-Application-Plugin-HTCompiled' version '1.0
3'

path\CGI-Application-Plugin-HTCompiled-1.03>./Build
Der Befehl "." ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

path\CGI-Application-Plugin-HTCompiled-1.03>Build
Manifying blib\lib/CGI/Application/Plugin/HTCompiled.pm -> blib\libdoc\CGI.Appli
cation.Plugin.HTCompiled.3
HTMLifying blib\lib\CGI\Application\Plugin\HTCompiled.pm -> blib\libhtml\site\li
b\CGI\Application\Plugin\HTCompiled.html

path\CGI-Application-Plugin-HTCompiled-1.03>Build test
t\00-load................ok
t\01-load_tmpl...........ok
t\02-extend_load_tmpl....ok
t\pod-coverage...........ok
t\pod....................ok
All tests successful.
Files=5, Tests=13, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

path\CGI-Application-Plugin-HTCompiled-1.03>Build install
Installing C:\Perl\site\lib\CGI\Application\Plugin\HTCompiled.pm
Installing C:\Perl\man\man3\CGI.Application.Plugin.HTCompiled.3
Installing C:\Perl\html\site\lib\CGI\Application\Plugin\HTCompiled.html
Writing C:\Perl\site\lib\auto\CGI\Application\Plugin\HTCompiled\.packlist

path\CGI-Application-Plugin-HTCompiled-1.03>Build dist


Ich habe nicht die geringste Idee, woran das liegen könnte. Kann da wer aushelfen?

Grüße, pktm
http://www.intergastro-service.de (mein erstes CMS :) )

View full thread Installation mit Makefile schlägt fehl