Re: Errors when building from source
Uxio Prego <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <[email protected]> |
> On 26 Dec 2018, at 19:11, Wouter Beek <[email protected]> wrote: > > Dear Akim, > > Thanks for looking into my issue! > >> 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? > > [...] > > Here are the full logs of the following command sequence: `git clone', > `git submodule', `bootstrap', `configure', and then `make': > > $ git clone https://git.savannah.gnu.org/git/bison.git > Cloning into 'bison'... > remote: Counting objects: 44790, done. > remote: Compressing objects: 100% (8152/8152), done. > remote: Total 44790 (delta 36834), reused 44294 (delta 36479) > Receiving objects: 100% (44790/44790), 11.99 MiB | 1.09 MiB/s, done. > Resolving deltas: 100% (36834/36834), done. > wbeek@wbeek-XPS-15-9570:~/git$ cd bison/ > wbeek@wbeek-XPS-15-9570:~/git/bison$ git submodule update --init > Submodule 'gnulib' (git://git.savannah.gnu.org/gnulib.git) registered > for path 'gnulib' > Submodule 'submodules/autoconf' (git://git.sv.gnu.org/autoconf.git) > registered for path 'submodules/autoconf' > Cloning into '/home/wbeek/git/bison/gnulib'... > Cloning into '/home/wbeek/git/bison/submodules/autoconf'... > Submodule path 'gnulib': checked out '95c96b6dddd31f3676f72ed044d0c493ab5642d8' > Submodule path 'submodules/autoconf': checked out > '487d6aaaa4fe45001d30c439ea6240fc74f1b5d7' > > [...] > > CC src/bison-relation.o > CC src/bison-scan-code-c.o > src/scan-code-c.c:3:10: fatal error: src/scan-code.c: No such file or directory > #include "src/scan-code.c" > ^~~~~~~~~~~~~~~~~ > compilation terminated. When I changed from the `master` branch to the `v3.2.4` tag some docs got apparently moved from `src/whatever.extension` to `src/whatever.extension~`... don't understand why... > Makefile:4243: recipe for target 'src/bison-scan-code-c.o' failed > make[2]: *** [src/bison-scan-code-c.o] Error 1 > make[2]: Leaving directory '/home/wbeek/git/bison' > Makefile:5156: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/home/wbeek/git/bison' > Makefile:2847: recipe for target 'all' failed > make: *** [all] Error 2 > > --- > Best regards, > Wouter Beek. > > Email: [email protected] > WWW: https://triply.cc > Tel: +31647674624 > > _______________________________________________ > [email protected] https://lists.gnu.org/mailman/listinfo/help-bison _______________________________________________ [email protected] https://lists.gnu.org/mailman/listinfo/help-bison