Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 1998 09:15:53 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, gilham@csl.sri.com
Subject:   Re: make world Makefile
Message-ID:  <199803252215.JAA26381@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



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