
Hallo! Bei einem perl -MCPAN -e"install Net::FTP" wird ja erstmal einiges konfiguriert. Bei folgendem Eintrag bleibe ich hängen: Select your continent (or several nearby continents) [] europa invalid items entered, try again Egal was ich eingebe, ich komme nicht weiter. Was wird erwartet? Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage

Hi Andreas, Am Samstag, 22. Dezember 2001 21:20 schrieb Andreas Meyer:
Bei folgendem Eintrag bleibe ich hängen:
Select your continent (or several nearby continents) [] europa invalid items entered, try again
Was wird erwartet?
Keine Ahnung, aber schon mit »Europe« oder »europe«? Helga -- ~~~~~~~~~~~~~~~ Wer macht mit? ~~~~~~~~~~~~~~~ Das deutsche Dokumentationsprojekt von OpenOffice.org sucht Mitstreiter. Mailingliste und weitere Informationen unter: http://lang.openoffice.org/de/contact-forums.html

Hallo! Am Sat, 22 Dec 2001 22:44:59 +0100 schrieb Helga Fischer:
Bei folgendem Eintrag bleibe ich hängen:
Select your continent (or several nearby continents) [] europa invalid items entered, try again
Was wird erwartet?
Keine Ahnung, aber schon mit »Europe« oder »europe«?
Ja, leider ohne Erfolg. Auch Asia und Africa, soll ja auch in der Nähe liegen ;) Ich weis gar nicht, ob ich lachen oder weinen soll bei einer Aufforderung: Select your continent (or several nearby continents) [] und dann geht nichts. Diese perl ist eh ein Buch mit sieben Siegeln für mich. Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage

Hi, Am Samstag, 22. Dezember 2001 23:09 schrieb Andreas Meyer:
Am Sat, 22 Dec 2001 22:44:59 +0100 schrieb Helga Fischer:
Keine Ahnung, aber schon mit »Europe« oder »europe«?
Ja, leider ohne Erfolg. Auch Asia und Africa, soll ja auch in der Nähe liegen ;)
Ich weis gar nicht, ob ich lachen oder weinen soll bei einer Aufforderung: Select your continent (or several nearby continents) [] und dann geht nichts.
Dumm, mir fällt leider nichts zu ein - ich benutze Perl bisher nur in einer Standardinstallation. Bestimmt hat jemand auf der Liste die Antwort, sonst: Wie wär's mit einer auf Perl spezialisierten Mailingliste? Zu finden unter http://www.egroups.de/group/perl-anfaenger; mit einem perl-anfaenger-subscribe@yahoogroups.de kannst Du Dich einschreiben. Wenig Traffic, aber dafür sehr qualifizierte Antworten.
Diese perl ist eh ein Buch mit sieben Siegeln für mich.
Mach' Dir nichts draus, das gibt sich mit der Zeit. Helga -- ~~~~~~~~~~~~~~~ Wer macht mit? ~~~~~~~~~~~~~~~ Das deutsche Dokumentationsprojekt von OpenOffice.org sucht Mitstreiter. Mailingliste und weitere Informationen unter: http://lang.openoffice.org/de/contact-forums.html

Hallo Helga! Am Sun, 23 Dec 2001 00:13:27 +0100 schrieb Helga Fischer:
Select your continent (or several nearby continents) [] und dann geht nichts.
Dumm, mir fällt leider nichts zu ein - ich benutze Perl bisher nur in einer Standardinstallation.
Bestimmt hat jemand auf der Liste die Antwort, sonst: Wie wär's mit einer auf Perl spezialisierten Mailingliste?
Zu finden unter http://www.egroups.de/group/perl-anfaenger; mit einem perl-anfaenger-subscribe@yahoogroups.de kannst Du Dich einschreiben. Wenig Traffic, aber dafür sehr qualifizierte Antworten.
Danke! Ich kuck mich mal um. Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage

