Project

General

Profile

Actions

Bug #16042

closed

Error compiling ruby 2.7.0: recipe for target 'parse.c' failed

Bug #16042: Error compiling ruby 2.7.0: recipe for target 'parse.c' failed

Added by manhnd (Mạnh Nguyễn) over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
[ruby-core:94125]

Description

I get an error when compiling ruby from https://github.com/ruby/ruby

Environment

root@instance-2:~/fuzz_ruby/ruby# uname -a Linux instance-2 4.15.0-1036-gcp #38~16.04.1-Ubuntu SMP Tue Jun 25 15:30:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux -------------- root@instance-2:~/fuzz_ruby/ruby# lsb_release -r Release: 16.04 -------------- root@instance-2:~/fuzz_ruby/ruby# ruby -v ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] -------------- root@instance-2:~/fuzz_ruby/ruby# git describe --tags v2_7_0_preview1-1372-g688a59f 

Compilation

Commands executed: autoconf; ./configure; make
Output of ./configure: configure.txt
Output of ./make: make.txt

Short description of error

... compiling pack.c generating parse.c ./tool/pure_parser.rb:7:in `popen': No such file or directory - bison (Errno::ENOENT) from ./tool/pure_parser.rb:7:in `<main>' make: *** [parse.c] Error 1 uncommon.mk:857: recipe for target 'parse.c' failed 

Please fix the bug.

Thanks & Regards,
Manh Nguyen


Files

configure.txt (27.7 KB) configure.txt manhnd (Mạnh Nguyễn), 08/03/2019 04:52 AM
make.txt (2.1 KB) make.txt manhnd (Mạnh Nguyễn), 08/03/2019 04:53 AM

Updated by hsbt (Hiroshi SHIBATA) over 6 years ago Actions #1 [ruby-core:94126]

  • Status changed from Open to Rejected

./tool/pure_parser.rb:7:in popen': No such file or directory - bison (Errno::ENOENT)

You should install bison software via macports or homebrew.

Updated by nobu (Nobuyoshi Nakada) over 6 years ago Actions #2 [ruby-core:94127]

  • Description updated (diff)

hsbt (Hiroshi SHIBATA) wrote:

./tool/pure_parser.rb:7:in popen': No such file or directory - bison (Errno::ENOENT)

You should install bison software via macports or homebrew.

As the OS is Ubuntu, should via apt.

Updated by manhnd (Mạnh Nguyễn) over 6 years ago Actions #3 [ruby-core:94130]

I successfully installed ruby. Thank you all!

Actions

Also available in: PDF Atom