Re: Errors when building from source

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
Hi Wouter,

> Le 26 déc. 2018 à 15:57, Wouter Beek <[email protected]> a écrit :
> 
> Dear Bison users,
> 
> I'm having trouble building recent Bison versions from source.  (I
> want to use a fairly recent Bison version because of the recent
> improvements for C++.)  Does anybody else encounter these problems as
> well, or am I making a mistake.
> 
> These are the commands that I run:
> 
>    git clone https://git.savannah.gnu.org/git/bison.git
>    cd bison
>    git submodule update --init
>    ./bootstrap
>    ./configure
>    make
> 
> When I do this with the current master HEAD (commit a4ed...):
> 
>    src/scan-code-c.c:3:10: fatal error: src/scan-code.c: No such file
> or directory
>     #include "src/scan-code.c"

I ran the same sequence, and it worked as expected.  I would need more information, such as more the complete logs of "make".  You do have flex, right?


> When do this on a checkout of tag v3.2.4:
> 
>    In file included from src/AnnotationList.c:23:0:
>    src/AnnotationList.h:23:11: fatal error: bitsetv.h: No such file
> or directory
>     # include <bitsetv.h>

master and 3.2 have different versions of gnulib, you need to bootstrap again.
_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.