installworld (touch: not found)

Kent Stewart kstewart at owt.com
Tue Apr 22 21:02:09 PDT 2003


On Tuesday 22 April 2003 08:31 pm, Andrew wrote:
> Hi All,
>
> I just the "touch: not found" problem that seems to occur
> occaisonally when installing world.
>
> --------------------------------------------------------------
>
> >>> 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
>
>
> I was trying to upgrade from 4.6.1-RELEASE-p11 to 4.8-RELEASE. I
> managed to work around the problem by editing
> /usr/src/sys/conf/newvers.sh and putting in the full path to touch.
>
> I don't know if this is a bug or something I have done wrong...I
> don't know why just some boxes experience the problem.
>


Check your system date. When it is wrong (slow), make thinks it needs to 
touch a file when it shouldn't need to.

Kent

-- 
Kent Stewart
Richland, WA

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



More information about the freebsd-stable mailing list