Bug #1361
closedConfigure fails to recognize the absence of bison
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
=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
- Status changed from Open to Rejected
=begin
=end