On Sat, 22 Dec 2001, Andreas Meyer wrote:
Am Sat, 22 Dec 2001 22:44:59 +0100 schrieb Helga Fischer: [perl -MCPAN -e"install <PAKET>"]
Bei folgendem Eintrag bleibe ich hängen:
Select your continent (or several nearby continents) [] europa invalid items entered, try again
Starte zuerst mal (als root): perl -MCPAN -eshell und gib dann bei: cpan> o conf init ein. Nachdem du einige Frage beantwortet hast (meist geht der default), ist dann das CPAN Modul konfiguriert, und geht dann in Zukunft das installieren direkt. Unter anderem kommt so auch folgendes: ==== Now we need to know where your favorite CPAN sites are located. Push a few sites onto the array (just in case the first on the array won't work). If you are mirroring CPAN to your local workstation, specify a file: URL. First, pick a nearby continent and country (you can pick several of each, separated by spaces, or none if you just want to keep your existing selections). Then, you will be presented with a list of URLs of CPAN mirrors in the countries you selected, along with previously selected URLs. Select some of those URLs, or just keep the old list. Finally, you will be prompted for any extra URLs -- file:, ftp:, or http: -- that host a CPAN mirror. (1) Africa (2) Asia (3) Central America (4) Europe (5) North America (6) Oceania (7) South America Select your continent (or several nearby continents) [] ==== Jetzt sollte klar sein, was du eingeben musst... Ach ja, wenn du ne direkt ne URL fuer CPAN angeben willst, nimm z.B.: ftp://ftp.gwdg.de/pub/languages/perl/CPAN/ ftp://ftp.gmd.de/mirrors/CPAN/ ftp://ftp.gigabell.net/pub/CPAN/ Der Rest sollte dann auch klappen ;) Achso, 'man CPAN' (bzw. 'perldoc CPAN') duerfte einen Blick wert sein.
Diese perl ist eh ein Buch mit sieben Siegeln für mich.
Tja... ;) -dnh -- Der Nietzsche kennt den Woko nicht, Bei dessen Siggs einem Erbricht. [WoKo in dag°]

Hallo David! Am Sun, 23 Dec 2001 00:39:10 +0100 schrieb David Haller:
Select your continent (or several nearby continents) [] europa invalid items entered, try again
Starte zuerst mal (als root):
perl -MCPAN -eshell
und gib dann bei:
cpan> o conf init
ein. Nachdem du einige Frage beantwortet hast (meist geht der default), ist dann das CPAN Modul konfiguriert, und geht dann in Zukunft das installieren direkt.
Unter anderem kommt so auch folgendes: ====
perl -MCPAN -eshell cpan> o conf init Ich poste mal die letzten Zeilen: Where is your gzip program? [/bin/gzip] Where is your tar program? [/bin/tar] Where is your unzip program? [/usr/bin/unzip] Where is your make program? [/usr/bin/make] Where is your lynx program? [/usr/bin/lynx] Warning: ncftpget not found in PATH # wo ich das herkriege? Where is your ncftpget program? [] /usr/bin Where is your ftp program? [/usr/bin/ftp] What is your favorite pager program? [less] What is your favorite shell? [/bin/bash] Every Makefile.PL is run by perl in a separate process. Likewise we run 'make' and 'make install' in processes. If you have any parameters (e.g. PREFIX, INSTALLPRIVLIB, UNINST or the like) you want to pass to the calls, please specify them here. If you don't understand this question, just press ENTER. Parameters for the 'perl Makefile.PL' command? [] Parameters for the 'make' command? [] Parameters for the 'make install' command? [] Sometimes you may wish to leave the processes run by CPAN alone without caring about them. As sometimes the Makefile.PL contains question you're expected to answer, you can set a timer that will kill a 'perl Makefile.PL' process after the specified time in seconds. If you set this value to 0, these processes will wait forever. This is the default and recommended setting. Timeout for inactivity during Makefile.PL? [0] If you're accessing the net via proxies, you can specify them in the CPAN configuration or via environment variables. The variable in the $CPAN::Config takes precedence. Your ftp_proxy? [http://shiva:3128] 0 Your http_proxy? [http://shiva:3128] 0 Your no_proxy? [localhost, *.meyer.home] You have no /usr/CPAN/sources/MIRRORED.BY I'm trying to fetch one CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY Net::FTP: Bad hostname 'ftp.perl.org' at /usr/lib/perl5/5.00503/CPAN.pm line 1769 Fetching with Net::FTP ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz Net::FTP: Bad hostname 'ftp.perl.org' at /usr/lib/perl5/5.00503/CPAN.pm line 1769 Trying with "/usr/bin/lynx -source" to get ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY Now we need to know where your favorite CPAN sites are located. Push a few sites onto the array (just in case the first on the array won't work). If you are mirroring CPAN to your local workstation, specify a file: URL. First, pick a nearby continent and country (you can pick several of each, separated by spaces, or none if you just want to keep your existing selections). Then, you will be presented with a list of URLs of CPAN mirrors in the countries you selected, along with previously selected URLs. Select some of those URLs, or just keep the old list. Finally, you will be prompted for any extra URLs -- file:, ftp:, or http: -- that host a CPAN mirror. Select your continent (or several nearby continents) [] Europe invalid items entered, try again Select your continent (or several nearby continents) [] 4 Use of uninitialized value at /usr/lib/perl5/5.00503/CPAN/FirstTime.pm line 400, <STDIN> chunk 24. invalid items entered, try again Select your continent (or several nearby continents) [] Ich habe das offline versucht. Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage

