Thread ModulProbleme unter ActivePerl (3 answers)
Opened by Perlator at 2007-04-20 13:47

Perlator
 2007-04-20 13:47
#48264 #48264
User since
2007-01-23
5 Artikel
BenutzerIn
[default_avatar]
Hallo,

ich würde mir gern eine Perl-Applikation installieren bei der ich unter anderem mehrere Module benötige. Nach und nach habe ich es geschafft ca. 90% aller benötigten Sachen zu installieren.

Ich nutze das neueste ActivePerl auf WinXP!

Ich benötige noch Algorithm::SVM habe aber diese Fehlermeldung:

Can't locate auto/Algorithm/SVM/autosplit.ix in
@INC (@INC contains: p:/Perl/site/lib p:/Perl/lib .)
at p:/Perl/lib/AutoLoader.pm line 160.
at p:/Perl/lib/Algorithm/SVM.pm line 9

Wenn ich es direkt installieren will mit:

perl -MCPAN -e "install Algorithm::SVM"

erhalte ich erst mal eine Info dass CPAN nicht aktuell ist und ich es mit:

perl -MCPAN -e "install Bundle::CPAN" aktualisieren soll.

Habe ich gemacht bekomme aber zwischendurch diese Meldung:

CPAN.pm: Going to build A/AD/ADAMK/File-HomeDir-0.64.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite ExtUtils::Install 1.39 not found. We have 1.33.
Warning: prerequisite Win32API::Registry 0.27 not found. We have 0.24.
Writing Makefile for File::HomeDir
---- Unsatisfied dependencies detected during [A/AD/ADAMK/File-HomeDir-0.64.tar.
gz] -----
Win32API::Registry
ExtUtils::Install
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]

Nächste Meldung:

CPAN.pm: Going to build P/PM/PMQS/Compress-Zlib-2.004.tar.gz

Up/Downgrade not needed.
Checking if your kit is complete...
Looks good
Warning: prerequisite Compress::Raw::Zlib 2.004 not found.
Warning: prerequisite IO::Compress::Base 2.004 not found.
Warning: prerequisite IO::Compress::Base::Common 2.004 not found.
Warning: prerequisite IO::Compress::Gzip 2.004 not found.
Warning: prerequisite IO::Compress::Gzip::Constants 2.004 not found.
Warning: prerequisite IO::Uncompress::Base 2.004 not found.
Warning: prerequisite IO::Uncompress::Gunzip 2.004 not found.
Writing Makefile for Compress::Zlib
---- Unsatisfied dependencies detected during [P/PM/PMQS/Compress-Zlib-2.004.tar
.gz] -----
IO::Uncompress::Gunzip
IO::Compress::Gzip
Compress::Raw::Zlib
IO::Uncompress::Base
IO::Compress::Gzip::Constants
IO::Compress::Base
IO::Compress::Base::Common
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]

Dann diese:

CPAN.pm: Going to build A/AD/ADAMK/Archive-Zip-1.18.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite File::Which 0.05 not found.
Writing Makefile for Archive::Zip
---- Unsatisfied dependencies detected during [A/AD/ADAMK/Archive-Zip-1.18.tar.g
z] -----
File::Which
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]

und diese:

CPAN.pm: Going to build G/GB/GBARR/libnet-1.20.tar.gz

Checking for Socket...ok
Checking for IO::Socket...ok
Checking if your kit is complete...
Looks good

Ah, I see you already have installed libnet before.

Do you want to modify/update your configuration (y|n) ? [no]

Dann noch diese:

CPAN.pm: Going to build I/IN/INGY/YAML-0.62.tar.gz


*** WARNING ***

This release breaks compatibility with versions earlier than version 0.60 of
YAML::Syck and YAML.pm when serializing blessed references.

See the COMPATIBILITY file for more information.

Continue installing YAML.pm? [y]

CPAN.pm: Going to build P/PM/PMQS/IO-Compress-Zlib-2.004.tar.gz

Up/Downgrade not needed.
Checking if your kit is complete...
Looks good
Warning: prerequisite Compress::Raw::Zlib 2.004 not found.
Warning: prerequisite IO::Compress::Base 2.004 not found.
Warning: prerequisite IO::Uncompress::Base 2.004 not found.
Writing Makefile for IO::Compress::Zlib
---- Unsatisfied dependencies detected during [P/PM/PMQS/IO-Compress-Zlib-2.004.
tar.gz] -----
IO::Uncompress::Base
IO::Compress::Base
Compress::Raw::Zlib
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]

Habe jeweils den vorgeschlagenen Wert mit Enter bestätigt und danach versucht alle benötigten Module mit ppm nachzuinstallieren!

Leider gibt es kein Win32API::Registry!
Wenn ich es mit CPAN versuche bekomme ich folgenden Fehler:

cp cRegistry.pc blib\arch\Win32API\Registry\cRegistry.pc
cp Registry.pm blib\lib\Win32API\Registry.pm
P:\Perl\bin\perl.exe P:\Perl\lib\ExtUtils\xsubpp -typemap P:\Perl\lib\E
xtUtils\typemap -typemap typemap Registry.xs > Registry.xsc && P:\Perl\bin\perl
.exe -MExtUtils::Command -e mv Registry.xsc Registry.c
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEX
T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" "-IP:\Perl\lib\CORE" Registry.c
Der Befehl "cl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
nmake test -- NOT OK
Running make install
make test had returned bad status, won't install without force

Bevor ich jetzt weitermache warte ich erstmal auf Antworten!

Ich denke mal so wie ich verfahren die meisten Anfänger und deswegen hätte ich gern einmal grundsätzlich erfahren wo meine Fehler liegen und ob es hier ein ActivePerl Problem gibt.

Danke!

Perlator

View full thread ModulProbleme unter ActivePerl