[Userland] [OpenIndiana Distribution - Bug #3175] (Closed) Ruby's rbconfig.rb needs improving

illumos project devnull at illumos.org
Wed Jul 10 19:58:53 UTC 2013


Issue #3175 has been updated by Ken Mays.

Status changed from New to Closed
Assignee changed from Alasdair Lumsden to OI Userland
% Done changed from 0 to 100

Issues fixed within new package for /hipster.
runtime/ruby-18 at 1.8.7.374,5.11-0.151.1.8.1:20130709T142131Z

----------------------------------------
Bug #3175: Ruby's rbconfig.rb needs improving
https://www.illumos.org/issues/3175

Author: Alasdair Lumsden
Status: Closed
Priority: Low
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: 
Difficulty: Medium
Tags: 


Current issues:

1. It contains build system private information, eg:

  CONFIG["configure_args"] = " '--prefix=/usr/ruby/1.8' '--enable-dtrace' '--enable-shared' '--enable-install-doc' '--disable-option-checking' '--with-openssl' '--with-tk-dir=/usr' '--with-curses-dir=/usr' 'CC=/opt/SUNWspro/bin/cc' 'CFLAGS=-xO4 -xbuiltin=%all -xinline=%auto -xprefetch=auto -xdepend -xtarget=generic -I/home/jt/OI-151A-STABLE/151A-PRESTABLE6/newbuilds/sfw/proto/root_i386/usr/include' 'LDFLAGS=-L/home/jt/OI-151A-STABLE/151A-PRESTABLE6/newbuilds/sfw/proto/root_i386/usr/lib -M /home/jt/OI-151A-STABLE/151A-PRESTABLE6/newbuilds/sfw/usr/src/cmd/mapfile_noexstk -R/usr/sfw/lib' 'CPPFLAGS=-DTEXT_DOMAIN=\\\"\\\"  -I/home/jt/OI-151A-STABLE/151A-PRESTABLE6/newbuilds/sfw/proto/root_i386/usr/include  -I/home/jt/OI-151A-STABLE/151A-PRESTABLE6/newbuilds/sfw/proto/root_i386/usr/sfw/include  -I/home/jt/OI-151A-STABLE/151A-PRESTABLE6/newbuilds/sfw/proto/root_i386/usr/include    -I/home/jt/OI-151A-STABLE/151A-PRESTABLE6/newbuilds/sfw/proto/root_i386/usr/include'"

2. It contains compiler specific flags and chooses a compiler, eg:

  CONFIG["LDFLAGS"] = "-L/usr/sfw/lib -R/usr/sfw/lib"
  CONFIG["CFLAGS"] = "-g -O3 -fPIC"
  CONFIG["CC"] = "/usr/sfw/bin/gcc"

Some of this stuff may be fixed in the userland ruby but I thought i'd throw this out there for now so I don't forget.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list