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>
index | next in thread | previous in thread | raw e-mail
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=MYKERNEL > # make installkernel KERNCONF=MYKERNEL > > 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 osreldate.h. The creation date of that file is bad. It is probably older then the files that it was created from. So, it tries to redo things and it can't because touch isn't one of the included files. You have to do "make buildworld" to recreate the files with the proper date. Kent > > -------------------------------------------------------------- > > >>> Installing everything.. > > -------------------------------------------------------------- > cd /usr/src; make -f Makefile.inc1 install > ===> share/info > ===> 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 > > -----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 > > ===> share/info > > ===> 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 -- 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 messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301160111.10965.kstewart>
