Project

General

Profile

Bug #16042

Updated by nobu (Nobuyoshi Nakada) over 4 years ago

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

 ### Environment **********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********** 
 ### Compilation 
 Commands executed: autoconf; ./configure; make 
 Output of ./configure: configure.txt 
 Output of ./make: make.txt 
 ### Short **********Short description of error 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

Back