CPAN update / modul installation "Unknown error"

Bash, Shell, PHP, Python, Perl, CGI
marcusx
Posts: 11
Joined: 2008-11-16 14:12

CPAN update / modul installation "Unknown error"

Post by marcusx »

Hi!

Ich habe einen völlig jungfräulichen 1und1 root Server auf dem ich ein paar Perl Module installieren will. Das würde ich gerne automatisch mit CPAN machen, ich bekomme aber die völlig nutzlose Fehlermeldung "Could not make: Unknown error".

Konfiguration:
openSUSE 11 mit Plesk 9 (64 Bit)

Was habe ich gemacht:

CPAN Shell starten, funktioniert

Code: Select all

perl -MCPAN -e shell
Versuche CPAN Upzudaten:

Code: Select all

cpan> install Bundle::CPAN
Er hat zwar alles mögliche runtergeladen, aber scheitert dann am make. Ich bekomme nur die Fehlermeldung "Unkown error" - wo kann ich nachschauen was da falsch läuft, gibt da irgendwo eine Aussagekräftige Logdatei?

Hier mal die ganze Ausgabe:

Code: Select all

cpan[4]> install Bundle::CPAN
Test::Harness is up to date (3.17).
Running install for module 'ExtUtils::CBuilder'
Running make for D/DA/DAGOLDEN/ExtUtils-CBuilder-0.27.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/ExtUtils-CBuilder-0.27-LprMuP
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'ExtUtils::MakeMaker'
Running make for M/MS/MSCHWERN/ExtUtils-MakeMaker-6.54.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/ExtUtils-MakeMaker-6.54-M3psL7
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Module::Build is up to date (0.35).
Running install for module 'File::Spec'
Running make for S/SM/SMUELLER/PathTools-3.31.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/PathTools-3.31-iqQqOx
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'File::Temp'
Running make for T/TJ/TJENNESS/File-Temp-0.22.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/File-Temp-0.22-qEsCkS
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Scalar::Util'
Running make for G/GB/GBARR/Scalar-List-Utils-1.22.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Scalar-List-Utils-1.22-Xk7Xwr
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Test::More'
Running make for M/MS/MSCHWERN/Test-Simple-0.94.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Test-Simple-0.94-VNvq6x
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Data::Dumper'
Running make for S/SM/SMUELLER/Data-Dumper-2.125.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Data-Dumper-2.125-JNmIxw
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.47.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Digest-SHA-5.47-Mbq1pN
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'File::HomeDir'
Running make for A/AD/ADAMK/File-HomeDir-0.88.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/File-HomeDir-0.88-VvcIvV
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Compress::Raw::Bzip2'
Running make for P/PM/PMQS/Compress-Raw-Bzip2-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Compress-Raw-Bzip2-2.023-Kzdnf6
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Compress::Raw::Zlib'
Running make for P/PM/PMQS/Compress-Raw-Zlib-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Compress-Raw-Zlib-2.023-9V4GsE
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'IO::Compress::Base'
Running make for P/PM/PMQS/IO-Compress-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Compress-2.023-vU0Za2
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'IO::Uncompress::Gunzip'
Running make for P/PM/PMQS/IO-Compress-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Compress-2.023-vU0Za2
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Compress::Zlib'
Running make for P/PM/PMQS/IO-Compress-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Compress-2.023-vU0Za2
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'IO::Zlib'
Running make for T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Zlib-1.10-PlWaGx
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Archive::Tar'
Running make for B/BI/BINGOS/Archive-Tar-1.54.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Archive-Tar-1.54-Bc0EsB
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Archive::Zip'
Running make for A/AD/ADAMK/Archive-Zip-1.30.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Archive-Zip-1.30-VPUoqu
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Net::Cmd is up to date (2.29).
Net::FTP is up to date (2.77).
Term::ReadKey is up to date (2.30).
Running install for module 'Term::ReadLine::Perl'
Running make for I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Term-ReadLine-Perl-1.0303-5hjuWa
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'YAML'
Running make for A/AD/ADAMK/YAML-0.70.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/YAML-0.70-eF3igi
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Parse::CPAN::Meta'
Running make for S/SM/SMUELLER/Parse-CPAN-Meta-1.40.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Parse-CPAN-Meta-1.40-VkYmsq
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Text::Glob is up to date (0.08).
Running install for module 'CPAN'
Running make for A/AN/ANDK/CPAN-1.9402.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/CPAN-1.9402-5E7KC5
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'File::Which'
Running make for A/AD/ADAMK/File-Which-1.09.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/File-Which-1.09-hsqbzt
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

cpan[5]>
Kann mir jemand weiterhelfen? Am 64bit Linux kanns ned liegen, oder?

Danke und viele Grüße
Marcus

Provider raus genommen. "Schleichwerbung" brauchts ned.
Last edited by Anonymous on 2009-12-10 19:14, edited 1 time in total.
marcusx
Posts: 11
Joined: 2008-11-16 14:12

Re: CPAN update / modul installation "Unknown error"

Post by marcusx »

Hi!

Ja super, des ist schon mal n Ansatz, make war schonmal nicht installiert. Und Compiler ist auch keiner da, was brauchtn des Ding für einen. Nur den gcc? (Sorry für die blöde frage - aber ich bin nicht so der selberkompilierer)

Vg, mx
marcusx
Posts: 11
Joined: 2008-11-16 14:12

Re: CPAN update / modul installation "Unknown error"

Post by marcusx »

Hat fast funktioniert!

Also die Installation des DateTime Pakets, weswegen ich überhaupt mit dem CPAN installieren angefangen habe, ist jetzt erfreulicherweise durchgelaufen. Damit habe ich schonmal das was ich dringend brauchte.

Code: Select all

cpan[4]> install Bundle::CPAN
Bringt aber immer noch den alten Fehler. In dem HowTo das ich hier habe wird empfohlen als ersten Schritt das zu machen um CPAN upzudaten. Kann ich das ignorieren nachdem die Installation die ich ja ursprünglich wollte jetzt so schön durchgelaufen ist?

Code: Select all

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)

cpan[1]> install Bundle::CPAN
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 10 Dec 2009 15:53:29 GMT
CPAN: YAML loaded ok (v0.65)
Going to read /root/.cpan/build/
............................................................................DONE
Found 30 old builds, restored the state of 30
Test::Harness is up to date (3.17).
Running install for module 'ExtUtils::CBuilder'
Running make for D/DA/DAGOLDEN/ExtUtils-CBuilder-0.27.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/ExtUtils-CBuilder-0.27-LprMuP
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'ExtUtils::MakeMaker'
Running make for M/MS/MSCHWERN/ExtUtils-MakeMaker-6.54.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/ExtUtils-MakeMaker-6.54-M3psL7
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Module::Build is up to date (0.35).
Running install for module 'File::Spec'
Running make for S/SM/SMUELLER/PathTools-3.31.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/PathTools-3.31-iqQqOx
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'File::Temp'
Running make for T/TJ/TJENNESS/File-Temp-0.22.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/File-Temp-0.22-qEsCkS
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Scalar::Util'
Running make for G/GB/GBARR/Scalar-List-Utils-1.22.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Scalar-List-Utils-1.22-Xk7Xwr
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Test::More'
Running make for M/MS/MSCHWERN/Test-Simple-0.94.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Test-Simple-0.94-VNvq6x
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Data::Dumper'
Running make for S/SM/SMUELLER/Data-Dumper-2.125.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Data-Dumper-2.125-JNmIxw
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.47.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Digest-SHA-5.47-Mbq1pN
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'File::HomeDir'
Running make for A/AD/ADAMK/File-HomeDir-0.88.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/File-HomeDir-0.88-VvcIvV
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Compress::Raw::Bzip2'
Running make for P/PM/PMQS/Compress-Raw-Bzip2-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Compress-Raw-Bzip2-2.023-Kzdnf6
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Compress::Raw::Zlib'
Running make for P/PM/PMQS/Compress-Raw-Zlib-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Compress-Raw-Zlib-2.023-9V4GsE
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'IO::Compress::Base'
Running make for P/PM/PMQS/IO-Compress-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Compress-2.023-vU0Za2
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'IO::Uncompress::Gunzip'
Running make for P/PM/PMQS/IO-Compress-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Compress-2.023-vU0Za2
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Compress::Zlib'
Running make for P/PM/PMQS/IO-Compress-2.023.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Compress-2.023-vU0Za2
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'IO::Zlib'
Running make for T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IO-Zlib-1.10-PlWaGx
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Archive::Tar'
Running make for B/BI/BINGOS/Archive-Tar-1.54.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Archive-Tar-1.54-Bc0EsB
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Archive::Zip'
Running make for A/AD/ADAMK/Archive-Zip-1.30.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Archive-Zip-1.30-VPUoqu
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Net::Cmd is up to date (2.29).
Net::FTP is up to date (2.77).
Term::ReadKey is up to date (2.30).
Running install for module 'Term::ReadLine::Perl'
Running make for I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Term-ReadLine-Perl-1.0303-5hjuWa
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'YAML'
Running make for A/AD/ADAMK/YAML-0.70.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/YAML-0.70-eF3igi
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Parse::CPAN::Meta'
Running make for S/SM/SMUELLER/Parse-CPAN-Meta-1.40.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Parse-CPAN-Meta-1.40-VkYmsq
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Text::Glob is up to date (0.08).
Running install for module 'CPAN'
Running make for A/AN/ANDK/CPAN-1.9402.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/CPAN-1.9402-5E7KC5
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'File::Which'
Running make for A/AD/ADAMK/File-Which-1.09.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/File-Which-1.09-hsqbzt
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

