Irb aborts in 1.7.3 on Solaris

I’m also having trouble getting irb to work on Solaris. My problem appears
with irb --readline. I’ve cleaned everything out and I’m now going to
rebuild everything with the latest snapshots of source. I’ll let you know
how it goes.

uname -a
SunOS frisco 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-4

gcc --version
gcc (GCC) 3.2

···

-----Original Message-----
From: Jim Freeze [mailto:jim@freeze.org]
Sent: Friday, December 06, 2002 7:55 AM
To: ruby-talk@ruby-lang.org
Cc: ruby-core@ruby-lang.org
Subject: irb aborts in 1.7.3 on Solaris

Hi:

I did not get an answer to this before, so I’ll post again.

I just did a cvs get and compiled 1.7.3 on Solaris:

uname -a
SunOS juno 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10

When running irb, I get the following error:

irb
/home/jfn/myruby173/lib/ruby/1.7/sparc-solaris2.8/nkf.so: [BUG]
Segmentation fault
ruby 1.7.3 (2002-12-04) [sparc-solaris2.8]
Abort

Is this a known problem?


Jim Freeze

I'm also having trouble getting irb to work on Solaris. My problem appears
with irb --readline. I've cleaned everything out and I'm now going to
rebuild everything with the latest snapshots of source. I'll let you know
how it goes.

I've no problem

nasun% uname -a
SunOS nasun 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R
nasun%

nasun% gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/opt/gcc
Thread model: posix
gcc version 3.2
nasun%

nasun% ruby -v
ruby 1.7.3 (2002-12-04) [sparc-solaris2.8]
nasun%

nasun% irb --readline
irb(main):001:0> 1+1
=> 2
irb(main):002:0> 1+1
=> 2
irb(main):003:0> nasun%
nasun%

Guy Decoux