[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf on maint branch
From: |
Hans Åberg |
Subject: |
Re: autoconf on maint branch |
Date: |
Mon, 15 Jan 2018 20:27:53 +0100 |
> On 15 Jan 2018, at 18:08, Donovan Lampa <address@hidden> wrote:
>
> I'm trying to get a configure file on the maint branch so I can compile and
> install bison. The branch doesn't come with a configure file, nor does it
> contain an INSTALL file from what I could see.
It's in the README file, I believe.
# Getting branch 'maint' form archive:
git clone -b maint https://git.savannah.gnu.org/git/bison.git
# Possibly fix lexer files say from bison-3.0.4:
wget https://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz
tar -xf bison-3.0.4.tar.xz
cp bison-3.0.4/src/scan-code.c bison/src/
cp bison-3.0.4/src/scan-gram.c bison/src/
cp bison-3.0.4/src/scan-skel.c bison/src/
# Then, cf. file README-hacking:
cd bison/
git submodule update --init
./bootstrap
./configure
make
make check
git diff
> I'm on Mac OS X 10.13.2 and have a few things installed with homebrew so my
> $PATH looks a little funny:
>
> /usr/local/opt/m4/bin:/usr/local/opt/gettext/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/Users/dlampa/.rvm/bin
Normally, the more local locations are put first, so one can override. So you
may set /usr/local/ first.