From owner-freebsd-ports@FreeBSD.ORG Sun Jun 26 16:57:43 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 632AD16A41C for ; Sun, 26 Jun 2005 16:57:43 +0000 (GMT) (envelope-from bsd@kelleycows.com) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 165E643D48 for ; Sun, 26 Jun 2005 16:57:42 +0000 (GMT) (envelope-from bsd@kelleycows.com) Received: from [10.3.29.200] (c-24-127-1-20.hsd1.ca.comcast.net[24.127.1.20]) by comcast.net (sccrmhc12) with ESMTP id <2005062616574101200h9ldhe>; Sun, 26 Jun 2005 16:57:42 +0000 Message-ID: <42BEDE85.9070603@kelleycows.com> Date: Sun, 26 Jun 2005 09:57:41 -0700 From: Christopher Kelley User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050325) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dominique Goncalves References: <42BE4E38.4090904@kelleycows.com> <7daacbbe050626013341997a79@mail.gmail.com> In-Reply-To: <7daacbbe050626013341997a79@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Can't get perl-after-upgrade to run X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 16:57:43 -0000 Dominique Goncalves wrote: >On 6/26/05, Christopher Kelley wrote: > > >>I just updated my perl5.8 from 5.8.6_2 to 5.8.7 and I can't get the >>perl-after-upgrade utility to run. It's really baffling me and I'm sure >>I'll learn something new in this, but I've run out of ideas. I am logged >>in as root. I've tried "./perl-after-upgrade" (in the >>/usr/ports/lang/perl5.8/files) directory and it says >>"./perl-after-upgrade: Command not found" I thought maybe it was >>something with the dashes in the name, so I renamed it with the same >>result. I copied it to my /root subdirectory and tried the original >>name and a new name with the same result, even though a couple scripts I >>wrote run just fine from /root. I checked the permissions and they are >>-rwxr-xr-x. >> >>The only thing that "worked" was to run "sh perl-after-upgrade" but I >>get an error: >> >> >>root@lion:/usr/ports/lang/perl5.8/files# sh perl-after-upgrade >>=pod: not found >>=head1: not found >>Unknown option `--' >>Usage: >> perl-after-upgrade >> perl-after-upgrade -v >> perl-after-upgrade -f >>=head1: not found >>fastest_cvsup-0.2.9_1: 0 moved, 0 modified, 0 adjusted >>portupgrade-20041226_4: 0 moved, 0 modified, 0 adjusted >>- >>--- >>Fixed 0 packages (0 files moved, 0 files modified) >>Skipped 21 packages >>fastest_cvsup-0.2.9_1: 0 moved, 0 modified, 0 adjusted >>portupgrade-20041226_4: 0 moved, 0 modified, 0 adjusted >>/ >>--- >>Fixed 0 packages (0 files moved, 0 files modified) >>Skipped 21 packages >>perl-after-upgrade version 1.2 >>=head1: not found >>perl-after-upgrade: 26: Syntax error: "(" unexpected >>Exit 2 >>root@lion:/usr/ports/lang/perl5.8/files# >> >> >>And, if I type "sh perl-after-upgrade -f" I get the EXACT same output >>as above, leading me to believe it is ignoring the -f option. >> >>I'm stumped. or is this the expected output and I'm too dense to >>understand it? >> >>Christopher >> >> > >Hi, > >Use /usr/local/bin/perl-after-upgrade > >Best regards. > > That did the trick. Then a (rare) moment of clarity - I should have run "rehash" after portupgrade so it could find the newly installed script. Don't know why that didn't occur to me before. Thanks for the help! Christopher