Re: [MacRuby-devel] Building MacRuby

2012-03-20 Thread Erik Lundqvist
I'm on Xcode 4.2. Only snow leopard. Sent from my iPhone On 20 Mar 2012, at 07:45, Steve Clarke wrote: > Hi Erik, > > XCode 4.3 doesn't find rb_nibtool unless you have a symlink to it. Maybe you > created a symlink with your 0.10 install and didn't redirect it to the 0.12 > nibtool. I'm u

Re: [MacRuby-devel] Building MacRuby

2012-03-20 Thread Steve Clarke
Hi Erik, XCode 4.3 doesn't find rb_nibtool unless you have a symlink to it. Maybe you created a symlink with your 0.10 install and didn't redirect it to the 0.12 nibtool. I'm using 0.12 with the XCode 4.3.1 and it works fine. Steve On 19 Mar 2012, at 18:32, Erik Lundqvist wrote: > Thanks >

Re: [MacRuby-devel] Building MacRuby

2012-03-19 Thread Erik Lundqvist
Thanks I did find it and managed to build. XCode did not pick up bindings and custom classes with 0.12. Reinstalled 0.10. Sent from my iPhone On 19 Mar 2012, at 18:18, Marc Abramowitz wrote: > Here's the aforementioned doc on building LLVM & MacRuby: > > https://github.com/MacRuby/MacRuby/b

Re: [MacRuby-devel] Building MacRuby

2012-03-19 Thread Marc Abramowitz
Here's the aforementioned doc on building LLVM & MacRuby: https://github.com/MacRuby/MacRuby/blob/master/README.rdoc -Marc http://marc-abramowitz.com Sent from my iPhone 4 On Mar 19, 2012, at 11:12 AM, Marc Abramowitz wrote: > Hi Erik, > > Yeah I'm fairly sure that the MacRuby building doc t

Re: [MacRuby-devel] Building MacRuby

2012-03-19 Thread Marc Abramowitz
Hi Erik, Yeah I'm fairly sure that the MacRuby building doc talk about installing a particular version of llvm. At least it did when I last built it a few months ago. LLVM takes a long time to compile - you may want to kick it off before going to sleep. -Marc http://marc-abramowitz.com Sent f

Re: [MacRuby-devel] Building MacRuby with GNU readline support

2011-12-26 Thread Sven A. Schmidt
> I'm trying to get vi-editing mode support in macirb, but it looks this is not > going to work without custom build of MacRuby with GNU readline? If you want to avoid building macruby with rl support could try rlwrap in conjunction with macirb (http://utopia.knoware.nl/~hlub/rlwrap/). You can

Re: [MacRuby-devel] Building MacRuby with GNU readline support

2011-12-26 Thread sas
If you want to avoid building macruby with rl support could try rlwrap in conjunction with macirb (http://utopia.knoware.nl/~hlub/rlwrap/). You can install it through brew, for example. Afterwards, you simply run "rlwrap macirb" and the the console with full readline support. Hope that helps, S

Re: [MacRuby-devel] Building MacRuby with GNU readline support

2011-12-24 Thread Joshua Ballanco
Since Ruby uses readline vi the extension, that should definitely work. Keep in mind as you do, however, that macirb is actually DietRB, a lightweight IRB replacement written by Eloy. So, there may be some differences with IRB. Personally, I've never tried vi-editing mode in either, but if you h

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard AND about regexp with non-ASCII characters

2009-10-12 Thread hiroshi saito
Hi Laurent, >> a very simple regular expression including a Japanese character >> against a string contains same character doesn't match. >> >> It's very important issue for us, Japanese, and, I suppose, other >> non-ASCII character languages. >> >> How about the status of supporting non-ASCII cha

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard AND about regexp with non-ASCII characters

2009-10-12 Thread Laurent Sansonetti
On Oct 12, 2009, at 1:50 AM, hiroshi saito wrote: Laurent, thanks for fixing the bignum issue. OK I'll continue. After updating to r2782, my rubyc successfully compiled all of stdlib, and WOW!, all of build task completed! Thanks! Nice :) One of my intention of building MacRuby 0.5 trunk by h

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard AND about regexp with non-ASCII characters

2009-10-12 Thread hiroshi saito
Laurent, thanks for fixing the bignum issue. OK I'll continue. After updating to r2782, my rubyc successfully compiled all of stdlib, and WOW!, all of build task completed! Thanks! One of my intention of building MacRuby 0.5 trunk by hand is checking status of regular expression against non-ASCII

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-11 Thread Laurent Sansonetti
On Oct 11, 2009, at 10:10 PM, Laurent Sansonetti wrote: In fact, this crash is because of a limitation in the AOT compiler, I forgot to handle literal bignums. $ ./miniruby --emit-llvm foo omg -e "p 1267650600228229401496703205376" unrecognized literal `1267650600228229401496703205376' (clas

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-11 Thread Laurent Sansonetti
On Oct 11, 2009, at 10:10 PM, Laurent Sansonetti wrote: Hi Hiroshi-san, On Oct 11, 2009, at 7:11 PM, hiroshi saito wrote: Hi Laurent, Strange. Could you try the following in the same directory and paste us the output? $ ./miniruby -I. -I./lib bin/rubyc --internal -C "rbconfig.rb" -o "./rb

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-11 Thread Laurent Sansonetti
Hi Hiroshi-san, On Oct 11, 2009, at 7:11 PM, hiroshi saito wrote: Hi Laurent, Strange. Could you try the following in the same directory and paste us the output? $ ./miniruby -I. -I./lib bin/rubyc --internal -C "rbconfig.rb" -o "./rbconfig.rbo" -V MacRuby - Laurent にコマンド実行結果を送る Hi Laure

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-11 Thread Laurent Sansonetti
On Oct 11, 2009, at 7:42 PM, Vincent Isambart wrote: At the line around 100 of bin/rubyc: init_func = "MREP_#{File.read(path).hash}" I extracted this line and execute it with -e option $ ./miniruby -I. -I./lib -e "p File.read('rbconfig.rb').hash" -107041289 I suppose that String#hash method

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-11 Thread Vincent Isambart
At the line around 100 of bin/rubyc: init_func = "MREP_#{File.read(path).hash}" I extracted this line and execute it with -e option $ ./miniruby -I. -I./lib -e "p File.read('rbconfig.rb').hash" -107041289 I suppose that String#hash method will return an integer, that could be nagative val

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-11 Thread hiroshi saito
Hi Laurent, > Strange. Could you try the following in the same directory and paste us the > output? > > $ ./miniruby -I. -I./lib bin/rubyc --internal -C "rbconfig.rb" -o > "./rbconfig.rbo" -V MacRuby - Laurent にコマンド実行結果を送る Hi Laurent, $ ./miniruby -I. -I./lib bin/rubyc --internal -C "rbconfig

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-10 Thread Laurent Sansonetti
Hi, On Oct 10, 2009, at 7:17 AM, hiroshi saito wrote: Hi Laurent, Thanks for pointing out possibility about llvm-gcc somewhere in the PATH. That's right. I found llvm-gcc in /Developer/usr/bin. After removing /Developer/usr/bin from the PATH, I could successfully build llvm as an universal bin

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-10 Thread hiroshi saito
Hi Laurent, Thanks for pointing out possibility about llvm-gcc somewhere in the PATH. That's right. I found llvm-gcc in /Developer/usr/bin. After removing /Developer/usr/bin from the PATH, I could successfully build llvm as an universal binary. However, as for MacRuby itself, libmacruby.dylib and

Re: [MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

2009-10-09 Thread Laurent Sansonetti
Hi, On Oct 9, 2009, at 4:22 AM, hiroshi saito wrote: Hi all, I failed to build llvm r82747 and MacRuby r2765 following the instruction of README. I use core duo macbook and Leopard. $ svn co -r 2765 http://svn.macosforge.org/repository/ruby/MacRuby/trunk MacRuby-trunk $ svn co -r 82747 https: