cpan - kann kein modul installieren

Alles, was Perl betrifft, kann hier besprochen werden.

cpan - kann kein modul installieren

Postby jmatthes » 22. March 2007 11:40

Hallo
wenn ich mittels cpan ein modul installierne moechte, bekomme ich folgende Fehlermeldung:

cpan > make install Net::SMTP

......
Issuing "/usr/bin/ftp -n"
Local directory now /root/.cpan/sources/modules
Can't change directory to pub: No such file or directory
Can't change directory to source: No such file or directory
Can't change directory to CPAN: No such file or directory
Can't change directory to modules: No such file or directory
Can't open 03modlist.data.gz: No such file or directory
Bad luck... Still failed!
Can't access URL ftp://ftp.uni-erlangen.de/pub/source/CP ... st.data.gz.

Please check, if the URLs I found in your configuration file
(ftp://ftp.uni-erlangen.de/pub/source/CPAN/) are valid. The urllist can be
edited. E.g. with 'o conf urllist push ftp://myurl/'

Could not fetch modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Warning: Cannot make install, don't know what it is.
Try the command

i /install/

to find objects with matching identifiers.
Warning: Cannot make Net::SMTP, don't know what it is.
Try the command

i /Net::SMTP/

to find objects with matching identifiers.

ich dachte es liege an den berechitgung fuer das Verzeichnis, aber das kanns iegentlich nciht sein, da isch es einfach mal auf 777 gesetzt

schon mal jemand den Fehler bekommen, auf nem anderen Rechner laeufts problemlos, dr connect zum ftp scheint er auch zu tun.

beste gruesse
jmatthes
jmatthes
 
Posts: 6
Joined: 22. March 2007 11:32

Postby Wiedmann » 22. March 2007 13:51

In der CPAN configuration von diesem Rechner ist eine falsche CPAN site (urllist) eingestellt,
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to Perl

Who is online

Users browsing this forum: No registered users and 14 guests