Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 10:33:11 +0200
From:      Dominique Goncalves <dominique.goncalves@gmail.com>
To:        Christopher Kelley <bsd@kelleycows.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Can't get perl-after-upgrade to run
Message-ID:  <7daacbbe050626013341997a79@mail.gmail.com>
In-Reply-To: <42BE4E38.4090904@kelleycows.com>
References:  <42BE4E38.4090904@kelleycows.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/26/05, Christopher Kelley <bsd@kelleycows.com> 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.
>=20
> The only thing that "worked" was to run "sh perl-after-upgrade" but I
> get an error:
>=20
>=20
> root@lion:/usr/ports/lang/perl5.8/files# sh perl-after-upgrade
> =3Dpod: not found
> =3Dhead1: not found
> Unknown option `--'
> Usage:
>         perl-after-upgrade
>         perl-after-upgrade -v
>         perl-after-upgrade -f
> =3Dhead1: 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
> =3Dhead1: not found
> perl-after-upgrade: 26: Syntax error: "(" unexpected
> Exit 2
> root@lion:/usr/ports/lang/perl5.8/files#
>=20
>=20
> 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.
>=20
> I'm stumped.  or is this the expected output and I'm too dense to
> understand it?
>=20
> Christopher
>=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>=20

Hi,

Use /usr/local/bin/perl-after-upgrade

Best regards.

--=20
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7daacbbe050626013341997a79>