[ANN] ruby 1.8.1

Y

Yukihiro Matsumoto

Merry Christmas,

We finally announce the release of final stable 1.8.1 at

ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.1.tar.gz

This is mainly a bug fix release. You can wait for mirrors, if you
are not in hurry. Mirroring volunteers are welcome. In any cases,
the Md5 check sum is

5d52c7d0e6a6eb6e3bc68d77e794898e ruby-1.8.1.tar.gz

Happy Hacking Holidays.

matz.
 
H

Harry Ohlsen

Yukihiro said:
Merry Christmas,

We finally announce the release of final stable 1.8.1 at

ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.1.tar.gz
Just downloaded and built it on my Redhat 9 system. Works like a charm.

Merry Christmas from a not so white Christmas here in Sydney ... it's
currently 37C.

Harry O.
 
A

Aredridel

Merry Christmas,

We finally announce the release of final stable 1.8.1 at

ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.1.tar.gz

Checked in to PLD's builders. Looks great! (And I'm happy to see rdoc
and xsd libraries!)

Ari
 
T

ts

Y> ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.1.tar.gz

It don't like Solaris


nasun% ./configure --prefix=~/local/rp --enable-pthread
checking build system type... sparc-sun-solaris2.8
[...]
checking for nanosleep... no
checking for nanosleep in -lrt... yes
[...]
nasun%

nasun% make
gcc -g -O2 -I. -I. -c array.c
[...]
gcc -g -O2 main.o dmyext.o libruby-static.a -lpthread -ldl -lcrypt -lm -o miniruby
Undefined first referenced
symbol in file
nanosleep libruby-static.a(eval.o)
ld: fatal: Symbol referencing errors. No output written to miniruby
collect2: ld returned 1 exit status
make: *** [miniruby] Error 1
nasun%

nasun% grep -w rt configure.in
AC_CHECK_LIB(rt, nanosleep, AC_DEFINE(HAVE_NANOSLEEP))
nasun%


Guy Decoux
 
S

Shashank Date

Yukihiro Matsumoto said:
Merry Christmas,

Wish you all Merry Christmas and a very Happy New Year !
We finally announce the release of final stable 1.8.1 at

ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.1.tar.gz

Thanks a million, Matz !!
This is mainly a bug fix release. You can wait for mirrors, if you
are not in hurry. Mirroring volunteers are welcome. In any cases,
the Md5 check sum is

5d52c7d0e6a6eb6e3bc68d77e794898e ruby-1.8.1.tar.gz

Happy Hacking Holidays.

Only one error while testing on Win XP (Home) compiled
using VC++ 6.0

C:\RUBY-1.8.1\test>ruby -v
ruby 1.8.1 (2003-12-25) [i386-mswin32]
C:\RUBY-1.8.1\test>ruby runner.rb
Loaded suite .
Started
............................E................................................
....
.............................................................................
....
.............................................................................
....
.............................................................................
....
.............................................................................
....
.............................................................................
....
.............................................................................
....
....................................................
rexml cannot handle euc-jp without iconv/uconv
.............................................................................
.....
Finished in 138.86 seconds.

1) Error:
test_macCR(TestCSV):
CSV::IllegalFormatError: CSV::IllegalFormatError
c:/ruby/lib/ruby/1.8/csv.rb:509:in `get_row'
c:/ruby/lib/ruby/1.8/csv.rb:352:in `each'
c:/ruby/lib/ruby/1.8/csv.rb:324:in `parse'
c:/ruby/lib/ruby/1.8/csv.rb:231:in `open_reader'
c:/ruby/lib/ruby/1.8/csv.rb:208:in `open'
./csv/test_csv.rb:1265:in `test_macCR'

683 tests, 7251 assertions, 0 failures, 1 errors

C:\RUBY-1.8.1\test>
 
N

NAKAMURA, Hiroshi

Hi,
From: "Shashank Date" <[email protected]>
Newsgroups: comp.lang.ruby
Sent: Friday, December 26, 2003 2:51 PM
Only one error while testing on Win XP (Home) compiled
using VC++ 6.0
Hmm.

1) Error:
test_macCR(TestCSV):
CSV::IllegalFormatError: CSV::IllegalFormatError
c:/ruby/lib/ruby/1.8/csv.rb:509:in `get_row'
c:/ruby/lib/ruby/1.8/csv.rb:352:in `each'
c:/ruby/lib/ruby/1.8/csv.rb:324:in `parse'
c:/ruby/lib/ruby/1.8/csv.rb:231:in `open_reader'
c:/ruby/lib/ruby/1.8/csv.rb:208:in `open'
./csv/test_csv.rb:1265:in `test_macCR'

683 tests, 7251 assertions, 0 failures, 1 errors

Would you please show the result of

ruby -e 'p ARGF.binmode.read' csv/mac.csv

?

Regards,
// NaHi
 
S

Shashank Date

NAKAMURA said:
Would you please show the result of

ruby -e 'p ARGF.binmode.read' csv/mac.csv

C:\RUBY-1.8.1\test>ruby -e 'p ARGF.binmode.read' csv/mac.csv
"\"Avenches\",\"aus Umgebung\"\r\n\"Bad Hersfeld\",\"Ausgrabung\""

Thank you for your attention.
-- shanko
 
N

NAKAMURA, Hiroshi

Hi,
From: "Shashank Date" <[email protected]>
Newsgroups: comp.lang.ruby
Sent: Friday, December 26, 2003 3:26 PM
C:\RUBY-1.8.1\test>ruby -e 'p ARGF.binmode.read' csv/mac.csv
"\"Avenches\",\"aus Umgebung\"\r\n\"Bad Hersfeld\",\"Ausgrabung\""

Hmm. mac.csv is broken. "\r\n" between records must be "\r".
How did you get this file? Did you open this file with some editor?

Anyway, I'll change the test to create the target file or stream on
the fly. You don't have to mind this error. You 1.8.1 is clean.

Regards,
// NaHi
 
S

Shashank Date

NAKAMURA said:
Hmm. mac.csv is broken. "\r\n" between records must be "\r".
How did you get this file? Did you open this file with some editor?

I did not change this file. The time-stamp on this file is still intact:
---------------------------
C:\RUBY-1.8.1\test\csv>dir /O /AA
Volume in drive C has no label.
Volume Serial Number is 6B0E-6992

Directory of C:\RUBY-1.8.1\test\csv

09/03/2003 07:45 AM 17 bom.csv
09/15/2003 05:07 AM 54 mac.csv
12/12/2003 06:31 PM 44,904 test_csv.rb
3 File(s) 44,975 bytes
0 Dir(s) 24,625,561,600 bytes free
---------------------------
Anyway, I'll change the test to create the target file or stream on
the fly. You don't have to mind this error. You 1.8.1 is clean.

Great !

I did have to change the win32\Makefile.sub a little to get it to compile
though.
Added the following :

!if !defined(incdir)
incdir="C:\Program Files\Microsoft Visual Studio\VC98\Include"
!endif

And changed the following to use the $(incdir) variable defined above:

!if !defined(CPPFLAGS)
CPPFLAGS = -I$(incdir) -I. -I$(srcdir) -I$(srcdir)/missing
!endif


Thanks ....
Regards,
// NaHi

-- shanko
 
Z

ziggy

nasun%

nasun% ./configure --prefix=~/local/rp --enable-pthread
It don't like Solaris

I compiled OK under Solaris 2.8 just using ./configure with no
--enable-pthread option & everything was ok (got through tests fine with just 1
error in xml-soap part of test)

but If I do ./configure --enable-pthread I get same error as you.
 
N

NAKAMURA, Hiroshi

Hi,
From: "Shashank Date" <[email protected]>
Newsgroups: comp.lang.ruby
Sent: Friday, December 26, 2003 10:46 PM

I did not change this file. The time-stamp on this file is still intact:

Eban-san tells me that winzip extracts "\r" in a file as "\r\n"...

Regards,
// NaHi
 
G

George Moschovitis

We finally announce the release of final stable 1.8.1 at

This is an excellent Xmas gift! Thanks a lot!

-g.


ps: is there a review of the new features in 1.8.1 somewhere on the
net? I understand there are some new libraries added.
 
K

Kero

Merry Christmas,

We finally announce the release of final stable 1.8.1 at

ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.1.tar.gz

This is mainly a bug fix release. You can wait for mirrors, if you
are not in hurry. Mirroring volunteers are welcome. In any cases,
the Md5 check sum is

5d52c7d0e6a6eb6e3bc68d77e794898e ruby-1.8.1.tar.gz

Happy Hacking Holidays.

$ ./configure --enable-shared --prefix=/usr/local
$ make
$ make test
test succeeded
# make install
$ cd test
$ strace ruby -v 2>&1 | tail
stat64("/usr/lib/mmx/cmov", 0xbffff348) = -1 ENOENT (No such file or directory)
open("/usr/lib/mmx/libruby.so.1.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/mmx", 0xbffff348) = -1 ENOENT (No such file or directory)
open("/usr/lib/cmov/libruby.so.1.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/cmov", 0xbffff348) = -1 ENOENT (No such file or directory)
open("/usr/lib/libruby.so.1.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=53248, ...}) = 0
writev(2, [{"ruby", 4}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libruby.so.1.8", 14}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10ruby: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory
) = 118
exit_group(127) = ?

Isn't that supposed to be /usr/local/lib/libruby.so.1.8 ?

Bye,
Kero.

PS: seems to be working fine without --enable-shared (running ruby
runner.rb now)

+--- Kero ----------------------- (e-mail address removed) ---+
| all the meaningless and empty words I spoke |
| Promises -- The Cranberries |
+--- M38c --- http://httpd.chello.nl/k.vangelder ---+
 
Y

Yukihiro Matsumoto

Hi,

In message "Re: [ANN] ruby 1.8.1"

|$ ./configure --enable-shared --prefix=/usr/local
|$ make
|$ make test
|test succeeded
|# make install
|$ cd test
|$ strace ruby -v 2>&1 | tail
|stat64("/usr/lib/mmx/cmov", 0xbffff348) = -1 ENOENT (No such file or directory)
|open("/usr/lib/mmx/libruby.so.1.8", O_RDONLY) = -1 ENOENT (No such file or directory)
|stat64("/usr/lib/mmx", 0xbffff348) = -1 ENOENT (No such file or directory)
|open("/usr/lib/cmov/libruby.so.1.8", O_RDONLY) = -1 ENOENT (No such file or directory)
|stat64("/usr/lib/cmov", 0xbffff348) = -1 ENOENT (No such file or directory)
|open("/usr/lib/libruby.so.1.8", O_RDONLY) = -1 ENOENT (No such file or directory)
|stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=53248, ...}) = 0
|writev(2, [{"ruby", 4}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libruby.so.1.8", 14}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10ruby: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory
|) = 118
|exit_group(127) = ?
|
|Isn't that supposed to be /usr/local/lib/libruby.so.1.8 ?

Did you try ldconfig?

matz.
 
K

Kero

|Isn't that supposed to be /usr/local/lib/libruby.so.1.8 ?
Did you try ldconfig?

I should have...
(this is the single .so ruby is not loading itself :)

Problem is indeed in the ldconfig/LD_LIBRARY_PATH area.
Things are much better now :)

Bye,
Kero.

+--- Kero ----------------------- (e-mail address removed) ---+
| all the meaningless and empty words I spoke |
| Promises -- The Cranberries |
+--- M38c --- http://httpd.chello.nl/k.vangelder ---+
 
A

Andreas Schwarz

Yukihiro said:
Merry Christmas,

We finally announce the release of final stable 1.8.1 at

ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.1.tar.gz

% cd test
% ruby runner.rb
Loaded suite .
Started
............................................................................................................................................................................................................................................................................................................................................................................................................................................/usr/local/lib/ruby/1.8/xsd/charset.rb:139: [BUG] Segmentation fault
ruby 1.8.1 (2003-12-25) [i686-linux]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,085
Latest member
cryptooseoagencies

Latest Threads

Top