From: nobu@... Date: 2019-08-03T05:15:12+00:00 Subject: [ruby-core:94127] [Ruby master Bug#16042] Error compiling ruby 2.7.0: recipe for target 'parse.c' failed Issue #16042 has been updated by nobu (Nobuyoshi Nakada). Description updated 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. ---------------------------------------- Bug #16042: Error compiling ruby 2.7.0: recipe for target 'parse.c' failed https://bugs.ruby-lang.org/issues/16042#change-80376 * Author: manhnd (M���nh Nguy���n) * Status: Rejected * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- 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 `
' 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) make.txt (2.1 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: