Date: Mon, 17 Apr 2006 14:29:56 -0700 (PDT) From: <dpk@dpk.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/95975: Documentation in /usr/src/Makefile out of date Message-ID: <200604172129.k3HLTuf6000726@dpk2.hosting.flyingcroc.net> Resent-Message-ID: <200604172310.k3HNAGN2089590@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95975 >Category: docs >Synopsis: Documentation in /usr/src/Makefile out of date >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 17 23:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: David Kirchner >Release: FreeBSD 6.0-RELEASE i386 >Organization: None >Environment: System: FreeBSD dpk2.hosting.flyingcroc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: The README file in /usr/src suggests that the most commonly used target for 'make' is 'world', and instructs the user to read the Makefile to learn how to rebuild their world. The Makefile then suggests that the user simply run: cd /usr/src make world However, this bails with an error suggesting that they're going about this the wrong way: bash-2.05b# make world WARNING: make world will overwrite your existing FreeBSD installation without also building and installing a new kernel. This can be dangerous. Please read the handbook, 'Rebuilding world', for how to upgrade your system. Define DESTDIR to where you want to install FreeBSD, including /, to override this warning and proceed as usual. You may get the historical 'make world' behavior by defining HISTORICAL_MAKE_WORLD. You should understand the implications before doing this. Bailing out now... *** Error code 1 >How-To-Repeat: NA >Fix: The documentation in README and Makefile should probably include the URL to the handbook section that describes "Rebuilding world": http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html or simply not mention the "world" target at all. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604172129.k3HLTuf6000726>