Hallo! Am Sun, 23 Dec 2001 00:39:10 +0100 schrieb David Haller:
On Sat, 22 Dec 2001, Andreas Meyer wrote:
perl -MCPAN -eshell
und gib dann bei:
cpan> o conf init
ein. Nachdem du einige Frage beantwortet hast (meist geht der default), ist dann das CPAN Modul konfiguriert, und geht dann in Zukunft das installieren direkt.
Ich sehe gerade in /usr/CPAN/sources ein neues file namens MIRRORED.BY: <HTML><HEAD> <TITLE>ERROR: The requested URL could not be retrieved</TITLE> </HEAD><BODY> <H2>The requested URL could not be retrieved</H2> <HR> <P> While trying to retrieve the URL: <A HREF="ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY">ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY</A> <P> The following error was encountered: <BLOCKQUOTE> Unable to determine IP address from host name for <I>ftp.perl.org</I> </BLOCKQUOTE> <P> The dnsserver returned: <BLOCKQUOTE> Server Failure: The name server was unable to process this query. </BLOCKQUOTE> <P> This means that: <PRE> The cache was not able to resolve the hostname presented in the URL. Check if the address is correct. </PRE> <P>Your cache administrator is <A HREF="mailto:andreas@gamma.meyer.home">andreas@gamma.meyer.home</A>. <br clear="all"> <hr noshade size=1> Generated Sun, 23 Dec 2001 09:24:12 GMT by shiva.meyer.home (Squid/2.3.STABLE2) </BODY></HTML> Also dieses html sieht im KFM gut aus, sprich keine html-Fehler. Kommt wahrscheinlich daher, daß ich in CONFIG.pm? den proxy mit 0 deaktiviert habe. Aber warum ein: Server Failure: The name server was unable to process this query. ? Kann der squid das nicht handeln? Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage

Moin Moin, Am Samstag, 22. Dezember 2001 21:20 schrieb Andreas Meyer:
perl -MCPAN -e"install Net::FTP"
wird ja erstmal einiges konfiguriert.
Bei folgendem Eintrag bleibe ich hängen:
Select your continent (or several nearby continents) [] europa invalid items entered, try again
Egal was ich eingebe, ich komme nicht weiter. Was wird erwartet?
Am Anfang fragt Dich das Setup, ob Du selbst oder autom. konfigurieren willst. Bei einem "nein" macht perl das alles selber;) Kommst Du dann weiter? Ich nutze perl 5.6.1, funktioniert einwandfrei. ByE Andre

