[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling bison-3.0 on AIX 5.3
From: |
Michael Felt |
Subject: |
Re: compiling bison-3.0 on AIX 5.3 |
Date: |
Sat, 24 Aug 2013 22:38:25 +0200 |
I must be missing something - do I need to do something besides ./configure
(I did "make distclean", then configure, then make V=1)
address@hidden:[/data/prj/gnu/bison-3.0]make V=1
rm -f examples/extracted.stamp examples/extracted.stamp.tmp
touch examples/extracted.stamp.tmp
VERSION="3.0" /usr/bin/perl -f ./examples/extexi ./doc/bison.texi
-- examples/calc++/calc++-driver.cc
examples/calc++/calc++-driver.hh
examples/calc++/calc++-scanner.ll
examples/calc++/calc++.cc
examples/calc++/calc++-parser.yy
examples/mfcalc/calc.h examples/mfcalc/mfcalc.y
examples/rpcalc/rpcalc.y
Unrecognized switch: -f (-h will show valid options).
make: 1254-004 The error code from the last command is 255.
Stop.
with the following change in local.mk
+25
+26 doc = $(top_srcdir)/doc/bison.texi
+27 extexi = $(top_srcdir)/examples/extexi
+28 extract = VERSION="$(VERSION)" $(PERL) $(extexi) $(doc) --
+29 extracted =
+30 CLEANFILES += $(extracted) examples/extracted.stamp
+31 examples/extracted.stamp: $(doc) $(extexi)
"examples/local.mk" The cursor is at line 28 of 43 --65%-- .
On Sat, Aug 24, 2013 at 5:04 PM, Paul Eggert <address@hidden> wrote:
> Michael Felt wrote:
> > how to correct?
>
> Change the Makefile to not use '-f'. I pushed the following
> into the Savannah bison git maint branch; does it work for you?
>
> From 3d30af8aa51d9cd1697ea811b3f91e84c94b16a4 Mon Sep 17 00:00:00 2001
> From: Paul Eggert <address@hidden>
> Date: Sat, 24 Aug 2013 07:52:27 -0700
> Subject: [PATCH] build: port to pre-5.8.7 perl
>
> * examples/local.mk (extract): Omit -f from perl options.
> This doesn't work with perl versions before 5.8.7
> that are configured without USE_SITECUSTOMIZE.
> Reported by Michael Felt in
> <http://lists.gnu.org/archive/html/bug-bison/2013-08/msg00006.html>.
> ---
> examples/local.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/local.mk b/examples/local.mk
> index 05e28e1..c79c800 100644
> --- a/examples/local.mk
> +++ b/examples/local.mk
> @@ -25,7 +25,7 @@ AM_CXXFLAGS =
> \
>
> doc = $(top_srcdir)/doc/bison.texi
> extexi = $(top_srcdir)/examples/extexi
> -extract = VERSION="$(VERSION)" $(PERL) -f $(extexi) $(doc) --
> +extract = VERSION="$(VERSION)" $(PERL) $(extexi) $(doc) --
> extracted =
> CLEANFILES += $(extracted) examples/extracted.stamp
> examples/extracted.stamp: $(doc) $(extexi)
> --
> 1.7.11.7
>
>
>
- compiling bison-3.0 on AIX 5.3, Michael Felt, 2013/08/23
- Re: compiling bison-3.0 on AIX 5.3, Paul Eggert, 2013/08/23
- Re: compiling bison-3.0 on AIX 5.3,
Michael Felt <=
- Re: compiling bison-3.0 on AIX 5.3, Paul Eggert, 2013/08/24
- Re: compiling bison-3.0 on AIX 5.3, Michael Felt, 2013/08/25
- Re: compiling bison-3.0 on AIX 5.3, Michael Felt, 2013/08/25
- Re: compiling bison-3.0 on AIX 5.3, Michael Felt, 2013/08/25