From 2024418dc44d02e93c8a3aa0c63271f068a4ebe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?=
Date: Mon, 28 Dec 2009 13:01:51 +0000 Subject: 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. --- README-prereq | 11 ++++++----- 1 file 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. -- cgit v1.2.3