Hallo! Am Sun, 23 Dec 2001 00:25:08 +0100 schrieb Andre Heine:
Select your continent (or several nearby continents) [] europa invalid items entered, try again
Egal was ich eingebe, ich komme nicht weiter. Was wird erwartet?
Am Anfang fragt Dich das Setup, ob Du selbst oder autom. konfigurieren willst. Bei einem "nein" macht perl das alles selber;)
Kommst Du dann weiter? Ich nutze perl 5.6.1, funktioniert einwandfrei.
Ich habe nochmal eingegeben: perl -MCPAN -e"install Net::FTP" dann kommt unter anderem: /usr/lib/perl5/5.00503/CPAN/Config.pm initialized. und: If you're accessing the net via proxies, you can specify them in the CPAN configuration or via environment variables. The variable in the $CPAN::Config takes precedence. Your ftp_proxy? [http://shiva:3128] Your http_proxy? [http://shiva:3128] Your no_proxy? [localhost, *.meyer.home] If you do not want to enter a dialog now, you can answer 'no' to this question and I'll try to autoconfigure. (Note: you can revisit this dialog anytime later by typing 'o conf init' at the cpan prompt.) Are you ready for manual configuration? [yes] Ich sage "no" (mehrere Male). Dann kommt jede Menge Zeugs und zum Schluß: commit: wrote /usr/lib/perl5/5.00503/CPAN/Config.pm Going to read /root/.cpan/sources/modules/03modlist.data.gz Bareword found where operator expected at (eval 6) line 2, near "<P> The" (Missing operator before The?) Bareword found where operator expected at (eval 6) line 4, near "<BLOCKQUOTE> Server" (Missing operator before Server?) Bareword found where operator expected at (eval 6) line 10, near "<PRE> The" (Missing operator before The?) Bareword found where operator expected at (eval 6) line 13, near "<A HREF="mailto:andreas@gamma.meyer.home">andreas" (Missing operator before andreas?) Array found where operator expected at (eval 6) line 13, at end of line Number found where operator expected at (eval 6) line 17, near "/A>. <br clear="all"> <hr noshade size=1> Generated Sun, 23 Dec 2001 00:29:23 GMT by shiva.meyer.home (Squid/2.3" (Might be a runaway multi-line // string starting on line 13) (Missing operator before 2.3?) Bareword found where operator expected at (eval 6) line 18, near "/BODY></HTML" (Missing operator before HTML?) syntax error at (eval 6) line 2, near "<P> The dnsserver " In string, @gamma now must be written as \@gamma at (eval 6) line 13, near "A HREF="mailto:andreas@gamma" CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/modules/03modlist.data.gz') called at /usr/lib/perl5/5.00503/CPAN.pm line 2586 CPAN::Index::reload('CPAN::Index') called at /usr/lib/perl5/5.00503/CPAN.pm line 601 CPAN::exists('CPAN=HASH(0x8359eb4)', 'CPAN::Module', 'Net::FTP') called at /usr/lib/perl5/5.00503/CPAN.pm line 1697 CPAN::Shell::rematein('CPAN::Shell', 'install', 'Net::FTP') called at /usr/lib/perl5/5.00503/CPAN.pm line 1754 CPAN::Shell::install('CPAN::Shell', 'Net::FTP') called at /usr/lib/perl5/5.00503/CPAN.pm line 75 CPAN::AUTOLOAD('Net::FTP') called at -e line 1 Ich habe die Zeilen, mal nicht umgebrochen; hoffentlich zerreißt´s keine MUAs ;) Updaten auf Perl 5.6.1 werde ich wohl nicht können :( Mir ist die ganze Kiste viel zu unübersichtlich und kompliziert. Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage

On Sun, 23 Dec 2001, Andreas Meyer wrote:
Ich habe nochmal eingegeben: perl -MCPAN -e"install Net::FTP"
Ist vielleicht besser, wenn du erstmal "nur" CPAN konfigurierst, und erst dann das mit dem Direktaufruf von 'install' versuchst, so lassen sich die Fehler leichter eingrenzen... ;) Siehe dazu auch meine andere Mail, und CPAN sagt's auch selbst (noch vor den Fehlern):
dann kommt unter anderem: /usr/lib/perl5/5.00503/CPAN/Config.pm initialized. [..] question and I'll try to autoconfigure. (Note: you can revisit this dialog anytime later by typing 'o conf init' at the cpan prompt.) ^^^^^^^^^^^ s. andere mail...
Are you ready for manual configuration? [yes] Ich sage "no" (mehrere Male).
Dann kommt jede Menge Zeugs und zum Schluß: commit: wrote /usr/lib/perl5/5.00503/CPAN/Config.pm
Das sieht nun schon mal "gut" aus, aber s.o., versuch mal die CPAN-Config vom install von Net::FTP zu trennen...
Going to read /root/.cpan/sources/modules/03modlist.data.gz ^^^^^^^^^^^^ Das ist weniger "gluecklich". Klar, du musst den eigentlichen install als root machen, da nach, z.B. /usr/lib/perl5 installiert werden soll, aber fuer's CPAN Zeug solltest du (wird bei der CPAN-Config abgefragt) ein anderes Verz. angeben -- das wird dann IIRC auch "global" verwendet, wenn du z.B. das "get" oder "make" als normaler user machst... Spontan wuerde mir da z.B. /var/lib/cpan/ einfallen... (ich selbst hab's aber woanders).
Generell kannst du auch mit CPAN "trennen" user $ perl -MCPAN -e"get <PAKET>" user $ perl -MCPAN -e"test <PAKET>" user $ su - root # perl -MCPAN -e"install <PAKET>" wobei alles ausser "get" auch offline geht -- ggfs. muss man halt nochmal online gehen, und fehlende Pakete nachladen... Je nach paranoia macht man dann eben fuer jedes benoetigte Paket wieder nur ein "get" (und "make" und "test"), oder halt ein "make", wenn man online ist, das sollte dann bei gegebenen Einstellungen (wird abgefragt) dann automatisch benoetigte Pakete nachladen... Ansonsten: Auf die Doku hab ich ja schon in der anderen Mail hingewiesen.
Bareword found where operator expected at (eval 6) line 2, near "<P> [..] Generated Sun, 23 Dec 2001 00:29:23 GMT by shiva.meyer.home (Squid/2.3"
Das sieht mir _verdammt_ danach aus, als ob da dein Proxy dazwischen- pfuschen wuerde, und das CPAN-Modul (natuerlich) vergeblich versucht das HTML das dein Proxy generiert, zu parsen, wo es doch ein bestimmtes Dateiformat (eine plain-text Modulliste) erwartet... Und das geht natuerlich schief. Evtl. hast du in der Proxy-Config nur den Port nicht freigegeben oder so... Schau mal, ob du nicht den proxy umgehen kannst... Leider kenn ich mich beim Thema Proxy so gut wie garnicht aus, aber ggfs. koennen wir uns ja per PM "kurzschalten" um die Perl/Proxy-Probleme auseinander- zuklamuesern... ;)
Ich habe die Zeilen, mal nicht umgebrochen; hoffentlich zerreißt´s keine MUAs ;)
Meinen nicht. Ist ja auch ein "echter MUA[tm]" *scnr*
Updaten auf Perl 5.6.1 werde ich wohl nicht können :(
Wirst du auch nicht muessen, denke ich. Es ist IMO ziemlich eindeutig ein config/proxy Problem.
Mir ist die ganze Kiste viel zu unübersichtlich und kompliziert.
Tja, willkommen im Klub... Du solltest mal meine Kiste sehen... ;) (Allerdings stammt das meiste Chaos von mir selbst, und somit kann ich's wohl leichter "ueberblicken", als wenn das Chaos von $TOOL produziert waere... *eg*) -dnh -- 51: Version x.5 Mit neuen Icons! (Kristian Köhntopp)
participants (4)
-
Andre Heine
-
Andreas Meyer
-
David Haller
-
Helga Fischer