From owner-freebsd-current Wed Mar 25 14:20:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA20159 for freebsd-current-outgoing; Wed, 25 Mar 1998 14:20:57 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA20095 for ; Wed, 25 Mar 1998 14:20:41 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id JAA26381; Thu, 26 Mar 1998 09:15:53 +1100 Date: Thu, 26 Mar 1998 09:15:53 +1100 From: Bruce Evans Message-Id: <199803252215.JAA26381@godzilla.zeta.org.au> To: current@FreeBSD.ORG, gilham@csl.sri.com Subject: Re: make world Makefile Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >This is probably a stupid question, but I've noticed that whenever I >do a make world in /usr/src I have to make the following change to the >Makefile: > >Original: >BMAKE= ${BMAKEENV} ${WORLDTMP}/usr/bin/${MAKE} DESTDIR=${WORLDTMP} ># cross make used for compilation >XMAKE= ${XMAKEENV} ${WORLDTMP}/usr/bin/${MAKE} DESTDIR=${WORLDTMP} ># cross make used for final installation >IXMAKE= ${XMAKEENV} ${WORLDTMP}/usr/bin/${MAKE} > > >Change: > >BMAKE= ${BMAKEENV} ${WORLDTMP}${MAKE} DESTDIR=${WORLDTMP} ># cross make used for compilation >XMAKE= ${XMAKEENV} ${WORLDTMP}${MAKE} DESTDIR=${WORLDTMP} ># cross make used for final installation >IXMAKE= ${XMAKEENV} ${WORLDTMP}${MAKE} > > >If I don't do this I get the following error: > >cd /usr/src && PATH=/usr/obj/usr/src/tmp/sbin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/bin:/usr/obj/usr/src/tmp/usr/bin:/pkg/mh/bin:/homes/gilham/bin:/homes/gilham/bin/i386:/usr/local/sbin:/sbin:/usr/sbin:/usr/etc:/usr/local/bin:/bin:/usr/bin:/pkg/bin:/usr/X11R6/bin:/pkg/X11/bin:/usr/openwin/bin BISON_SIMPLE=/usr/obj/usr/src/tmp/usr/share/misc/bison.simple COMPILER_PATH=/usr/obj/usr/src/tmp/usr/libexec:/usr/obj/usr/src/tmp/usr/bin GCC_EXEC_PREFIX=/usr/obj/usr/src/tmp/usr/lib/ LD_LIBRARY_PATH=/usr/obj/usr/src/tmp/usr/lib LIBRARY_PATH=/usr/obj/usr/src/tmp/usr/lib:/usr/obj/usr/src/tmp/usr/lib NOEXTRADEPEND=t /usr/obj/usr/src/tmp/usr/bin//usr/bin/make DESTDIR=/usr/obj/usr/src/tmp hierarchy >/usr/obj/usr/src/tmp/usr/bin//usr/bin/make: not found ^^^^^^^^^^^^^^^^^ >*** Error code 127 > >I've had to do this for some time, and I've also noticed it for stable >as well. > >Why? What am I doing wrong? You are spelling "make" as "/usr/bin/make" or using a shell that does this. ${WORLDTMP}/usr/bin/${MAKE} should be changed to ${WORLDTMP}/usr/bin/make in the above lines. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message