Wanted to let everybody know that use-devkit branch:
http://github.com/oneclick/rubyinstaller/tree/use-devkit
Now is able to compile all Ruby 1.9 and Ruby 1.8 dependencies using
GCC 4.5.0, including OpenSSL.
Not only that, but uses the same MSYS+MinGW checkout used by the
devkit without all the bash login invocation it used to have.
This prove that the DevKit works :-)
Addition to that, it reduces the amount of extracting-over-extracting
when running tasks the second time. I know, is not very smart, but
works.
Also, while doing that, decided that copying Ruby source code when
working with a checkout or using LOCAL (using a git checkout or
something) was too much. it now just uses the source as reference.
So far 1.8.7-p299, 1.9.2-rc2 and r28875 of ruby_1_9_2 branch compiled
successfully with all the extensions.
I had introduced some changes that other pair of eyes could provide
more feedback (the more the better).
If no critical issue is raised, this will get merged back to master
with the goal of getting 1.9.2 in proper shape for it's upcoming
release.
This overrules gcc-4-5 branch I created before, seems a saner approach
than the one I took.
Please let me know any other issue you might find.
Have a nice weekend.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
Hello,
Wanted to let everybody know that use-devkit branch:
http://github.com/oneclick/rubyinstaller/tree/use-devkit
Now is able to compile all Ruby 1.9 and Ruby 1.8 dependencies using
GCC 4.5.0, including OpenSSL.
Building on Win7 Ultimate 32-bit using MRI 1.8.7p299 and running
rake ruby19 local="c:\Users\Jon\Documents\RubyDev\ruby-trunk"
I see the following problems:
1) sandbox/openssl is not removed via a rake clean; attached patch fixes the problem.
2) case sensitivity in "local" command line environment var. When the drive letter in local="c:\..." is uppercased to local="C:\..." the problem goes away and 28908 built without error.
make[1]: Leaving directory `/c/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbox/src-libyaml/win32'
cd -
touch C:/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbox/.checkpoints/.yaml-install
Activating libyaml version 0.1.3
rake aborted!
different prefix: "c:/" and "C:/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbox/ruby19_build"
3) When attempting to build with JRuby 1.5.1
echo executable host ruby is required. use --with-baseruby option.; false -I../../../ruby-trunk ../../../ruby-trunk/tool/compile_prelude.rb ../../../ruby-trunk/prelude.rb miniprelude.c
executable host ruby is required. use --with-baseruby option.
make: *** [miniprelude.c] Error 1
Thank you.
I'm seriously thinking we should deprecate Ruby 1.8.6 support,
specially since some of the fixes we push to 1.8.7 haven't reached
1.8.6 branch yet.
Thank you, adding.
> 2) case sensitivity in "local" command line environment var. When the drive letter in local="c:\..." is uppercased to local="C:\..." the problem goes away and 28908 built without error.
>
> make[1]: Leaving directory `/c/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbox/src-libyaml/win32'
> cd -
> touch C:/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbox/.checkpoints/.yaml-install
> Activating libyaml version 0.1.3
> rake aborted!
> different prefix: "c:/" and "C:/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbox/ruby19_build"
>
Pathname issues, I hate it.
>
> 3) When attempting to build with JRuby 1.5.1
>
> echo executable host ruby is required. use --with-baseruby option.; false -I../../../ruby-trunk ../../../ruby-trunk/tool/compile_prelude.rb ../../../ruby-trunk/prelude.rb miniprelude.c
> executable host ruby is required. use --with-baseruby option.
> make: *** [miniprelude.c] Error 1
> rake aborted!
> Command failed with status (2): [make...]
>
JRuby is not supported as baseruby for building 1.9.x, it tries to
find "ruby.exe", and not "jruby.exe".
I would rather prefer you use MRI to build MRI ;-)
You know, less things to think could fail :-D
Sometimes the curiousity gets the best of all of us...attached is the killer patch I know you've been waiting for ;)
Thank you for the patch, however, it doesn't work. MRI do some things
that JRuby do not understand, and crash:
Going to stash this for other time:
Sadly, yes http://groups.google.com/group/jruby-users/browse_thread/thread/b7552d4241f36a98
And IronRuby 1.1 doesn't even get that far :(
[C:\Users\Jon\Documents\RubyDev\rubyinstaller-trunk]rake ruby19 local="C:\Users\Jon\Documents\RubyDev\ruby-trunk"
(in C:/Users/Jon/Documents/RubyDev/rubyinstaller-trunk)
mkdir -p sandbox/extract_utils
rake aborted!
Zip end of central directory signature not found
I've lost my curiousity on this one....
does "rake" work from the built RC2?
-r