[ruby-core:75809] [Ruby trunk Bug#12449] Trouble installing ruby 2.3.1 from source on Ubuntu 14.0

From: lakshmi_sayee@...
Date: 2016-05-31 20:37:56 UTC
List: ruby-core #75809
Issue #12449 has been updated by Sayee Natarajan.


You can close this

----------------------------------------
Bug #12449: Trouble installing ruby 2.3.1 from source on Ubuntu 14.0
https://bugs.ruby-lang.org/issues/12449#change-58991

* Author: Sayee Natarajan
* Status: Open
* 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>

In This Thread

Prev Next