maint: update bootstrap and m4/.gitignore to latest Gnulib
[gzip.git] / README-prereq
blob410ea8aee8bb455a39034966d274018169e8a30f
1 This gives some notes on obtaining the tools required for development.
2 These tools can be used by the 'bootstrap' and 'configure' scripts,
3 as well as by 'make'.  They include:
5 - Autoconf   <https://www.gnu.org/software/autoconf/>
6 - Automake   <https://www.gnu.org/software/automake/>
7 - Git        <https://git-scm.com/>
8 - M4         <https://www.gnu.org/software/m4/>
9 - Make       <https://www.gnu.org/software/make/>
10 - Perl       <https://www.cpan.org/>
11 - Tar        <https://www.gnu.org/software/tar/>
12 - Texinfo    <https://www.gnu.org/software/texinfo/>
13 - Wget       <https://www.gnu.org/software/wget/>
14 - XZ Utils   <https://tukaani.org/xz/>
16 It is generally better to use official packages for your system.
17 If a package is not officially available you can build it from source
18 and install it into a directory that you can then use to build this
19 package.  If some packages are available but are too old, install the
20 too-old versions first as they may be needed to build newer versions.
22 Here is an example of how to build a program from source.  This
23 example is for Autoconf; a similar approach should work for the other
24 developer prerequisites.  This example assumes Autoconf 2.71; it
25 should be OK to use a later version of Autoconf, if available.
27   prefix=$HOME/prefix   # (or wherever else you choose)
28   export PATH=$prefix/bin:$PATH
29   wget https://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.71.tar.gz
30   gzip -d <autoconf-2.71.tar.gz | tar xf -
31   cd autoconf-2.71
32   ./configure --prefix=$prefix
33   make install
35 Once the prerequisites are installed, you can build this package as
36 described in README-hacking.