Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 01:11:10 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        "Selvam" <selvam@bernama.com>, "Freebsd" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: make installworld failed
Message-ID:  <200301160111.10965.kstewart@owt.com>
In-Reply-To: <EOEHJJODFIMKFOCMNABIEEJAKJAA.selvam@bernama.com>
References:  <EOEHJJODFIMKFOCMNABIEEJAKJAA.selvam@bernama.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 16 January 2003 12:56 am, Selvam wrote:
> Hi Kent,
>
> thanks for replying, I tried the way to tell my but still no avail..
> I tried cvsup'ing again and i did the below :-
>
>     # cd /usr/src
>     # make buildkernel KERNCONF=3DMYKERNEL
>     # make installkernel KERNCONF=3DMYKERNEL
>
> then i rebooted the server and ran
>     # cd /usr/src
>     # make installworld
>
> and still i get the same error..like below

You didn't change anything. Your build created a file called=20
osreldate.h. The creation date of that file is bad. It is probably=20
older then the files that it was created from. So, it tries to redo=20
things and it can't because touch isn't one of the included files.=20

You have to do "make buildworld" to recreate the files with the proper=20
date.

Kent
>
> --------------------------------------------------------------
>
> >>> Installing everything..
>
> --------------------------------------------------------------
> cd /usr/src; make -f Makefile.inc1 install
> =3D=3D=3D> share/info
> =3D=3D=3D> include
> creating osreldate.h from newvers.sh
> setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  .
> /usr/src/include/../sys/conf/newvers.sh; echo "$COPYRIGHT" >
> osreldate.h; echo "#ifdef _KERNEL" >> osreldate.h; echo '#error
> "osreldate.h must not be used in the kernel, use sys/param.h"' >>
> osreldate.h;  echo "#else" >> osreldate.h;                         =20
> echo \#'undef __FreeBSD_version' >> osreldate.h;        echo
> \#'define __FreeBSD_version' $RELDATE >> osreldate.h;  echo "#endif"
> >> osreldate.h
> touch: not found
> *** Error code 127
>
> Stop in /usr/src/include.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> -----Original Message-----
> From: Kent Stewart [mailto:kstewart@owt.com]
> Sent: Thursday, January 16, 2003 4:37 PM
> To: Selvam; Freebsd
> Subject: Re: make installworld failed
>
> On Wednesday 15 January 2003 11:50 pm, Selvam wrote:
> > HI there,
> >
> > After cvsup i ran make buildkernel and installkernel but when i ran
> > make installworld for the binaries I ran into
> > some error like below :-
> >
> > --------------------------------------------------------------
> >
> > >>> Installing everything..
> >
> > --------------------------------------------------------------
> > cd /usr/src; make -f Makefile.inc1 install
> > =3D=3D=3D> share/info
> > =3D=3D=3D> include
> > creating osreldate.h from newvers.sh
> > setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  .
> > /usr/src/include/../sys/conf/newvers.sh; echo "$COPYRIGHT" >
> > osreldate.h; echo "#ifdef _KERNEL" >> osreldate.h; echo '#error
> > "osreldate.h must not be used in the kernel, use sys/param.h"' >>
> > osreldate.h;  echo "#else" >> osreldate.h;
> > echo \#'undef __FreeBSD_version' >> osreldate.h;        echo
> > \#'define __FreeBSD_version' $RELDATE >> osreldate.h;  echo
> > "#endif"
> >
> > >> osreldate.h
> >
> > touch: not found
> > *** Error code 127
> >
> > Stop in /usr/src/include.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> >
> > What can be the problem? I remember reseting the date earlier; but
> > I ran make installworld after setting to new date.
> > Would this be athe problem? In that case what should I do?
>
> You needed to do the buildworld again. It still has the old date on
> files that it created.
>
> Kent
>
> > Thanks in advance..
> >
> > Selvam
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message

--=20
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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?200301160111.10965.kstewart>