From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 18:39:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 05BB716A41C for ; Thu, 7 Jul 2005 18:39:47 +0000 (GMT) (envelope-from rjhjr@cox.net) Received: from lakermmtao08.cox.net (lakermmtao08.cox.net [68.230.240.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FE8D43D48 for ; Thu, 7 Jul 2005 18:39:46 +0000 (GMT) (envelope-from rjhjr@cox.net) Received: from localhost ([68.230.186.138]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050707183945.YBFV18139.lakermmtao08.cox.net@localhost> for ; Thu, 7 Jul 2005 14:39:45 -0400 Date: Thu, 7 Jul 2005 14:39:44 -0400 From: Bob Hall To: freebsd-questions@freebsd.org Message-ID: <20050707183944.GA85644@kongemord.krig.net> Mail-Followup-To: Bob Hall , freebsd-questions@freebsd.org References: <20050706191003.GA79388@kongemord.krig.net> <42CD5E9E.7040904@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42CD5E9E.7040904@acm.org> User-Agent: Mutt/1.4.2.1i Subject: Re: perl-after-upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 18:39:47 -0000 On Thu, Jul 07, 2005 at 06:55:58PM +0200, legalois wrote: > Bob Hall wrote: > >I don't know squat about perl. I recently ran portupgrade, which > >upgraded perl. Goose stopped working, because the location for Curses.pm > >was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't > >get it to run. I've got a book that said to use > > # perl perl-after-upgrade > >or > > # ./perl-after-upgrade > >I also tried just > > # perl-after-upgrade > >No joy. Just for the heck of it, I tried > > * sh perl-after-upgrade > >and dang if it didn't run. It didn't look to me like an sh script, but > >what do I know? It wasn't supposed to change anything without the -f > >option, but goose ran afterward, so it obviously changed things. I > >looked for Curses.pm, and it moved to a directory listed in @INC. > > > >Anybody have any advice? Comments? How was I supposed to get > >perl-after-upgrade to run? > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > >"freebsd-questions-unsubscribe@freebsd.org" > > > > > > A longish message appears at the end of the perl upgrade build, that > explains how to run perl-after-upgrade. As I stated above, I used portupgrade. That means that any messages at the end of the perl upgrade scrolled off the screen and out of the screen buffer when portupgrade carried out the next install. One of the problems with portupgrade is that you rarely see the post-upgrade messages when you do batch upgrades. > If you overlooked that, the same > instructions are at > #perldoc perl-after-upgrade That's identical to the man page, which didn't supply any information that helped. So if the man page, perldoc page, and post-install message were the same, none of them contained the information I needed. > If the script is in a directory not in your root's path, find the full > path to the script with > #locate perl-after-upgrade > (but make sure your locate db is up-to-date, first). As I stated above, I tried "./perl-after-upgrade" and I looked at the script, neither of which would have been possible if I didn't know where the script was. As I mentioned in my followup post, I solved the problem with "rehash". A mention of this in /usr/ports/UPDATING would help those of use who rarely use tcsh unless we need to run something as root. Also in the man page. Any situation that requires perl-after-upgrade probably also requires rehash. I found the solution at http://marc.theaimsgroup.com/?l=freebsd-ports&m=111980508717308&w=2