Actions
Bug #12449
closedTrouble installing ruby 2.3.1 from source on Ubuntu 14.0
Description
Hi,
I am getting errors in compiling. Here's the log - http://paste.ubuntu.com/16873263/
Error is the same regardless of versions from 2.2, 2.3, 2.4.I tried through rbenv, direct compile etc. as well. I have installed all dependencies.
It looks like an issue with Include path for headers.
Thank you in advance
Sayee
Here are the errors:¶
compiling error.c
In file included from ./include/ruby/defines.h:68:0,
from ./include/ruby/ruby.h:36,
from miniinit.c:12:
./include/ruby/missing.h:61:5: error: unknown type name ‘time_t’
time_t tv_sec; /* seconds */
^
I
from /usr/include/errno.h:1,
from ./include/ruby/io.h:23,
from internal.h:17,
from array.c:14:
/usr/include/errno.h:1:19: error: #include nested too deeply
Updated by natarajs (Sayee Natarajan) over 8 years ago
apt-get install —reinstall libc6-dev fixed the issue.
Updated by natarajs (Sayee Natarajan) over 8 years ago
You can close this
Updated by shyouhei (Shyouhei Urabe) over 8 years ago
- Status changed from Open to Third Party's Issue
closing as per request
Actions
Like0
Like0Like0Like0