1 Detailed below are concrete examples for
2 getting the prerequisites for particular systems.
6 This shows the steps for getting the required tools to build coreutils 7.0
7 on a Fedora 8 system. We try to use official packages where possible.
8 The 3 methods described for making these required packages available, should
9 help clarify build requirements on any GNU/Linux system at least.
11 1. Make sure offical distro git package is installed
14 2. The distro autoconf is too old, but there is a newer one available
15 so we rebuild that and make it available to the full system:
16 # yum install emacs #autoconf build requires emacs (20MB)
17 # rpmbuild --rebuild http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/autoconf-2.63-1.fc10.src.rpm
18 # rpm -Uvh /usr/src/redhat/RPMS/noarch/autoconf-2.63-1.fc8.noarch.rpm
19 Note Autoconf 2.61a-341 or newer is needed to build automake-1.10b in step 3.
20 Apply the same method to install the lzma package.
21 [FIXME: mention xz when it's packaged]
23 3. The latest stable automake (1.10.1) was not new enough, so we download
24 and build automake-1.10b or newer from its repository and make it available
26 # yum install help2man #required to build automake fully
27 $ git clone git://git.sv.gnu.org/automake.git
29 $ git checkout -b next --track origin/next
31 $ ./configure --prefix=$HOME/coreutils/deps
34 Now we can build coreutils as described in README-hacking
35 as long as $PATH starts with $HOME/coreutils/deps