INSTALL.quagga.txt 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. --------------------------------------------------------------------------
  2. Building and Installing Quagga from releases or snapshots:
  3. The 'INSTALL' file contains generic instructions on how to use 'configure'
  4. scripts.
  5. Quagga requires a C compiler (and associated header files and
  6. libraries) supporting the C99 standard.
  7. Quagga requires a reasonable make. It is considered a bug if quagga
  8. does not compile with the system make on recent FreeBSD, NetBSD or
  9. OpenBSD, and a very serious bug if it does not compile with GNU make.
  10. Quagga expects a POSIX.2 compliant system, more or less. Clean
  11. workarounds for POSIX non-compliance are welcome.
  12. It is considered a bug if Quagga fails to build and run on any of the
  13. following systems (where .x indicates the most recent release), or
  14. such systems "-current" versions. Or, it might be that this list is
  15. out of date and will be updated. (Note that considering it a bug is
  16. not a guarantee of support, merely "we agree that it is broken".)
  17. Dragonfly ?
  18. FreeBSD (stable branches currently supported, plus perhaps one)
  19. FreeBSD-current
  20. Linux [kernel/distribution information needed]
  21. NetBSD 4.x
  22. NetBSD 5.x
  23. NetBSD 6.x
  24. NetBSD-current
  25. OpenBSD ? [info needed on what should work]
  26. Solaris (modern/supported versions, including OpenSolaris forks)
  27. For further Quagga specific information on 'configure' and build-time
  28. configuration of the software, please read the Quagga info
  29. documentation, (doc/quagga.info). To read the info page included with
  30. the Quagga sources without first installing Quagga:
  31. cd doc
  32. # one of the following, depending on your info viewer preferences
  33. info quagga.info
  34. pinfo -r quagga.info
  35. emacs -eval '(info "quagga.info")'
  36. The Quagga website (http://www.quagga.net) currently has the info
  37. files available in various formats.
  38. --------------------------------------------------------------------------
  39. Building Quagga from git checkouts:
  40. In order to build from git, you will need recent versions of several GNU
  41. tools, particularly autoconf, automake, libtool, GNU awk and texinfo. Note
  42. that the CVS snapshots on the Quagga website should not require these tools;
  43. everything is already setup ready to run 'configure'. If you have trouble
  44. building from CVS checkout it is recommended that you try a CVS snapshot
  45. instead.
  46. We declare that the following versions should work for building from
  47. CVS checkouts. Earlier versions may work, but failure to do so is not
  48. a bug. Required versions can be moved earlier if no problems, or
  49. later after a judgement that a system without a higher version is
  50. deficient is made.
  51. [TODO: this list is out of date as of 2013-07]
  52. automake: 1.9.6 (released 2005-07-10)
  53. autoconf: 2.59 (2.60 on 2006-06-26 is too recent to require)
  54. libtool: 1.5.22 (released 2005-12-18)
  55. texinfo: 4.7 (released 2004-04-10; 4.8 is not yet common)
  56. GNU AWK: 3.1.5 (released 2005-08-12)
  57. For running tests, one also needs:
  58. DejaGnu:
  59. [TODO: texinfo 4.6 is now ancient and this should be revisited/fixed]
  60. Because some systems provide texinfo 4.6 (4.7 is new), quagga.info is
  61. checked in so that texinfo will generally not be invoked. When
  62. texinfo 4.7 is widespread, quagga.info will be removed from CVS and
  63. texinfo will become required again. (4.7 has figure support, needed
  64. for the route server docs, which is why 4.6 doesn't work.)
  65. In order to create PostScript or PDF versions of the Texinfo documentation,
  66. you will need the convert utility, from the ImageMagick toolset installed,
  67. and epstopdf from the TeTeX suite.
  68. To create the required autotools files (Makefile.in, configure, etc.),
  69. run "./bootstrap.sh". After this you may run configure as for a
  70. snapshot or release.
  71. Please refer to "Building and Installing Quagga" above for further
  72. instructions.
  73. --------------------------------------------------------------------------
  74. Notes on required versions:
  75. The general goal is to use a modern baseline of tools, while not
  76. imposing pain on those tracking supported (or almost supported) stable
  77. distributions. The notes below explain what versions are present in
  78. various environments.
  79. NetBSD 4 provides texinfo 4.7.
  80. NetBSD 5 and 6 provides texinfo 4.8
  81. Fedora Core ? provides autoconf 2.59.
  82. OpenBSD 3.6 provides texinfo 4.2.
  83. OpenBSD [3.6] ports provides automake 1.4-p6 autoconf 2.5.9 libtool 1.5.8
  84. --------------------------------------------------------------------------