[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors when building from source
From: |
Wouter Beek |
Subject: |
Re: Errors when building from source |
Date: |
Thu, 27 Dec 2018 05:15:59 -0500 |
Hi Akim,
On more thing I noticed:
```
$ bison --version
bison (GNU Bison) 3.2.1.139-5fb0d-dirty
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
This is after building the latest commit on master. The `5fb0d' bit
correctly identifies this commit, but for the version number I was
expecting to see 3.2.4 or later...
---
Best,
Wouter.
Email: address@hidden
WWW: https://triply.cc
Tel: +31647674624
On Thu, Dec 27, 2018 at 5:04 AM Wouter Beek <address@hidden> wrote:
>
> Hi Akim,
>
> > > From the above I had concluded that I should first compile Bison and
> > > Flex later.
> >
> > Can't you get Flex from your distro?
>
> Yes, I'm now installing Flex through the package system (2.6.1).
>
> > > BTW, I also ran into the following error while running the `bootstrap'
> > > script in my local Bison directory for the first time:
> > >
> > > configure.ac:110: error: possibly undefined macro: AC_PROG_GNU_M4
> > > If this token and others are legitimate, please use
> > > m4_pattern_allow.
> > > See the Autoconf documentation.
> > > autoreconf: /usr/bin/autoconf failed with exit status: 1
> > >
> > > The link `m4/m4.m4' was not present in my local Bison directory.
> > > Following the discussion in
> > > https://lists.gnu.org/archive/html/bug-bison/2011-05/msg00012.html, I
> > > learned that running `git submodule update --init' prior to running
> > > `bootstrap' fixes this.
> >
> > That's weird. What "git status" noticing any difference?
>
> Yes, the missing file seems to have been deleted:
>
> ```
> $ git status
> On branch master
> Your branch is up to date with 'origin/master'.
>
> Changes not staged for commit:
> (use "git add/rm <file>..." to update what will be committed)
> (use "git checkout -- <file>..." to discard changes in working directory)
>
> deleted: m4/m4.m4
>
> Untracked files:
> (use "git add <file>..." to include in what will be committed)
>
> .bootstrap13738.0
> .bootstrap13738.1
> ```
>
> I now have a working build on another distribution (Fedora). I still
> encountered the above issue with the missing m4/m4.m4 file.
>
> ---
> Cheers,
> Wouter.
- Errors when building from source, Wouter Beek, 2018/12/26
- Re: Errors when building from source, Akim Demaille, 2018/12/26
- Re: Errors when building from source, Wouter Beek, 2018/12/26
- Re: Errors when building from source, Akim Demaille, 2018/12/27
- Re: Errors when building from source, Wouter Beek, 2018/12/27
- Re: Errors when building from source,
Wouter Beek <=
- Re: Errors when building from source, Uxio Prego, 2018/12/27
- Re: Errors when building from source, Akim Demaille, 2018/12/27
- Re: Errors when building from source, Akim Demaille, 2018/12/27
- Re: Errors when building from source, Akim Demaille, 2018/12/28
Re: Errors when building from source, Uxio Prego, 2018/12/26