Author: Ted Fines
Date: 14-11-03 20:12
I'm having trouble updating my FreeBSD 4.6.2 system to Perl 5.8.
I first ran CVSup as root 'cvsup ~/supfile' to update my base and lang ports. Here's my supfile:
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 220.127.116.11 2001/04/22 16:52:53 asami Exp $
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/handbook/mirrors.html.
*default release=cvs tag=.
*default delete use-rel-suffix
That all looked like it worked. Then I did:
Everything looked great so far, no errors.
Then I did:
And the output was:
su-2.05a# make install
===> Installing for perl-5.8.2_1
===> Generating temporary packing list
===> Checking if lang/perl5.8 already installed
pkg_info: illegal option -- O
usage: pkg_info [-cdDfGiIkLmopqrRsvVx] [-e package] [-l prefix]
[-t template] [-W filename] [pkg-name ...]
pkg_info -a [flags]
*** Error code 1
Stop in /usr/ports/lang/perl5.8.
I haven't been able to come up with anything on this via Google. What have I done wrong? I've grepped the Makefile for references to pkg_info, but have found none.
The really bad part is that my previous version of Perl, 5.6.1, is now gone. I tried reinstalling it with the same 'make', 'make test', 'make install' commands above, but I get the exact same error.