Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 02:43:15 -0600
From:      Mike Meyer <mwm@mired.org>
To:        "SF" <lists@stevenfettig.com>
Cc:        questions@freebsd.org
Subject:   Re: cvsup'd /usr/ports on FreeBSD 4.0 - problems/confusion
Message-ID:  <15031.6179.212516.223920@guru.mired.org>
In-Reply-To: <112795040@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
SF <lists@stevenfettig.com> types:
> I'm confused as to what I have to go through to get the cvsup of my ports to
> work.  I ran "cvsup -g -L 2 ports-supfile" (where I was grabbing ports-all)
> and got through the process without any errors.  (All I was hoping to
> accomplish by doing this is getting the latest port tree because a number of
> ports I am trying to use no longer work because of the locations of the
> sources changing.  Perhaps I was wrong in going down this road...)  So, when
> I go and try to 'make' any of the ports, I get the following error:
> 
> bash-2.03# make
> ===>  p5-Mysql-modules-1.2215 : Your system is too old to use this
> bsd.port.mk. You need a fresh make world or an upgrade kit. Please go to
> http://www.FreeBSD.org/ports/ or a mirror site and follow the instructions.
> 
> I go to the link and am told:
> 
> If your system is older than 4.1-RELEASE, or is running any branch before
> 4.1, your only reasonable choice for using ports-current is to upgrade to
> some point along the 4.x branch.
> 
> Because my system is 4.0, what should I have done, or what do I yet need to
> do?  (It makes sense that I would have to cvsup the base system for the
> ports to work, but I don't understand how to do this or have any way of
> verifying that I really need to do that - i.e. through searching the faq or
> handbook.)

You need to start with a clean copy of the ports tree. The port
structure has changed since 4.0, and cvsup doesn't know to delete the
old things - which are used by the ports as a hint that your ports
tree is out of date.

Basically, rm -rf /usr/ports, and cvsup again.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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