Re: [MacRuby-devel] '/usr/local/bin/' permission error using MacRuby Nightlies

2009-09-26 Thread Matt Aimonetti
I updated the pkg installer, I don't think it was a problem with the
installer itself but maybe more a conflict with the directory permissions, I
hopefully added something that will fix that.
Let's give it a try with the next nightly build if you don't mind.

- Matt

On Fri, Sep 25, 2009 at 2:00 PM, Takao Kouji  wrote:

> Hi, Matt
>
> On 2009/09/26, at 5:51, Matt Aimonetti wrote:
> > It's probably my fault, I updated the packager last night. I'll check on
> that after work.
>
> Thanks.
>
> ---
> TAKAO Kouji 
> blog: http://d.hatena.ne.jp/kouji0625/
> twitter: takaokouji / projects: ruby, s7-seven
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] [MacRuby] #351: problem with macruby build (rake)

2009-09-26 Thread MacRuby
#351: problem with macruby build (rake)
---+
 Reporter:  sergei.homja...@…  |   Owner:  lsansone...@…
 Type:  defect |  Status:  new  
 Priority:  trivial|   Milestone:  MacRuby 0.5  
Component:  MacRuby|Keywords:  rake 
---+
 Hello!
 I have problem with command rake

 $ rake

 /opt/local/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
 rm miniprelude.c.new
 /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386
 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses
 -Wno-deprecated-declarations -Werror -std=c99 -c prelude.c -o prelude.o
 cp miniprelude.c prelude.c
 /usr/bin/g++ -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386
 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses
 -Wno-deprecated-declarations -Werror -std=c99 array.o bignum.o class.o
 compar.o complex.o enum.o enumerator.o error.o eval.o file.o load.o proc.o
 gc.o hash.o inits.o io.o math.o numeric.o object.o pack.o parse.o prec.o
 dir.o process.o random.o range.o rational.o re.o onig/regcomp.o
 onig/regext.o onig/regposix.o onig/regenc.o onig/reggnu.o onig/regsyntax.o
 onig/regerror.o onig/regparse.o onig/regtrav.o onig/regexec.o
 onig/regposerr.o onig/regversion.o onig/enc/ascii.o onig/enc/unicode.o
 onig/enc/utf8.o onig/enc/euc_jp.o onig/enc/sjis.o onig/enc/iso8859_1.o
 onig/enc/utf16_be.o onig/enc/utf16_le.o onig/enc/utf32_be.o
 onig/enc/utf32_le.o ruby.o set.o signal.o sprintf.o st.o string.o struct.o
 time.o transcode.o util.o variable.o version.o thread.o id.o objc.o bs.o
 encoding.o dln.o dmyext.o marshal.o gcd.o vm_eval.o prelude.o
 bridgesupport.o compiler.o vm.o MacRuby.o -L/usr/local/lib  -lpthread
 -lffi -lm -lLLVMBitWriter -lLLVMX86CodeGen -lLLVMX86Info
 -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMJIT -lLLVMExecutionEngine
 -lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa
 -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
 -lpthread -ldl -lxml2 -lobjc -lauto -framework Foundation -dynamiclib
 -undefined suppress -flat_namespace -install_name
 /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib
 -current_version 0.5 -compatibility_version 0.5 -o libmacruby.1.9.0.dylib
 ./miniruby -I. -I./lib bin/rubyc --internal -C "lib/net/imap.rb" -o
 "lib/net/imap.rbo"
 lib/net/imap.rb:1131: premature end of char-class: /[\x80-\xff\r\n]/
 lib/net/imap.rb:1882: end pattern in group: /\G(?:(?# 1:  SPACE   )(
 +)|(?# 2:  NIL )(NIL)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+])|(?# 3:
 NUMBER  )(\d+)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+])|(?# 4:  ATOM
 )([^\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+]+)|(?# 5:  QUOTED
 )"((?:[^\x00\r\n"\\]|\\["\\])*)"|(?# 6:  LPAR)(\()|(?# 7:  RPAR
 )(\))|(?# 8:  BSLASH  )(\\)|(?# 9:  STAR)(\*)|(?# 10: LBRA
 )(\[)|(?# 11: RBRA)(\])|(?# 12: LITERAL )\{(\d+)\}\r\n|(?# 13: PLUS
 )(\+)|(?# 14: PERCENT )(%)|(?# 15: CRLF)(\r\n)|(?# 16: EOF
 )(\z))/i
 lib/net/imap.rb:2436: premature end of char-class: /[\x80-\xff\r\n]/
 lib/net/imap.rb:2767: end pattern with unmatched parenthesis: /\G(?# 1:
 NAME )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 2: ROUTE
 )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 3: MAILBOX
 )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 4: HOST
 )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)")\)/i
 lib/net/imap.rb:2831: premature end of char-class: /(?# FLAG
 )\\([^\x80-\xff(){ \x00-\x1f\x7f%"\\]+)|(?# ATOM)([^\x80-\xff(){
 \x00-\x1f\x7f%*"\\]+)/
 unknown: [BUG] Segmentation fault
 MacRuby version 0.5 (ruby 1.9.0) [universal-darwin9.0, x86_64]

 Error when executing `./miniruby --emit-llvm
 "/var/folders/OU/OUarP1IfGbW42ZIf+RRW8E+++TI/-Tmp-/imap.bc"
 MREP_12163095864224378147 "lib/net/imap.rb"'
 rake aborted!
 Command failed with status (1): [./miniruby -I. -I./lib bin/rubyc
 --interna...]

 Thanks

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] problem with build macruby 0.5

2009-09-26 Thread sergei homjakov

 Hello! I have problem with build macruby 0.5 (command rake)

$ rake

/opt/local/bin/ruby tool/compile_prelude.rb prelude.rb  
miniprelude.c.new rm miniprelude.c.new /usr/bin/gcc -I. -I./include - 
I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common - 
pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated- 
declarations -Werror -std=c99 -c prelude.c -o prelude.o cp  
miniprelude.c prelude.c /usr/bin/g++ -I. -I./include -I./onig -I/usr/ 
include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall  
-fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror - 
std=c99 array.o bignum.o class.o compar.o complex.o enum.o  
enumerator.o error.o eval.o file.o load.o proc.o gc.o hash.o inits.o  
io.o math.o numeric.o object.o pack.o parse.o prec.o dir.o process.o  
random.o range.o rational.o re.o onig/regcomp.o onig/regext.o onig/ 
regposix.o onig/regenc.o onig/reggnu.o onig/regsyntax.o onig/ 
regerror.o onig/regparse.o onig/regtrav.o onig/regexec.o onig/ 
regposerr.o onig/regversion.o onig/enc/ascii.o onig/enc/unicode.o onig/ 
enc/utf8.o onig/enc/euc_jp.o onig/enc/sjis.o onig/enc/iso8859_1.o onig/ 
enc/utf16_be.o onig/enc/utf16_le.o onig/enc/utf32_be.o onig/enc/ 
utf32_le.o ruby.o set.o signal.o sprintf.o st.o string.o struct.o  
time.o transcode.o util.o variable.o version.o thread.o id.o objc.o  
bs.o encoding.o dln.o dmyext.o marshal.o gcd.o vm_eval.o prelude.o  
bridgesupport.o compiler.o vm.o MacRuby.o -L/usr/local/lib -lpthread - 
lffi -lm -lLLVMBitWriter -lLLVMX86CodeGen -lLLVMX86Info - 
lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMJIT -lLLVMExecutionEngine - 
lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa - 
lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport - 
lLLVMSystem -lpthread -ldl -lxml2 -lobjc -lauto -framework Foundation - 
dynamiclib -undefined suppress -flat_namespace -install_name /Library/ 
Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib - 
current_version 0.5 -compatibility_version 0.5 -o libmacruby. 
1.9.0.dylib ./miniruby -I. -I./lib bin/rubyc --internal -C "lib/net/ 
imap.rb" -o "lib/net/imap.rbo" lib/net/imap.rb:1131: premature end of  
char-class: /[\x80-\xff\r\n]/ lib/net/imap.rb:1882: end pattern in  
group: /\G(?:(?# 1: SPACE )( +)|(?# 2: NIL )(NIL)(?=[\x80-\xff(){ \x00- 
\x1f\x7f%*"\\\[\]+])|(?# 3: NUMBER )(\d+)(?=[\x80-\xff(){ \x00-\x1f\x7f 
%*"\\\[\]+])|(?# 4: ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+]+)|(? 
# 5: QUOTED )"((?:[\x00\r\n"\\]|\\["\\])*)"|(?# 6: LPAR )(\()|(?# 7:  
RPAR )(\))|(?# 8: BSLASH )(\\)|(?# 9: STAR )(\*)|(?# 10: LBRA )(\[)|(? 
# 11: RBRA )(\])|(?# 12: LITERAL )\{(\d+)\}\r\n|(?# 13: PLUS )(\+)|(?#  
14: PERCENT )(%)|(?# 15: CRLF )(\r\n)|(?# 16: EOF )(\z))/i lib/net/ 
imap.rb:2436: premature end of char-class: /[\x80-\xff\r\n]/ lib/net/ 
imap.rb:2767: end pattern with unmatched parenthesis: /\G(?# 1: NAME ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 2: ROUTE ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 3: MAILBOX ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 4: HOST ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)")\)/i lib/net/imap.rb: 
2831: premature end of char-class: /(?# FLAG )\\([\x80-\xff(){ \x00- 
\x1f\x7f%"\\]+)|(?# ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\]+)/  
unknown: [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0)  
[universal-darwin9.0, x86_64]


Error when executing `./miniruby --emit-llvm "/var/folders/OU/ 
OUarP1IfGbW42ZIf+RRW8E+++TI/-Tmp-/imap.bc" MREP_12163095864224378147  
"lib/net/imap.rb"' rake aborted! Command failed with status (1): -I. - 
I./lib bin/rubyc --interna...


/opt/local/bin/ruby -v

ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]

/opt/local/bin/rake --version
rake, version 0.8.7


Sergei.
Thanks.___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] problem with build macruby 0.5

2009-09-26 Thread Linan Wang

Hi,
MacRuby 0.5 is currently for Snow Leopard only, and it depends upon  
specific version of llvm. I'd suggest you to download the daily built  
from http://macruby.icoretech.org/.


On 26 Sep 2009, at 23:36, sergei homjakov wrote:


 Hello! I have problem with build macruby 0.5 (command rake)

$ rake

/opt/local/bin/ruby tool/compile_prelude.rb prelude.rb  
miniprelude.c.new rm miniprelude.c.new /usr/bin/gcc -I. -I./include - 
I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common - 
pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated- 
declarations -Werror -std=c99 -c prelude.c -o prelude.o cp  
miniprelude.c prelude.c /usr/bin/g++ -I. -I./include -I./onig -I/usr/ 
include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g - 
Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations - 
Werror -std=c99 array.o bignum.o class.o compar.o complex.o enum.o  
enumerator.o error.o eval.o file.o load.o proc.o gc.o hash.o inits.o  
io.o math.o numeric.o object.o pack.o parse.o prec.o dir.o process.o  
random.o range.o rational.o re.o onig/regcomp.o onig/regext.o onig/ 
regposix.o onig/regenc.o onig/reggnu.o onig/regsyntax.o onig/ 
regerror.o onig/regparse.o onig/regtrav.o onig/regexec.o onig/ 
regposerr.o onig/regversion.o onig/enc/ascii.o onig/enc/unicode.o  
onig/enc/utf8.o onig/enc/euc_jp.o onig/enc/sjis.o onig/enc/ 
iso8859_1.o onig/enc/utf16_be.o onig/enc/utf16_le.o onig/enc/ 
utf32_be.o onig/enc/utf32_le.o ruby.o set.o signal.o sprintf.o st.o  
string.o struct.o time.o transcode.o util.o variable.o version.o  
thread.o id.o objc.o bs.o encoding.o dln.o dmyext.o marshal.o gcd.o  
vm_eval.o prelude.o bridgesupport.o compiler.o vm.o MacRuby.o -L/usr/ 
local/lib -lpthread -lffi -lm -lLLVMBitWriter -lLLVMX86CodeGen - 
lLLVMX86Info -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMJIT - 
lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts - 
lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC - 
lLLVMCore -lLLVMSupport -lLLVMSystem -lpthread -ldl -lxml2 -lobjc - 
lauto -framework Foundation -dynamiclib -undefined suppress - 
flat_namespace -install_name /Library/Frameworks/MacRuby.framework/ 
Versions/0.5/usr/lib/libmacruby.dylib -current_version 0.5 - 
compatibility_version 0.5 -o libmacruby.1.9.0.dylib ./miniruby -I. - 
I./lib bin/rubyc --internal -C "lib/net/imap.rb" -o "lib/net/ 
imap.rbo" lib/net/imap.rb:1131: premature end of char-class: /[\x80- 
\xff\r\n]/ lib/net/imap.rb:1882: end pattern in group: /\G(?:(?# 1:  
SPACE )( +)|(?# 2: NIL )(NIL)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\] 
+])|(?# 3: NUMBER )(\d+)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+])|(? 
# 4: ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+]+)|(?# 5:  
QUOTED )"((?:[\x00\r\n"\\]|\\["\\])*)"|(?# 6: LPAR )(\()|(?# 7:  
RPAR )(\))|(?# 8: BSLASH )(\\)|(?# 9: STAR )(\*)|(?# 10: LBRA )(\[)| 
(?# 11: RBRA )(\])|(?# 12: LITERAL )\{(\d+)\}\r\n|(?# 13: PLUS )(\+)| 
(?# 14: PERCENT )(%)|(?# 15: CRLF )(\r\n)|(?# 16: EOF )(\z))/i lib/ 
net/imap.rb:2436: premature end of char-class: /[\x80-\xff\r\n]/ lib/ 
net/imap.rb:2767: end pattern with unmatched parenthesis: /\G(?# 1:  
NAME )(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 2: ROUTE ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 3: MAILBOX ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 4: HOST ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)")\)/i lib/net/imap.rb: 
2831: premature end of char-class: /(?# FLAG )\\([\x80-\xff(){ \x00- 
\x1f\x7f%"\\]+)|(?# ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\]+)/  
unknown: [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0)  
[universal-darwin9.0, x86_64]


Error when executing `./miniruby --emit-llvm "/var/folders/OU/ 
OUarP1IfGbW42ZIf+RRW8E+++TI/-Tmp-/imap.bc" MREP_12163095864224378147  
"lib/net/imap.rb"' rake aborted! Command failed with status (1): -I.  
-I./lib bin/rubyc --interna...


/opt/local/bin/ruby -v

ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]

/opt/local/bin/rake --version
rake, version 0.8.7


Sergei.
Thanks.
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] require 'net/http' in macirb fails

2009-09-26 Thread sergei homjakov

Hi!

I have install macruby 0.4

$ macirb
irb(main):001:0> require 'net/http'
LoadError: no such file to load -- socket.rb.bundle
	from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 
1.9.1/net/protocol.rb:21:in `require'
	from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 
1.9.1/net/protocol.rb:21:in `'
	from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 
1.9.1/net/http.rb:28:in `require'
	from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 
1.9.1/net/http.rb:28:in `'

from (irb):1:in `require'
from (irb):1
from /usr/local/bin/macirb:12:in `'

But I have socket.bundle in /Library/Frameworks/MacRuby.framework/ 
Versions/0.4/usr/lib/ruby/1.9.1/universal-darwin9.5


thanks!

Sergei Homjakov


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] problem with build macruby 0.5

2009-09-26 Thread Vincent Isambart
Hi,

> MacRuby 0.5 is currently for Snow Leopard only
No it's not. It works fine on Leopard.

> I'd suggest you to download the daily built from
> http://macruby.icoretech.org/.
I think this build is Snow Leopard only though.
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] problem with build macruby 0.5

2009-09-26 Thread Matt Aimonetti
Yes, Vincent is right, MacRuby should work fine on Snow Leopard and Leopard
(at least when we don't break it, but Vincent is watching for that not to
happen).
However the nightly build is SL only and it shouldn't even try to install on
Leopard.

- Matt

On Sat, Sep 26, 2009 at 5:14 PM, Vincent Isambart <
[email protected]> wrote:

> Hi,
>
> > MacRuby 0.5 is currently for Snow Leopard only
> No it's not. It works fine on Leopard.
>
> > I'd suggest you to download the daily built from
> > http://macruby.icoretech.org/.
> I think this build is Snow Leopard only though.
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] problem with build macruby 0.5

2009-09-26 Thread Claudio Poli

I'm going to add a big note on nightlies website.

kain

Il giorno 27/set/2009, alle ore 02.17, Matt Aimonetti ha scritto:

Yes, Vincent is right, MacRuby should work fine on Snow Leopard and  
Leopard (at least when we don't break it, but Vincent is watching  
for that not to happen).


However the nightly build is SL only and it shouldn't even try to  
install on Leopard.


- Matt

On Sat, Sep 26, 2009 at 5:14 PM, Vincent Isambart > wrote:

Hi,

> MacRuby 0.5 is currently for Snow Leopard only
No it's not. It works fine on Leopard.

> I'd suggest you to download the daily built from
> http://macruby.icoretech.org/.
I think this build is Snow Leopard only though.
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] require 'net/http' in macirb fails

2009-09-26 Thread Matt Aimonetti
On 0.5/trunk it works fine (doesn't mean that net/http fully work yet tho)
$ macruby -e "p require 'net/http'"
true

- Matt

On Sat, Sep 26, 2009 at 5:04 PM, sergei homjakov
wrote:

> Hi!
> I have install macruby 0.4
>
> $ macirb
> irb(main):001:0> require 'net/http'
> LoadError: no such file to load -- socket.rb.bundle
> from
> /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/net/protocol.rb:21:in
> `require'
> from
> /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/net/protocol.rb:21:in
> `'
> from
> /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/net/http.rb:28:in
> `require'
> from
> /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/net/http.rb:28:in
> `'
> from (irb):1:in `require'
> from (irb):1
> from /usr/local/bin/macirb:12:in `'
>
> But I have socket.bundle
> in /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/
> universal-darwin9.5
>
> thanks!
>
> Sergei Homjakov
>
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] problem with build macruby 0.5

2009-09-26 Thread Laurent Sansonetti

Hi Sergei,

It looks like trunk has build issues on both Leopard and SnowLeopard.  
This is related to the Ruby compiler (rubyc).


Vincent (who runs Leopard) told me yesterday about that and it looks  
like you're hitting the same problem.


Also, a few persons (including Claudio who runs the nighty build  
server) had problems on Snow Leopard. I can't reproduce the problem on  
my environment yet so it will take some time for me to fix it.


If any of you running Snow Leopard was able to build trunk, let me know.

Laurent

On Sep 26, 2009, at 3:36 PM, sergei homjakov wrote:


 Hello! I have problem with build macruby 0.5 (command rake)

$ rake

/opt/local/bin/ruby tool/compile_prelude.rb prelude.rb  
miniprelude.c.new rm miniprelude.c.new /usr/bin/gcc -I. -I./include - 
I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common - 
pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated- 
declarations -Werror -std=c99 -c prelude.c -o prelude.o cp  
miniprelude.c prelude.c /usr/bin/g++ -I. -I./include -I./onig -I/usr/ 
include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g - 
Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations - 
Werror -std=c99 array.o bignum.o class.o compar.o complex.o enum.o  
enumerator.o error.o eval.o file.o load.o proc.o gc.o hash.o inits.o  
io.o math.o numeric.o object.o pack.o parse.o prec.o dir.o process.o  
random.o range.o rational.o re.o onig/regcomp.o onig/regext.o onig/ 
regposix.o onig/regenc.o onig/reggnu.o onig/regsyntax.o onig/ 
regerror.o onig/regparse.o onig/regtrav.o onig/regexec.o onig/ 
regposerr.o onig/regversion.o onig/enc/ascii.o onig/enc/unicode.o  
onig/enc/utf8.o onig/enc/euc_jp.o onig/enc/sjis.o onig/enc/ 
iso8859_1.o onig/enc/utf16_be.o onig/enc/utf16_le.o onig/enc/ 
utf32_be.o onig/enc/utf32_le.o ruby.o set.o signal.o sprintf.o st.o  
string.o struct.o time.o transcode.o util.o variable.o version.o  
thread.o id.o objc.o bs.o encoding.o dln.o dmyext.o marshal.o gcd.o  
vm_eval.o prelude.o bridgesupport.o compiler.o vm.o MacRuby.o -L/usr/ 
local/lib -lpthread -lffi -lm -lLLVMBitWriter -lLLVMX86CodeGen - 
lLLVMX86Info -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMJIT - 
lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts - 
lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC - 
lLLVMCore -lLLVMSupport -lLLVMSystem -lpthread -ldl -lxml2 -lobjc - 
lauto -framework Foundation -dynamiclib -undefined suppress - 
flat_namespace -install_name /Library/Frameworks/MacRuby.framework/ 
Versions/0.5/usr/lib/libmacruby.dylib -current_version 0.5 - 
compatibility_version 0.5 -o libmacruby.1.9.0.dylib ./miniruby -I. - 
I./lib bin/rubyc --internal -C "lib/net/imap.rb" -o "lib/net/ 
imap.rbo" lib/net/imap.rb:1131: premature end of char-class: /[\x80- 
\xff\r\n]/ lib/net/imap.rb:1882: end pattern in group: /\G(?:(?# 1:  
SPACE )( +)|(?# 2: NIL )(NIL)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\] 
+])|(?# 3: NUMBER )(\d+)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+])|(? 
# 4: ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+]+)|(?# 5:  
QUOTED )"((?:[\x00\r\n"\\]|\\["\\])*)"|(?# 6: LPAR )(\()|(?# 7:  
RPAR )(\))|(?# 8: BSLASH )(\\)|(?# 9: STAR )(\*)|(?# 10: LBRA )(\[)| 
(?# 11: RBRA )(\])|(?# 12: LITERAL )\{(\d+)\}\r\n|(?# 13: PLUS )(\+)| 
(?# 14: PERCENT )(%)|(?# 15: CRLF )(\r\n)|(?# 16: EOF )(\z))/i lib/ 
net/imap.rb:2436: premature end of char-class: /[\x80-\xff\r\n]/ lib/ 
net/imap.rb:2767: end pattern with unmatched parenthesis: /\G(?# 1:  
NAME )(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 2: ROUTE ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 3: MAILBOX ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 4: HOST ) 
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)")\)/i lib/net/imap.rb: 
2831: premature end of char-class: /(?# FLAG )\\([\x80-\xff(){ \x00- 
\x1f\x7f%"\\]+)|(?# ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\]+)/  
unknown: [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0)  
[universal-darwin9.0, x86_64]


Error when executing `./miniruby --emit-llvm "/var/folders/OU/ 
OUarP1IfGbW42ZIf+RRW8E+++TI/-Tmp-/imap.bc" MREP_12163095864224378147  
"lib/net/imap.rb"' rake aborted! Command failed with status (1): -I.  
-I./lib bin/rubyc --interna...


/opt/local/bin/ruby -v

ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]

/opt/local/bin/rake --version
rake, version 0.8.7


Sergei.
Thanks.
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #351: problem with macruby build (rake)

2009-09-26 Thread MacRuby
#351: problem with macruby build (rake)
---+
 Reporter:  sergei.homja...@…  |   Owner:  lsansone...@…
 Type:  defect |  Status:  new  
 Priority:  trivial|   Milestone:  MacRuby 0.5  
Component:  MacRuby|Keywords:  rake 
---+

Comment(by lsansone...@…):

 Could you try to build trunk again (as of r2651)? It may be fixed.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #351: problem with macruby build (rake)

2009-09-26 Thread Michael Winterstein


On Sep 26, 2009, at 8:38 PM, MacRuby wrote:


#351: problem with macruby build (rake)
--- 
+

Reporter:  sergei.homja...@…  |   Owner:  lsansone...@…
Type:  defect |  Status:  new
Priority:  trivial|   Milestone:  MacRuby 0.5
Component:  MacRuby|Keywords:  rake
--- 
+


Comment(by lsansone...@…):

Could you try to build trunk again (as of r2651)? It may be fixed.

--
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



Don't know if it's the same problem, but I'm having build problems as  
well, with trunk.


I'm running 10.6.1, and might try reinstalling llvm.

$ svn update
At revision 2651.
$ rake --trace
(in /Users/parzival/devo/buried/macruby/trunk)
** Invoke default (first_time)
** Invoke all (first_time)
** Invoke macruby (first_time)
** Invoke macruby:build (first_time)
** Invoke macruby:dylib (first_time)
** Invoke rbconfig (first_time)
** Invoke miniruby (first_time)
** Invoke objects (first_time)
** Invoke config_h (first_time)
** Execute config_h
** Invoke dtrace_h (first_time)
** Execute dtrace_h
** Invoke revision_h (first_time)
** Execute revision_h
** Execute objects
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
rm miniprelude.c.new
/usr/bin/bison -o y.tab.c parse.y
parse.y: conflicts: 1 shift/reduce
/usr/bin/sed -f ./tool/ytab.sed -e "/^#/s!y.tab.c!parse.c!" y.tab.c >  
parse.c.new

mv parse.c.new parse.c
rm -f parse.o
cp lex.c.blt lex.c
/usr/bin/ruby -n tool/node_name.rb include/ruby/node.h > node_name.inc
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c array.c - 
o array.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c bignum.c - 
o bignum.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c class.c - 
o class.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c compar.c - 
o compar.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c complex.c  
-o complex.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c enum.c -o  
enum.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c  
enumerator.c -o enumerator.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c error.c - 
o error.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c eval.c -o  
eval.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c file.c -o  
file.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c load.c -o  
load.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c proc.c -o  
proc.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c gc.c -o  
gc.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c hash.c -o  
hash.o
/usr

Re: [MacRuby-devel] [MacRuby] #351: problem with macruby build (rake)

2009-09-26 Thread Laurent Sansonetti

Hi Michael,

Looks like you have an old version of LLVM installed. We switched to a  
newer revision. Checkout the README.rdoc file for more details.


Sorry I forgot to announce it here...

Laurent

On Sep 26, 2009, at 8:52 PM, Michael Winterstein wrote:


On Sep 26, 2009, at 8:38 PM, MacRuby wrote:


#351: problem with macruby build (rake)
--- 
+

Reporter:  sergei.homja...@…  |   Owner:  lsansone...@…
   Type:  defect |  Status:  new
Priority:  trivial|   Milestone:  MacRuby 0.5
Component:  MacRuby|Keywords:  rake
--- 
+


Comment(by lsansone...@…):

Could you try to build trunk again (as of r2651)? It may be fixed.

--
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



Don't know if it's the same problem, but I'm having build problems  
as well, with trunk.


I'm running 10.6.1, and might try reinstalling llvm.

$ svn update
At revision 2651.
$ rake --trace
(in /Users/parzival/devo/buried/macruby/trunk)
** Invoke default (first_time)
** Invoke all (first_time)
** Invoke macruby (first_time)
** Invoke macruby:build (first_time)
** Invoke macruby:dylib (first_time)
** Invoke rbconfig (first_time)
** Invoke miniruby (first_time)
** Invoke objects (first_time)
** Invoke config_h (first_time)
** Execute config_h
** Invoke dtrace_h (first_time)
** Execute dtrace_h
** Invoke revision_h (first_time)
** Execute revision_h
** Execute objects
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
rm miniprelude.c.new
/usr/bin/bison -o y.tab.c parse.y
parse.y: conflicts: 1 shift/reduce
/usr/bin/sed -f ./tool/ytab.sed -e "/^#/s!y.tab.c!parse.c!" y.tab.c  
> parse.c.new

mv parse.c.new parse.c
rm -f parse.o
cp lex.c.blt lex.c
/usr/bin/ruby -n tool/node_name.rb include/ruby/node.h > node_name.inc
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c array.c  
-o array.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c  
bignum.c -o bignum.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c class.c  
-o class.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c  
compar.c -o compar.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c  
complex.c -o complex.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c enum.c - 
o enum.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c  
enumerator.c -o enumerator.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c error.c  
-o error.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c eval.c - 
o eval.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c file.c - 
o file.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c load.c - 
o load.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -Werror -std=c99 -c proc.c - 
o proc.o
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch  
i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- 
parentheses -Wno-deprecated-declarations -