From owner-freebsd-questions@FreeBSD.ORG Mon Jun 7 20:25:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8DB516A4CE for ; Mon, 7 Jun 2004 20:25:39 +0000 (GMT) Received: from mail.scls.lib.wi.us (mail.scls.lib.wi.us [198.150.40.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id DACEE43D39 for ; Mon, 7 Jun 2004 20:25:38 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from sclpc01.scls.lib.wi.us (sclpc01.scls.lib.wi.us [172.26.2.225]) by mail.scls.lib.wi.us (8.12.9p2/8.12.9) with ESMTP id i57KPaFS031732; Mon, 7 Jun 2004 15:25:36 -0500 (CDT) (envelope-from nalists@scls.lib.wi.us) Message-Id: <6.1.0.6.0.20040607150957.03a14a70@mail.scls.lib.wi.us> X-Sender: nalists@mail.scls.lib.wi.us X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Mon, 07 Jun 2004 15:25:36 -0500 To: Barbish3@adelphia.net, freebsd-questions@freebsd.org From: Greg Barniskis In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: perl -MCPAN problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 20:25:39 -0000 At 02:22 PM 6/6/2004, JJB wrote: >When I run perl -MCPAN -e shell from the command line I get >"no route to host" message. >[snip] > >I all ready issued this command from the command line >setenv FTP_PASSIVE "1" I've had my share of difficulties with this too, in the past, and found that the immediate solution was to select appropriate nearby mirror sites rather than trying to use ftp.perl.com. There is something funky going on there with DNS and load balancing, whereas I almost always get a clean connect with my selected mirror site. However, this "immediate" solution is not really the "correct" one. Try not to use "perl -MCPAN -e shell" for updating your perl modules. Instead, use portupgrade to install perl modules from the ports collection if at all possible. Otherwise, you will tend to make portupgrade very unhappy. I am still learning the ups and downs of using portupgrade, but it is way more ups than downs (with one of the biggest downsides being trying to get it happy if you've previously done lots of MCPAN shell updates). Greg Barniskis