Backport #8388

baseruby issue on OpenIndiana / Oracle Solaris 11.x

Added by Dave E over 2 years ago. Updated over 2 years ago.

Assignee:Dave E


When compiling ruby-2.0.0-p0 on OpenIndiana / Oracle Solaris 11.x (both amd64),

make/gmake fails with miniprelude.c and turns out:
executable host ruby is required. use --with-baseruby option

the means of --with-baseruby has a very poor explanation, especially for someone like me who's very new to ruby.
The doc should mention, that baseruby is a the path to an already on the system existing ruby binary.

However, the above error message origins from different file owner/group memberships after an untar of the source package.


after untar issue: chown -R :

The above affects Issue #3008 and makes omitting Christians's touch command, as the chown-cmd updates the file inode information as well.

I can confirm a successful ruby-2.0.0 amd64 build on OpenIndiana and have released a Ruby IPS package in our repository at


./configure --prefix=/opt/sfp/ruby2 --enable-shared CC='/opt/gcc/4.4.4/bin/gcc' CFLAGS='-m64 -O3 -I/opt/sfp/include -I/usr/include' LDFLAGS='-L/lib/64 -lc -L/opt/sfp/lib -L/usr/lib/64'


ldd /opt/sfp/ruby2/bin/ruby => /lib/64/ => /opt/sfp/ruby2/lib/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /usr/lib/64/ => /lib/64/ => /usr/lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/


/opt/sfp/ruby2/bin/ruby --version
ruby 2.0.0p0 (2013-02-24) [i386-solaris2.11]


please feel free to mention the release of my Ruby2 install pkg for OpenIndiana / Solaris 11.x
on your web site.

Regards from Germany!

Related issues

Related to Backport200 - Backport #8387: Compiling Ruby 2.0 on SunOS Closed 05/10/2013


#1 Updated by Dave E over 2 years ago

can be closed, solution is maybe relevant for builds of future Ruby releases on the particular platforms.

#2 Updated by Tomoyuki Chikanaga over 2 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF