Thread Mal wieder was zum Thema :-) - CPAN Modulinstallation schlägt fehl (1 answers)
Opened by Brenner at 2009-03-03 09:25

Gast Brenner
 2009-03-03 09:25
#61 #61
Ich wollte unter XP32 das Modul "Sys-Syslog" installieren welchen noch die Module:
-Win32API-Registry
-Win32-TieRegistry

benötigt. Ich habe eine direkte Verbindung zum Internet hergestellt und versucht die Module per CPAN in der Konsole zu installieren. Zum EInsatz kommt ein Perl 5.8.3 (kein ActivePerl o.ä.)


Fehlerausgabe zum Schluss ist folgende:

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

cp Syslog.pm blib\lib\Sys/Syslog.pm
cp win32/Win32.pm blib\lib\Sys/Syslog/Win32.pm
cp win32/PerlLog.dll blib\arch\auto\Sys\Syslog/PerlLog.dll
C:\Opt\perl\5.8.5\bin\perl.exe C:\Opt\perl\5.8.5\lib\ExtUtils\xsubpp -no
prototypes -typemap C:\opt\perl\5.8.5\lib\ExtUtils\typemap Syslog.xs > Syslog.x
sc && C:\Opt\perl\5.8.5\bin\perl.exe -MExtUtils::Command -e mv Syslog.xsc Syslog
.c
cl -c -Ifallback -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.27\" -DXS_VER
SION=\"0.27\" "-IC:\opt\perl\5.8.5\lib\CORE" -DUSE_PPPORT_H Syslog.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

Syslog.c
Syslog.xs(2) : fatal error C1083: Cannot open include file: 'windows.h': No such
file or directory
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
Stop.
SAPER/Sys-Syslog-0.27.tar.gz
nmake -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
BLM/Win32API-Registry-0.30.tar.gz : make NO
ADAMK/Win32-TieRegistry-0.25.zip : make_test NO
SAPER/Sys-Syslog-0.27.tar.gz : make NO

cpan[2]>

View full thread Mal wieder was zum Thema :-) - CPAN Modulinstallation schlägt fehl