Issue #16042 has been updated by manhnd (Mnh Nguyn).


I successfully installed ruby. Thank you all!

----------------------------------------
Bug #16042: Error compiling ruby 2.7.0: recipe for target 'parse.c' failed
https://bugs.ruby-lang.org/issues/16042#change-80379

* Author: manhnd (Mnh Nguyn)
* 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 `<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)
make.txt (2.1 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>