paul | 7cad400 | 2005-06-28 00:19:48 +0000 | [diff] [blame^] | 1 | # $Id: INSTALL.quagga.txt,v 1.10 2005/06/28 00:19:48 paul 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 | |
paul | 7cad400 | 2005-06-28 00:19:48 +0000 | [diff] [blame^] | 9 | Quagga requires a C compiler supporting the C99 standard and GNU make. |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 10 | |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 11 | For further Quagga specific information on 'configure' and build-time |
| 12 | configuration of the software, please read the Quagga info documentation, |
| 13 | (doc/quagga.info). To read the info page included with the Quagga sources |
| 14 | without first installing Quagga: |
| 15 | |
| 16 | cd doc/ |
| 17 | pinfo -r quagga.info |
| 18 | |
| 19 | Assuming you have the user-friendly 'pinfo' info browser installed. |
| 20 | |
| 21 | You can also the standard GNU 'info' browser, if you prefer this browser you |
| 22 | have no doubt already spent a lot of time reading its documentation and dont |
| 23 | need to be told how to specify an info file by filename. ;) |
| 24 | |
| 25 | The Quagga website should also have recent versions of documentation |
| 26 | available online. |
| 27 | |
| 28 | -------------------------------------------------------------------------- |
| 29 | Building Quagga from CVS checkouts: |
| 30 | |
| 31 | In order to build from CVS, you will need recent versions of several GNU |
paul | 7cad400 | 2005-06-28 00:19:48 +0000 | [diff] [blame^] | 32 | tools, particularly autoconf, automake, libtool, GNU awk and texinfo. Note |
| 33 | that the CVS snapshots on the Quagga website should not require these tools; |
| 34 | everything is already setup ready to run 'configure'. If you have trouble |
| 35 | building from CVS checkout it is recommended that you try a CVS snapshot |
| 36 | instead. |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 37 | |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 38 | If you are building from plain CVS checkouts, the versions which |
| 39 | should work at least with: |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 40 | |
| 41 | automake: 1.8.5 |
| 42 | autoconf: 2.59 |
| 43 | libtool: 1.5.6 |
gdt | 3764c0c | 2004-11-15 17:26:47 +0000 | [diff] [blame] | 44 | texinfo: 4.7 |
paul | 7cad400 | 2005-06-28 00:19:48 +0000 | [diff] [blame^] | 45 | GNU AWK: 3.1 |
paul | 9104f56 | 2004-11-12 10:30:21 +0000 | [diff] [blame] | 46 | |
gdt | 38c2cfe | 2004-11-22 20:14:33 +0000 | [diff] [blame] | 47 | Texinfo is not actually required since quagga.info is checked in. |
| 48 | When texinfo 4.7 is widespread, it will be removed and texinfo will |
| 49 | become required again. (4.7 has figure support, needed for the route |
| 50 | server docs, which is why 4.6 doesn't work.) |
| 51 | |
paul | 3849db2 | 2005-04-02 17:13:33 +0000 | [diff] [blame] | 52 | In order to create PostScript or PDF versions of the Texinfo documentation, |
| 53 | you will need the convert utility, from the ImageMagick toolset installed, |
| 54 | and epstopdf from the TeTeX suite. |
| 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 | -------------------------------------------------------------------------- |