[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More problems with bison
From: |
Akim Demaille |
Subject: |
Re: More problems with bison |
Date: |
22 Jul 2002 12:42:27 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
>>>>> "Michael" == Michael Meskes <address@hidden> writes:
Michael> Hi, as you may recall I am maintaining the embedded SQL
Michael> precompiler for PostgreSQL and I met the limit of bison 1.35
Michael> a whil ago. After switching to 1.49 alpha all was well again,
Michael> but now I got a new problem.
Michael> My grammar grew some more and now my precompiler gives syntax
Michael> errors where none should be. I manually removed some 30K of
Michael> rules, not needed for this test case, and it works, but with
Michael> the full set it doesn't.
So you did find a real bug. But maybe it's gone in more recent
version of Bison.
Michael> I have no idea where to look for a bug in my app, so I wonder
Michael> if this may be a bug in bison. Unfortunately I cannot access
Michael> the archive with bison sources it seems,
Yep, GNU was attacked, and to make things worse, my ISP is bankrupt,
hence I have a miserable service: I'm not even sure I can upload the
tarball somewhere :( Maybe you can try:
http://goa.lrde.epita.fr/~akim/download/bison-1.49b.tar.bz2
but I wouldn't be surprised if it failed.
Michael> so I cannot test the most up-to-date snapshot, but if you
Michael> tell me where to find it I surely will.
If you're brace enough, follow this file:
------------------------------
-*- outline -*-
These notes intend to help people working on the CVS versions of
Bison.
* Requirements
Only the sources are installed in the CVS repository (to ease the
maintenance, merges etc.), therefore you will have to the maintainer
tools we depend upon:
- Automake 1.6.2
- Autoconf 2.53b
(ftp://sources.redhat.com/pub/automake/autoconf-2.53b.tar.gz)
- Gettext 0.11.3
Only building the initial full source tree will be a bit painful,
later, a plain `cvs update -P & make' should be sufficient.
* First CVS checkout
Obviously, if you are reading these notes, you did manage to check out
Bison from CVS. For the records, you will find all the relevant
information on:
http://savannah.gnu.org/cvs/?group_id=56
The next step is asking the installation of all the missing files:
$ ./bootstrap
And there you are! Just
$ ./configure && make && make check
At this point, there should be no difference between your local copy,
and the CVS master copy:
$ cvs diff
should output no difference, except maybe the date in po/*.po files.
Enjoy!
* Troubleshooting
Unfortunately the current Gettext still does not include all the
needed tools so that the bootstrapping always perform successfully.
If you experiment problems, I suggest the following:
1. Do a regular CVS checkout
2. Fetch a recent tarball.
http://www.lrde.epita.fr/~akim/download/bison-1.49b.tar.gz
3. Extract it
4. Override the content of your checkout with the content of this
tarball, i.e.:
cp -r bison-1.49b/* bison-cvs
5. Proceed on ./configure && make etc.
-----
Michael> Of course I could provide the grammar file or the complete
Michael> sources and the test case.
That would be terrific!