cpan[2]>

Noch ein Wort zum XXX Platin Support - ich finds unglaublich das die mir das nicht sagen konnten und irgendwas von sehr schwierigem Problem gefaselt haben. Da bin ich doch nicht der erste der damit ankommt. Ich hab hier 3 verschiedene lokale Linux Installationen und überall ist make und gcc standardmäßig installiert. Des muss denen doch sofort klar sein das des bei Ihrem Paket in der Grundinstallation nicht der Fall ist!!!

Danke erstmal! Werde mich morgen nochmal dem Bundle::CPAN Problem widmen - mal sehen was ich manuell hinbekomme.

vg, mx


Gibt mind. genau so viele andere Schwarze Schaafe an Provider. Daher muss auch hier keine Namensnennung sein.
Last edited by Anonymous on 2009-12-10 19:16, edited 1 time in total.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11174
Joined: 2003-02-27 01:00
Location: Hamburg

Re: CPAN update / modul installation "Unknown error"

Post by Joe User »

Warum nimmst Du denn nicht die Distributions-Pakete?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
marcusx
Posts: 11
Joined: 2008-11-16 14:12

Re: CPAN update / modul installation "Unknown error"

Post by marcusx »

Danke für die genaue Anleitung, das test ich morgen gleich mal.

Und zum Thema Provider - ich weis was in den AGB steht. Und habe aber ein spezielles Supportpaket für genau solche Fragen das ich extra bezahle. Mit persönlichem Ansprechpartner etc. und da hab ich die Antwort bekommen, "Wir sind hier auch nur Teilzeitadmins das können wir nicht beantworten" - also son Support ist doch Käse. Ich erwarte ja nicht das er meine Scripte nach Fehlern durchsucht. Und ob Sicherheitslücke oder nicht - ich finde das muss mir son Support schon auch sagen können wenn ich hier im Forum in 2 sec nen Tipp in die richtige Richtung bekomme kann das nicht so ungewöhnlich sein.

vg, mx
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53

Re: CPAN update / modul installation "Unknown error"

Post by Roger Wilco »

Leider nur off-topic und nichts zum eigentlichen Problem:

Ich sehe das mit dem Support anders. Du bezahlst dein spezielles Supportpaket dafür, dass du Fragen zu Leistungen des Providers schnell beantwortet werden. Etwa wenn ein Teil der Infrastruktur ausfällt oder beeinträchtigt ist, wenn du deren Dienste (DNS, E-Mail...) nutzt und Fragen dazu hast oder wenn du ein Hardwareproblem mit deinem System hast. Aber nicht dafür, dir bei der Administration deines Systems zu helfen. Dafür gibt es Managed-Server.
marcusx
Posts: 11
Joined: 2008-11-16 14:12

Re: CPAN update / modul installation "Unknown error"

Post by marcusx »

Also zum letzen mal OT - dann bin ich still und wir sollten die Diskussion beenden. Ich habe beim Abschluss dieses Supportpakets den zuständigen 1und1 Mitarbeiter gefragt wie weit denn der Support geht. Und Folgende aussage bekommen:

"Sie können uns alles Fragen was mit Ihrem Vertrag oder Ihrem Server zu tun hat, dies betrifft auch fragen zur Konfiguration etc. Es gibt lediglich keinen Support für selbstgeschriebenen Code der nicht läuft etc."

Vor 2 Tagen hatte ich auch noch einen Mitarbeiter am Telefon der sagte mir. "Schaun sie nicht im Internet nach, da gibts soviele verschiedene Konfigurationen von unseren Servern da erwischen sie eh nicht die richtige, wir machen das schon für Sie - ich gebe das Problem an den 2nd Level Support von der Technik weiter. Und als ich dann wieder angerufen habe waren alle überfordert.

So jetzt aber schluss - ich wünsche allen ein schönes 3. Advents WE!!!!
User avatar
Joe User
Project Manager
Project Manager
Posts: 11174
Joined: 2003-02-27 01:00
Location: Hamburg

Re: CPAN update / modul installation "Unknown error"

Post by Joe User »

Joe User wrote:Warum nimmst Du denn nicht die Distributions-Pakete?
Kannst Du die Frage bitte noch beantworten?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.