ls: --color now highlights hard linked files, too
[coreutils/bo.git] / README-prereq
blob74561145d2626f682d23850b6da1977344ee9ea9
1 Detailed below are concrete examples for
2 getting the prerequisites for particular systems.
4 - linux - fedora
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 linux system at least.
11   1. Make sure offical distro git package is installed
12     # yum install git
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   Apply the same method to install the lzma package.
21   3. The latest released automake (1.10.1) was not new enough, so we download
22   and build automake-1.10a from its repository and make it available
23   just to coreutils:
24     # yum install help2man #required to build automake fully
25     $ git clone git://git.sv.gnu.org/automake.git
26     $ cd automake && ./configure --prefix=$HOME/coreutils/deps
27     $ make install
29   Now we can build coreutils as described in README-hacking
30   as long as $PATH starts with $HOME/coreutils/deps