gdt | 8686fc7 | 2004-11-23 17:19:21 +0000 | [diff] [blame] | 1 | # $Id: INSTALL.quagga.txt,v 1.8 2004/11/23 17:19:21 gdt Exp $ |
gdt | 8bed780 | 2004-11-15 15:34:50 +0000 | [diff] [blame] | 2 | |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 3 | -------------------------------------------------------------------------- |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 4 | Building and Installing Quagga from releases or snapshots: |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 5 | |
| 6 | The 'INSTALL' file contains generic instructions on how to use 'configure' |
| 7 | scripts. |
| 8 | |
gdt | 8686fc7 | 2004-11-23 17:19:21 +0000 | [diff] [blame] | 9 | Quagga requires a C compiler supporting the C99 standard. |
| 10 | |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 11 | Quagga can be compiled with either BSD make or GNU make. |
| 12 | GNU make 3.80 is known to work. |
| 13 | The following system makes are known to work |
| 14 | NetBSD 1.6.2 |
| 15 | NetBSD 2.0 |
| 16 | |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 17 | For further Quagga specific information on 'configure' and build-time |
| 18 | configuration of the software, please read the Quagga info documentation, |
| 19 | (doc/quagga.info). To read the info page included with the Quagga sources |
| 20 | without first installing Quagga: |
| 21 | |
| 22 | cd doc/ |
| 23 | pinfo -r quagga.info |
| 24 | |
| 25 | Assuming you have the user-friendly 'pinfo' info browser installed. |
| 26 | |
| 27 | You can also the standard GNU 'info' browser, if you prefer this browser you |
| 28 | have no doubt already spent a lot of time reading its documentation and dont |
| 29 | need to be told how to specify an info file by filename. ;) |
| 30 | |
| 31 | The Quagga website should also have recent versions of documentation |
| 32 | available online. |
| 33 | |
| 34 | -------------------------------------------------------------------------- |
| 35 | Building Quagga from CVS checkouts: |
| 36 | |
| 37 | In order to build from CVS, you will need recent versions of several GNU |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 38 | tools, particularly autoconf, automake, libtool and texinfo. Note that the |
gdt | 8bed780 | 2004-11-15 15:34:50 +0000 | [diff] [blame] | 39 | CVS snapshots on the Quagga website do not require these tools; everything |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 40 | is already setup ready to run 'configure'. If you have trouble building |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 41 | from CVS checkout it is recommended that you try a CVS snapshot instead. |
| 42 | |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 43 | If you are building from plain CVS checkouts, the versions which |
| 44 | should work at least with: |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 45 | |
| 46 | automake: 1.8.5 |
| 47 | autoconf: 2.59 |
| 48 | libtool: 1.5.6 |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 49 | texinfo: 4.7 |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 50 | |
gdt | 38c2cfe | 2004-11-22 20:14:33 +0000 | [diff] [blame] | 51 | Texinfo is not actually required since quagga.info is checked in. |
| 52 | When texinfo 4.7 is widespread, it will be removed and texinfo will |
| 53 | become required again. (4.7 has figure support, needed for the route |
| 54 | server docs, which is why 4.6 doesn't work.) |
| 55 | |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 56 | To create the required autotools files (Makefile.in, configure, etc.), |
| 57 | run either the 'update-autotools' script provided, or else the |
ajs | cbf566e | 2004-11-15 19:43:16 +0000 | [diff] [blame] | 58 | 'autoreconf -i' command supplied with your autoconf package. After this |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 59 | you may run configure. GNU texinfo is required in order to build |
| 60 | doc/quagga.info, which is not supplied in CVS, but is supplied in the |
| 61 | CVS snapshots on the Quagga website. quagga.info is created via |
| 62 | makeinfo during the build. |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 63 | |
| 64 | Please refer to "Building and Installing Quagga" above for further |
| 65 | instructions. |
gdt | 8bed780 | 2004-11-15 15:34:50 +0000 | [diff] [blame] | 66 | |
| 67 | -------------------------------------------------------------------------- |
| 68 | Notes on required versions: |
| 69 | |
| 70 | The general goal is to use a modern baseline of tools, while not |
| 71 | imposing pain on those tracking stable distributions. The notes below |
| 72 | explain what versions are present in various environments. |
| 73 | |
gdt | 8bed780 | 2004-11-15 15:34:50 +0000 | [diff] [blame] | 74 | NetBSD 1.6.2 and 2.0 provide texinfo 4.6. |
gdt | 38c2cfe | 2004-11-22 20:14:33 +0000 | [diff] [blame] | 75 | NetBSD pkgsrc provides automake 1.9.1 autoconf 2.59 libtool 1.5.6 |
| 76 | NetBSD pgksrc provides texinfo 4.7 (devel/gtexinfo) |
| 77 | |
gdt | 9c3f5e6 | 2004-11-23 12:21:16 +0000 | [diff] [blame] | 78 | OpenBSD 3.6 provides texinfo 4.2. |
| 79 | OpenBSD [3.6] ports provides automake 1.4-p6 autoconf 2.5.9 libtool 1.5.8 |
gdt | 38c2cfe | 2004-11-22 20:14:33 +0000 | [diff] [blame] | 80 | |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 81 | -------------------------------------------------------------------------- |