summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-12-28 13:01:51 +0000
committerPádraig Brady <P@draigBrady.com>2009-12-30 02:09:43 +0000
commit2024418dc44d02e93c8a3aa0c63271f068a4ebe5 (patch)
tree7d63b1f363931c77db5493e80fb7c1b2d59c2ba5
parentfd93fc3ef4947f4712a4bda08b6e11c0d6cdf48a (diff)
downloadcoreutils-2024418dc44d02e93c8a3aa0c63271f068a4ebe5.tar.xz
maint: improve the info about $PATH in README-prereq
* README-prereq: It wasn't obvious that the $PATH should be set before building any of the prerequisite packages, so move that information up.
-rw-r--r--README-prereq11
1 files changed, 6 insertions, 5 deletions
diff --git a/README-prereq b/README-prereq
index 686160ae5..54cdb9cd4 100644
--- a/README-prereq
+++ b/README-prereq
@@ -17,7 +17,11 @@ Note please try to install/build official packages for your system.
If these are not available then one can make them available only to
the coreutils build using the following instructions. Even if the
official packages for your system are too old, please install them
-as they may be required to build the newer versions.
+as they may be required to build the newer versions. The examples
+below build into $HOME/coreutils/deps/, so first ensure that your
+$PATH is set correctly, which can be done for the current shell like:
+
+ export PATH=$HOME/coreutils/deps/bin:$PATH
* autoconf *
@@ -50,7 +54,4 @@ requires version 1.10a or newer, as well as the xz program itself.
./configure --prefix=$HOME/coreutils/deps
make install
-Now we can build coreutils as described in README-hacking
-as long as $PATH starts with $HOME/coreutils/deps/bin, which
-one can set for the current shell like:
- $ export PATH=$HOME/coreutils/deps/bin:$PATH
+Now one can build coreutils as described in README-hacking.