[ruby-core:75811] [Ruby trunk Bug#12449][Third Party's Issue] Trouble installing ruby 2.3.1 from source on Ubuntu 14.0
From:
shyouhei@...
Date:
2016-06-01 01:08:22 UTC
List:
ruby-core #75811
Issue #12449 has been updated by Shyouhei Urabe.
Status changed from Open to Third Party's Issue
closing as per request
----------------------------------------
Bug #12449: Trouble installing ruby 2.3.1 from source on Ubuntu 14.0
https://bugs.ruby-lang.org/issues/12449#change-58993
* Author: Sayee Natarajan
* Status: Third Party's Issue
* Priority: Normal
* Assignee:
* ruby -v: 2.3.1
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
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
--
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>