Project

General

Profile

Actions

Bug #1361

closed

Configure fails to recognize the absence of bison

Bug #1361: Configure fails to recognize the absence of bison

Added by wesha (Wesha the Leopard) over 16 years ago. Updated over 14 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby-1.9.1-p0.tar.gz
Backport:
[ruby-core:23148]

Description

=begin
There is a line "YACC = bison" in Makefile.in; but configure fails to recognize the absence of bison

Bison is NOT installed by default on FreeBSD, resulting in the following error when "make"ing:


bison -d -o y.tab.c parse.y
gmake: bison: Command not found
gmake: *** [parse.c] Error 127
*** Error code 2

Stop in /root/_build/ruby.

Desired functionality:

  • configure recognizes the absence of bison and falls back to yacc

Less desired functionality:

  • configure recognizes the absence of bison and downloads and complies it in a temporary directory within the working directory tree

Least desired functionality:

  • configure recognizes the absence of bison and notifies the user of inability to continue.
    =end

Updated by nobu (Nobuyoshi Nakada) over 16 years ago Actions #1

=begin
Hi,

At Wed, 8 Apr 2009 06:16:43 +0900,
Wesha the Leopard wrote in [ruby-core:23148]:

Bison is NOT installed by default on FreeBSD, resulting in the following error when "make"ing:

Why do you need to make parse.c, which is included in the
tarball?

Desired functionality:

  • configure recognizes the absence of bison and falls back to yacc

Ruby 1.9 needs bison to create pure parser. Or yacc on FreeBSD
can generate it?

Least desired functionality:

  • configure recognizes the absence of bison and notifies the user of inability to continue.

The message from make is very clear, isn't it?

--
Nobu Nakada

=end

Updated by yugui (Yuki Sonoda) over 16 years ago Actions #2

  • Status changed from Open to Rejected

=begin

=end

Actions

Also available in: PDF Atom