]>
Commit | Line | Data |
---|---|---|
2ab9a04f AD |
1 | -*- outline -*- |
2 | ||
d1a6f01e | 3 | These notes intend to help people working on the CVS versions of |
2ab9a04f AD |
4 | Bison. |
5 | ||
6 | * Requirements | |
7 | ||
8 | Only the sources are installed in the CVS repository (to ease the | |
1f65350a PE |
9 | maintenance, merges etc.), therefore you will have to get the latest |
10 | stable versions of the maintainer tools we depend upon, including: | |
cd3684cf | 11 | |
1f65350a PE |
12 | - Automake |
13 | - Autoconf | |
14 | - Flex | |
15 | - Gettext | |
cd3684cf | 16 | - CVS Bison itself |
d1a6f01e AD |
17 | |
18 | Only building the initial full source tree will be a bit painful, | |
19 | later, a plain `cvs update -P & make' should be sufficient. | |
20 | ||
21 | * First CVS checkout | |
22 | ||
23 | Obviously, if you are reading these notes, you did manage to check out | |
24 | Bison from CVS. For the records, you will find all the relevant | |
25 | information on: | |
26 | ||
27 | http://savannah.gnu.org/cvs/?group_id=56 | |
28 | ||
29 | The next step is asking the installation of all the missing files: | |
30 | ||
01c56de4 | 31 | $ ./bootstrap |
d1a6f01e AD |
32 | |
33 | And there you are! Just | |
34 | ||
35 | $ ./configure && make && make check | |
36 | ||
37 | At this point, there should be no difference between your local copy, | |
38 | and the CVS master copy: | |
39 | ||
40 | $ cvs diff | |
41 | ||
42 | should output no difference, except maybe the date in po/*.po files. | |
43 | ||
44 | Enjoy! | |
45 | ||
976e6270 AD |
46 | * Troubleshooting |
47 | ||
48 | Unfortunately the current Gettext still does not include all the | |
49 | needed tools so that the bootstrapping always perform successfully. | |
50 | ||
1b17ce8e | 51 | If you experience problems, I suggest the following: |
976e6270 | 52 | |
2ab9a04f AD |
53 | 1. Do a regular CVS checkout |
54 | ||
bd701811 | 55 | 2. Fetch a recent tarball in: |
1f65350a | 56 | ftp://alpha.gnu.org/gnu/bison/ |
2ab9a04f AD |
57 | |
58 | 3. Extract it | |
59 | ||
60 | 4. Override the content of your checkout with the content of this | |
976e6270 | 61 | tarball, i.e.: |
1f65350a | 62 | cp -r bison-1.875c/* bison-cvs |
2ab9a04f AD |
63 | |
64 | 5. Proceed on ./configure && make etc. | |
d1a6f01e AD |
65 | |
66 | ----- | |
67 | ||
1f65350a | 68 | Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. |
d1a6f01e | 69 | |
976e6270 | 70 | This file is part of GNU Bison. |
d1a6f01e | 71 | |
976e6270 | 72 | GNU Bison is free software; you can redistribute it and/or modify |
d1a6f01e AD |
73 | it under the terms of the GNU General Public License as published by |
74 | the Free Software Foundation; either version 2, or (at your option) | |
75 | any later version. | |
76 | ||
976e6270 | 77 | GNU Bison is distributed in the hope that it will be useful, |
d1a6f01e AD |
78 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
79 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
80 | GNU General Public License for more details. | |
81 | ||
82 | You should have received a copy of the GNU General Public License | |
976e6270 | 83 | along with Bison; see the file COPYING. If not, write to |
0fb669f9 PE |
84 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
85 | Boston, MA 02110-1301, USA. |