blob: 72cbd978a9d1004a177327c1aa26d6d419d76fd5 [file] [log] [blame]
gdt9c3f5e62004-11-23 12:21:16 +00001# $Id: INSTALL.quagga.txt,v 1.7 2004/11/23 12:21:16 gdt Exp $
gdt8bed7802004-11-15 15:34:50 +00002
paul9104f562004-11-12 10:30:21 +00003--------------------------------------------------------------------------
gdt3764c0c2004-11-15 17:26:47 +00004Building and Installing Quagga from releases or snapshots:
paul9104f562004-11-12 10:30:21 +00005
6The 'INSTALL' file contains generic instructions on how to use 'configure'
7scripts.
8
gdt3764c0c2004-11-15 17:26:47 +00009Quagga can be compiled with either BSD make or GNU make.
10GNU make 3.80 is known to work.
11The following system makes are known to work
12 NetBSD 1.6.2
13 NetBSD 2.0
14
paul9104f562004-11-12 10:30:21 +000015For further Quagga specific information on 'configure' and build-time
16configuration of the software, please read the Quagga info documentation,
17(doc/quagga.info). To read the info page included with the Quagga sources
18without first installing Quagga:
19
20 cd doc/
21 pinfo -r quagga.info
22
23Assuming you have the user-friendly 'pinfo' info browser installed.
24
25You can also the standard GNU 'info' browser, if you prefer this browser you
26have no doubt already spent a lot of time reading its documentation and dont
27need to be told how to specify an info file by filename. ;)
28
29The Quagga website should also have recent versions of documentation
30available online.
31
32--------------------------------------------------------------------------
33Building Quagga from CVS checkouts:
34
35In order to build from CVS, you will need recent versions of several GNU
gdt3764c0c2004-11-15 17:26:47 +000036tools, particularly autoconf, automake, libtool and texinfo. Note that the
gdt8bed7802004-11-15 15:34:50 +000037CVS snapshots on the Quagga website do not require these tools; everything
gdt3764c0c2004-11-15 17:26:47 +000038is already setup ready to run 'configure'. If you have trouble building
paul9104f562004-11-12 10:30:21 +000039from CVS checkout it is recommended that you try a CVS snapshot instead.
40
gdt3764c0c2004-11-15 17:26:47 +000041If you are building from plain CVS checkouts, the versions which
42should work at least with:
paul9104f562004-11-12 10:30:21 +000043
44 automake: 1.8.5
45 autoconf: 2.59
46 libtool: 1.5.6
gdt3764c0c2004-11-15 17:26:47 +000047 texinfo: 4.7
paul9104f562004-11-12 10:30:21 +000048
gdt38c2cfe2004-11-22 20:14:33 +000049Texinfo is not actually required since quagga.info is checked in.
50When texinfo 4.7 is widespread, it will be removed and texinfo will
51become required again. (4.7 has figure support, needed for the route
52server docs, which is why 4.6 doesn't work.)
53
gdt3764c0c2004-11-15 17:26:47 +000054To create the required autotools files (Makefile.in, configure, etc.),
55run either the 'update-autotools' script provided, or else the
ajscbf566e2004-11-15 19:43:16 +000056'autoreconf -i' command supplied with your autoconf package. After this
gdt3764c0c2004-11-15 17:26:47 +000057you may run configure. GNU texinfo is required in order to build
58doc/quagga.info, which is not supplied in CVS, but is supplied in the
59CVS snapshots on the Quagga website. quagga.info is created via
60makeinfo during the build.
paul9104f562004-11-12 10:30:21 +000061
62Please refer to "Building and Installing Quagga" above for further
63instructions.
gdt8bed7802004-11-15 15:34:50 +000064
65--------------------------------------------------------------------------
66Notes on required versions:
67
68The general goal is to use a modern baseline of tools, while not
69imposing pain on those tracking stable distributions. The notes below
70explain what versions are present in various environments.
71
gdt8bed7802004-11-15 15:34:50 +000072NetBSD 1.6.2 and 2.0 provide texinfo 4.6.
gdt38c2cfe2004-11-22 20:14:33 +000073NetBSD pkgsrc provides automake 1.9.1 autoconf 2.59 libtool 1.5.6
74NetBSD pgksrc provides texinfo 4.7 (devel/gtexinfo)
75
gdt9c3f5e62004-11-23 12:21:16 +000076OpenBSD 3.6 provides texinfo 4.2.
77OpenBSD [3.6] ports provides automake 1.4-p6 autoconf 2.5.9 libtool 1.5.8
gdt38c2cfe2004-11-22 20:14:33 +000078
paul9104f562004-11-12 10:30:21 +000079--------------------------------------------------------------------------