Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 1999 15:01:13 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Vadim Chekan <vadim@gc.lviv.ua>
Cc:        stable@freebsd.org
Subject:   Re: Error in /usr/src/etc/Makefile
Message-ID:  <19990522150113.A69072@relay.ucb.crimea.ua>
In-Reply-To: <374697A8.242D6D4D@gc.lviv.ua>; from Vadim Chekan on Sat, May 22, 1999 at 02:40:24PM %2B0300
References:  <37468DDB.6C296E49@gc.lviv.ua> <19990522141510.A60899@relay.ucb.crimea.ua> <374697A8.242D6D4D@gc.lviv.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 22, 1999 at 02:40:24PM +0300, Vadim Chekan wrote:
> 
> 
> Ruslan Ermilov wrote:
> > 
> > On Sat, May 22, 1999 at 01:58:35PM +0300, Vadim Chekan wrote:
> > > Hello everybody!
> > >
> > > I've got a troubles when I tryed to upgrade from sourses my 2.2.5 box to
> > > 3.2-RELEASE
> > > in /usr/src/etc/Makefile:13
> > > etc.${MACHINE_ARCH}/rc.${MACHINE_ARCH} \
> > >
> > Use ``make upgrade'' option.
> 
> I use mergemaster version-1.24 :)
> 
``mergemaster'' is just a supplement for ``make world''.
It's not supposed for 2.2.x -> 3.x jumps.

In your case (2.2.5 -> 3.2), use ``make upgrade'' if you want to upgrade
from sources.  Another possibility would be the ``binary'' upgrade option
of sysinstall.

Advice: upgrade to 2.2.8-STABLE first, then ``make upgrade'' to 3.2-STABLE.

> > > But where is MACHINE_ARCH defined?
> > > Only place where I meneged to find it is /usr/ports/Mk/bsd.port.mk
> > > In /usr/src/etc/Makefile is only one ".include"
> > > .include <bsd.prog.mk>
> > >
> > It's not defined in 2.2.5.  You can find it in /usr/src/share/mk/sys.mk.
> 
> Ok, It's true. I think in this case /usr/src/share/mk/sys.mk must be
> included in /usr/src/etc/Makefile 
> Isn't it?
> 
It is (from /usr/src/Makefile):
#
# Handle the user-driven targets, using the source relative mk files.
#
${TGTS} : upgrade_checks
        @cd ${.CURDIR}; \
                ${MAKE} -f Makefile.inc0 -m ${.CURDIR}/share/mk ${.TARGET}
                                         ^^^^^^^^^^^^^^^^^^^^^^

-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


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




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