README-prereq 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. This gives some notes on obtaining the tools required for development.
  2. I.e., the tools checked for by the bootstrap script and include:
  3. - Autoconf <https://www.gnu.org/software/autoconf/>
  4. - Automake <https://www.gnu.org/software/automake/>
  5. - Bison <https://www.gnu.org/software/bison/>
  6. - Gettext <https://www.gnu.org/software/gettext/>
  7. - Git <https://git-scm.com/>
  8. - Gperf <https://www.gnu.org/software/gperf/>
  9. - Gzip <https://www.gnu.org/software/gzip/>
  10. - Perl <https://www.cpan.org/>
  11. - Rsync <https://rsync.samba.org/>
  12. - Tar <https://www.gnu.org/software/tar/>
  13. - Texinfo <https://www.gnu.org/software/texinfo/>
  14. Note please try to install/build official packages for your system.
  15. If these programs are not available use the following instructions
  16. to build them and install the results into a directory that you will
  17. then use when building this package.
  18. Even if the official version of a package for your system is too old,
  19. please install it, as it may be required to build the newer versions.
  20. The examples below install into $HOME/coreutils/deps/, so if you are
  21. going to follow these instructions, first ensure that your $PATH is
  22. set correctly by running this command:
  23. prefix=$HOME/coreutils/deps
  24. export PATH=$prefix/bin:$PATH
  25. * autoconf *
  26. # Note Autoconf 2.62 or newer is needed to build automake-1.11.2
  27. # but we specify 2.64 here as that's what coreutils requires.
  28. # Please use the latest stable release version as indicated by git tags.
  29. git clone --depth=1 git://git.sv.gnu.org/autoconf.git
  30. cd autoconf
  31. git checkout v2.64
  32. autoreconf -vi
  33. ./configure --prefix=$prefix
  34. make install
  35. * automake *
  36. # Note help2man is required to build automake fully
  37. git clone git://git.sv.gnu.org/automake.git
  38. cd automake
  39. git checkout v1.11.2
  40. ./bootstrap
  41. ./configure --prefix=$prefix
  42. make install
  43. This package uses XZ utils (successor to LZMA) to create
  44. a compressed distribution tarball. Using this feature of Automake
  45. requires version 1.10a or newer, as well as the xz program itself.
  46. * xz *
  47. git clone git://ctrl.tukaani.org/xz.git
  48. cd xz
  49. ./autogen.sh
  50. ./configure --prefix=$prefix
  51. make install
  52. Now you can build this package as described in README-hacking.