* README-hacking: List Gperf as a build-requirement, too.
[platform/upstream/coreutils.git] / README-hacking
1 -*- outline -*-
2
3 These notes intend to help people working on the checked-out sources.
4 These requirements do not apply when building from a distribution tarball.
5
6 * Requirements
7
8 We've opted to keep only the highest-level sources in the GIT repository.
9 This eases our maintenance burden, (fewer merges etc.), but imposes more
10 requirements on anyone wishing to build from the just-checked-out sources.
11 For example, you have to use the latest stable versions of the maintainer
12 tools we depend upon, including:
13
14 - Automake <http://www.gnu.org/software/automake/>
15 - Autoconf <http://www.gnu.org/software/autoconf/>
16 - Bison <http://www.gnu.org/software/bison/>
17 - Gettext <http://www.gnu.org/software/gettext/>
18 - Gperf <http://www.gnu.org/software/gperf/>
19 - Gzip <http://www.gnu.org/software/gzip/>
20 - Perl <http://www.cpan.org/>
21 - Tar <http://www.gnu.org/software/tar/>
22 - Wget <http://www.gnu.org/software/wget/>
23
24 As of this writing, the latest stable version of Gzip is 1.2.4 but we
25 suggest using test version 1.3.5 (or later, if one becomes available).
26
27 Valgrind <http://valgrind.org/> is also highly recommended, if
28 Valgrind supports your architecture.
29
30 Only building the initial full source tree will be a bit painful.
31 Later, a plain `git-pull && make' should be sufficient.
32
33 * First GIT checkout
34
35 Obviously, if you are reading these notes, you did manage to check out
36 this package from GIT.  The next step is to get other files needed to
37 build, which are extracted from other source packages:
38
39         $ ./bootstrap
40
41 And there you are!  Just
42
43         $ ./configure
44         $ make
45         $ make check
46
47 At this point, there should be no difference between your local copy,
48 and the GIT master copy:
49
50         $ git-diff
51
52 should output no difference.
53
54 Enjoy!
55
56 -----
57
58 Copyright (C) 2002-2007 Free Software Foundation, Inc.
59
60 This program is free software; you can redistribute it and/or modify
61 it under the terms of the GNU General Public License as published by
62 the Free Software Foundation; either version 2, or (at your option)
63 any later version.
64
65 This program is distributed in the hope that it will be useful,
66 but WITHOUT ANY WARRANTY; without even the implied warranty of
67 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
68 GNU General Public License for more details.
69
70 You should have received a copy of the GNU General Public License
71 along with this program; if not, write to the Free Software
72 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
73 02110-1301, USA.