README-hacking 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. These notes intend to help people working on the Git version of
  2. this package.
  3. * Requirements
  4. You need the following packages to build the Git version of GNU
  5. tar. We do not make any efforts to accommodate older versions of
  6. these packages, so please make sure that you have the latest stable
  7. version.
  8. - Autoconf <http://www.gnu.org/software/autoconf/>
  9. - Automake <http://www.gnu.org/software/automake/>
  10. - Bison <http://www.gnu.org/software/bison/>
  11. - M4 <http://www.gnu.org/software/m4/>
  12. - Gettext <http://www.gnu.org/software/gettext/>
  13. - Git <http://git.or.cz>
  14. - Gzip <http://www.gnu.org/software/gzip/>
  15. - Texinfo <http://www.gnu.org/software/texinfo>
  16. - Wget <http://www.gnu.org/software/wget/>
  17. Up-to-date compilers and libraries are also recommended, for better
  18. static checking. You may be able to use an older compiler by building
  19. with 'make WERROR_CFLAGS='; if so, don't worry about its false alarms.
  20. Valgrind <http://valgrind.org/> is also highly recommended, if
  21. Valgrind supports your architecture.
  22. * Bootstrapping
  23. Obviously, if you are reading these notes, you did manage to clone
  24. tar from Git. The next step is to get other files needed to build,
  25. which are extracted from other source packages:
  26. 1. Change to the source tree directory
  27. cd tar
  28. 2. Run
  29. ./bootstrap
  30. Once done, proceed as described in the file README (section
  31. INSTALLATION).
  32. Normally you will have to run bootstrap only once. However, if you
  33. intend to hack on GNU tar, you might need to run it again later.
  34. There are lots of options that you may find useful in this case.
  35. See './bootstrap --help' for a detailed list.
  36. Bootstrapping obtains Gnulib and Paxutils files from their Git
  37. repositories on Savannah. Then, it fetches translations from the
  38. Translation Project, and, finally, it builds files useful for
  39. configuration. Simply running ./bootstrap without arguments should do
  40. in most cases.
  41. The file bootstrap.conf contains bootstrapping configuration.
  42. Several options are provided that modify its behavior.
  43. Run './bootstrap --help' for a list.
  44. To only fetch auxiliary files from the network, run './bootstrap --pull'.
  45. To only generate files such as 'configure', without accessing the
  46. network, run './bootstrap --gen'.
  47. * Copyright information
  48. Copyright 2007-2023 Free Software Foundation, Inc.
  49. This file is part of GNU tar.
  50. GNU tar is free software; you can redistribute it and/or modify
  51. it under the terms of the GNU General Public License as published by
  52. the Free Software Foundation; either version 3 of the License, or
  53. (at your option) any later version.
  54. GNU tar is distributed in the hope that it will be useful,
  55. but WITHOUT ANY WARRANTY; without even the implied warranty of
  56. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  57. GNU General Public License for more details.
  58. You should have received a copy of the GNU General Public License
  59. along with this program. If not, see <http://www.gnu.org/licenses/>.
  60. ^L
  61. Local Variables:
  62. mode: outline
  63. paragraph-separate: "[ ^L]*$"
  64. version-control: never
  65. End: