I am pleased to announce that Ruby 1.8.6, the latest release from the
1.8 stable branch, has finally been released.
This version of Ruby is a steady and reasonable enhancement of the 1.8
series including many bug and security fixes, standard library
updates, feature enhancements and performance improvements keeping
high backward compatibility with the previous release (1.8.5).
The source code tarballs are available in several formats at the
following locations:
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.bz2
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.zip
Checksums:
MD5 (ruby-1.8.6.tar.bz2) = e558a0e00ae318d43bf6ff9af452bad2
SHA256 (ruby-1.8.6.tar.bz2) = 0fc6ad0b31d8ec3997db2a56a2ac1c235283a3607abb876300fc711b3f8e3dd7
SIZE (ruby-1.8.6.tar.bz2) = 3946186
MD5 (ruby-1.8.6.tar.gz) = 23d2494aa94e7ae1ecbbb8c5e1507683
SHA256 (ruby-1.8.6.tar.gz) = 3ef37fb961d04471a1aef2c8079d6fab09932e3281d79859d5cd5d426bde0868
SIZE (ruby-1.8.6.tar.gz) = 4589394
MD5 (ruby-1.8.6.zip) = 5f4b82cec8f437634e05a3ce9bb3ca67
SHA256 (ruby-1.8.6.zip) = c4b011d66b3f7e3bddbdf61a7404120d5ac80c6b742ad08e7e75b6d14ee56e76
SIZE (ruby-1.8.6.zip) = 5545642
For a brief list of user visible changes and a full list of all
changes since 1.8.5, see the bundled files named NEWS and ChangeLog,
which are also available at the following locations:
http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6/NEWS
http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6/ChangeLog
After this announcement, we will start the development for 1.8.7 as
well as maintaining the "ruby_1_8_6" branch on which only critical
bugs and security vulnerabilities found in the 1.8.6 release are
fixed, and patch releases will follow on appropriate and timely
occasions. Please check them out after upgrading Ruby to 1.8.6.
Finally, I'd like to thank all those who helped me with the release
engineering. All your cooperation is greatly appreciated.
Regards,
--
/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp
"Different eyes see different things,
Different hearts beat on different strings --
But there are times for you and me when all such things agree"
PPC PowerBook G4, Mac OS X 10.4.8 (8L127) Darwin 8.8.0
making ruby
gcc -Wall -g -pipe -fno-common -DRUBY_EXPORT -L/opt/local/lib -L.
main.o -lruby-static -ldl -lobjc -o ruby
/usr/bin/ld: warning multiple definitions of symbol _setregid
/opt/local/lib/libruby-static.a(process.o) definition of _setregid in
section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(setregid.So)
definition of _setregid
/usr/bin/ld: warning multiple definitions of symbol _setreuid
/opt/local/lib/libruby-static.a(process.o) definition of _setreuid in
section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(setreuid.So)
definition of _setreuid
/usr/bin/ld: Undefined symbols:
_ruby_init_stack
collect2: ld returned 1 exit status
make[1]: *** [ruby] Error 1
make: *** [all] Error 2
ruby-1.8.6$
It's working for me...
Darwin MacBookPro 8.8.2 Darwin Kernel Version 8.8.2: Thu Sep 28 20:43:26
PDT 2006; root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386
First I set... CFLAGS=-O
then...
/configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local
make
make install
make install-doc
and it all went through fine... happy to share anything else that might
help if you tell me what it is you need.
-philip
Leopard?
-faisal
Does this will affect my gems and ri docs?
Thanks
No. Not unless they gave me a free upgrade and installed it without me
knowing about it :)
Don't know if it's right, but i just installed the same way as before and
have the new version... if you do a "make install-doc" you'll get the new
docs.
Dont' know about gems either, but my rails dev sites still work (running
1.1.6 and 1.2.2) so that's a good sign... and breakpoint now works too!
lib$ uname -a
Darwin Timothy-Hunters-Computer.local 8.8.0 Darwin Kernel Version 8.8.0:
Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power
Macintosh powerpc
lib$ gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5247)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Interesting. I have 8.8.0 on my PPC machine, and 8.8.1 on the Intel
machine. The PPC machine has no end of problems with Ruby (mostly
with gems), though.
-faisal
IIRC gcc 4.0.1 does have it's problems. Maybe you can try compiling
with gcc 3. Just
do a "gcc_select 3.x" where 3.x is the version of gcc 3 installed on
your system.
Urban
- --
http://bettong.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
iD8DBQFF9lylggNuVCIrEyURAr1HAJ0WEFfhFnA9YwCxxx8mo6z4DsSvTgCdEpoD
BuupXUG1fiiiW8zhViDB9Ns=
=V+EO
-----END PGP SIGNATURE-----
The ruby you are building is linking against the ruby lib in /opt/
local/lib. Can you try moving that out of the way first?
Anyway: it tries to link /opt/local/lib/libruby-static.a, which is
very likely the old version.
Either remove that file on build-time (it will be recreated when you
install), or change the command line to
gcc -Wall -g -pipe -fno-common -DRUBY_EXPORT -L/opt/local/lib -L.
main.o libruby-static.a -ldl -lobjc -o ruby
ie. change -lruby-static.a to libruby-static.a
I had the same problem on Solaris.
I did as he recommended an now everything is working perfectly. Thanks,
Patrick and Caleb!
I also had some minor problems while upgrading from 1.8.5 to 1.8.6 on
Mac OS X.
I made some notes here explaining the problems and how to work around
them:
http://wincent.com/knowledge-base/Building_and_installing_Ruby_1.8.6_on_Mac_OS_X_Tiger
As far as I know none of this is the result of bugs in Ruby itself;
rather it seems to be peculiarities of Mac OS X and of my own setup.
The key configure options required are:
--with-readline-dir=/usr/local --enable-pthread
And in my case I also had to take care of a bad RUBYLIB environment
variable that was getting set in my bash_profile.
Cheers,
Wincent