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
Actions

Also available in: PDF Atom