ports/139455: converters/ruby-iconv is not usable with Ruby 1.9

Taro taro at mail333.com
Fri Oct 9 20:10:08 UTC 2009


>Number:         139455
>Category:       ports
>Synopsis:       converters/ruby-iconv is not usable with Ruby 1.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 09 20:10:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Taro
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD Pym 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon May  4 09:21:11 EEST 2009     root at Otaku.local:/usr/obj/mnt/big/src7/sys/PYM  i386
>Description:
There are both Ruby 1.8.7 and Ruby 1.9.1 installed on my system:
ruby+nopthreads+oniguruma-1.8.7.160_4,1
ruby-1.9.1.129_1,1

Also, there are installed iconv library
libiconv-1.13.1
and ruby wrapper for it (compiled from port converters/ruby-iconv)
ruby18-iconv-1.8.7.160

When compiling port converters/ruby-iconv,
it installs only module for Ruby version 1.8.7, but not for 1.9.1:
/usr/local/lib/ruby/1.8/i386-freebsd7/iconv.so
>How-To-Repeat:
Start interactive ruby shell with command `irb19`.
And try to require iconv lib:
require 'iconv'

You will got an error:
LoadError: no such file to load -- iconv
        from (irb):1:in `require'
        from (irb):1
        from /usr/local/bin/irb19:12:in `<main>'

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list