Re: [MacRuby-devel] [MacRuby] #224: String upcase method doesn't behave properly when containing a unicode character
#224: String upcase method doesn't behave properly when containing a unicode character -+-- Reporter: mattaimone...@… |Owner: lsansone...@… Type: defect | Status: closed Priority: minor|Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | -+-- Changes (by lsansone...@…): * status: new = closed * resolution: = fixed * milestone: = MacRuby 0.5 Comment: Looks like this is fixed in trunk. {{{ $ ./miniruby -e p 'un éléphant ça trompe énormément'.upcase UN ÉLÉPHANT ÇA TROMPE ÉNORMÉMENT }}} -- Ticket URL: http://www.macruby.org/trac/ticket/224#comment:1 MacRuby http://macruby.org/ ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] [MacRuby] #295: [PATCH] Typy in README.rdoc
#295: [PATCH] Typy in README.rdoc ---+ Reporter: m...@… |Owner: lsansone...@… Type: defect | Status: closed Priority: trivial|Milestone: MacRuby 0.5 Component: MacRuby| Resolution: fixed Keywords: | ---+ Changes (by lsansone...@…): * status: new = closed * resolution: = fixed Comment: Oops, merged in r2426, thanks! -- Ticket URL: http://www.macruby.org/trac/ticket/295#comment:1 MacRuby http://macruby.org/ ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] Trunk does not build any more
Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /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 encoding.c -o encoding.o /usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE - D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common - Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 - Wno-parentheses -Wno-deprecated-declarations -Werror -c main.cpp -o main.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 dln.c -o dln.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 dmyext.c - o dmyext.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 marshal.c -o marshal.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 gcd.c -o gcd.o cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK-BU++ +TI/-Tmp-//ccxgHDBi.out (No such file or directory) rake aborted! Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./onig -I/u...] (See full trace by running task with --trace) $ Should I even post this here or open a ticket? Kindest regards, John ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Trunk does not build any more
Hey John, Did you try to run $ rake clean and try again? I built trunk tonight on my 10.5.8 machine without any issues. - Matt On Sat, Aug 29, 2009 at 12:38 AM, John-Paul Bader h...@berlin.ccc.dewrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /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 encoding.c -o encoding.o /usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common -Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c main.cpp -o main.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 dln.c -o dln.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 dmyext.c -o dmyext.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 marshal.c -o marshal.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 gcd.c -o gcd.o cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK-BU+++TI/-Tmp-//ccxgHDBi.out (No such file or directory) rake aborted! Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./onig -I/u...] (See full trace by running task with --trace) $ Should I even post this here or open a ticket? Kindest regards, John ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Trunk does not build any more
Hey Matt, I did a rake clean but I'm on 10.6 so maybe it a Snow Leopard related issue, kind regards, John On 29.08.2009, at 09:55, Matt Aimonetti wrote: Hey John, Did you try to run $ rake clean and try again? I built trunk tonight on my 10.5.8 machine without any issues. - Matt On Sat, Aug 29, 2009 at 12:38 AM, John-Paul Bader h...@berlin.ccc.de wrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /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 encoding.c -o encoding.o /usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE - D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common - Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c main.cpp -o main.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 dln.c - o dln.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 dmyext.c -o dmyext.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 marshal.c -o marshal.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 gcd.c - o gcd.o cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK-BU++ +TI/-Tmp-//ccxgHDBi.out (No such file or directory) rake aborted! Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./ onig -I/u...] (See full trace by running task with --trace) $ Should I even post this here or open a ticket? Kindest regards, John ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Trunk does not build any more
Hi, Sorry, it looks like the new GCD module was using a legacy API that disappeared in the public version of Snow Leopard. I think I fixed the problem in r2427, could you give it a try again? Thanks, Laurent On Aug 29, 2009, at 12:38 AM, John-Paul Bader wrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /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 encoding.c -o encoding.o /usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE - D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common - Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c main.cpp -o main.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 dln.c - o dln.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 dmyext.c -o dmyext.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 marshal.c -o marshal.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 gcd.c - o gcd.o cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK-BU++ +TI/-Tmp-//ccxgHDBi.out (No such file or directory) rake aborted! Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./ onig -I/u...] (See full trace by running task with --trace) $ Should I even post this here or open a ticket? Kindest regards, John ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?
I've just upgraded to Snow Leopard and installed again from trunk but I'm still having the same issue with not being able to load the Cocoa framework in macirb. :( Alistair 2009/8/26 Alistair Holt alistairh...@gmail.com Perhaps I'll give installing another go. I did install 0.4 and went onto install from trunk afterwards but neither worked at the time. I'll let you know what happens. Alistair 2009/8/26 Matt Aimonetti mattaimone...@gmail.com I had the same problem occuring a few days ago, after reinstalling macruby trunk today, everything is back to normal. - Matt On Mon, Aug 24, 2009 at 2:38 AM, Alistair Holt alistairh...@gmail.comwrote: Hi Laurent, Thanks for the reply. I ran it and got: ~ $ macruby -e framework '/System/Library/Frameworks/Cocoa.framework'; p :ok :ok My filesystem is definitely not case sensitive. Alistair Holt 2009/8/24 Laurent Sansonetti lsansone...@apple.com Hi Alistair, This is very strange... could you try the following command? $ macruby -e framework '/System/Library/Frameworks/Cocoa.framework'; p :ok Also, maybe your filesystem is case sensitive? The default format is case insensitive, in theory. Laurent On Aug 23, 2009, at 8:42 AM, Alistair Holt wrote: Hello, I've just installed MacRuby (MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.5, x86_64]) via the package I downloaded from http://www.macruby.org and I dropped straight into macirb to start on the tutorial (http://www.macruby.org/documentation/tutorial.html). I ran framwork 'Cocoa' and uh oh.. a RuntimeError popped up. I've seen another thread on this list from January with the same issue but there wasn't really any fix detailed. I've posted my console output of lots of different commands at https://gist.github.com/359195517cc2364b82b8. I'm running 10.5.8 on a MacBook Pro 2.4Ghz Intel Core 2 Duo. Hard disk format is Mac OS Extended (Journaled). Hopefully someone can help me out. Thanks Alistair Holt E: alistairh...@gmail.com W: koopd.com / http://www.linkedin.com/in/alistairholt ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Trunk does not build any more
Hi, I just installed Snow Leopard, I still have the LLVM that I had compiled on Slow Leopard (10.5), then: $ rake clean $ rake $ rake spec All worked for me. So this is after the last fix committed by Laurent. Cheers, Eloy On 29 aug 2009, at 16:46, Robert Schaaf wrote: Hello Laurent, It would be nice if you could post on the blog a step-by-step description of how to build MacRuby for Snow Leopard. A little hand holding would be appreciated, since many of us Mac types aren't really terminal jockeys. Thanks, Bob Schaaf On Aug 29, 2009, at 4:54 AM, Laurent Sansonetti wrote: Hi, Sorry, it looks like the new GCD module was using a legacy API that disappeared in the public version of Snow Leopard. I think I fixed the problem in r2427, could you give it a try again? Thanks, Laurent On Aug 29, 2009, at 12:38 AM, John-Paul Bader wrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /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 encoding.c -o encoding.o /usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE - D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common - Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c main.cpp -o main.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 dln.c -o dln.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 dmyext.c -o dmyext.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 marshal.c -o marshal.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 gcd.c -o gcd.o cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK-BU +++TI/-Tmp-//ccxgHDBi.out (No such file or directory) rake aborted! Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./ onig -I/u...] (See full trace by running task with --trace) $ Should I even post this here or open a ticket? Kindest regards, John ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] [MacRuby] #313: sudo rake install fails with ArgumentError
#313: sudo rake install fails with ArgumentError -+-- Reporter: dmi...@… |Owner: lsansone...@… Type: defect | Status: reopened Priority: major|Milestone: MacRuby 0.5 Component: MacRuby | Resolution: Keywords: | -+-- Comment(by dmi...@…): I inserted p CONFIG before CONFIG.each_value ... in rbconfig.rb. Here's the output. {{{ {MINOR=9, DLDLIBS=, PACKAGE_BUGREPORT=, LIBRUBYARG=$(LIBRUBYARG_SHARED), NROFF=/usr/bin/nroff, CP=cp, LN_S=ln -s, sysconfdir=$(prefix)/etc, LIBS=, INSTALL_SCRIPT=$(INSTALL), ENABLE_SHARED=yes, arch =universal-darwin10.0, datadir=$(datarootdir), bindir=$(exec_prefix)/bin, host_os=darwin9.0.0, host_vendor=apple, ECHO_C=c, rubyhdrdir=$(includedir)/ruby-$(MAJOR).$(MINOR).$(TEENY), WINDRES=, libexecdir=$(exec_prefix)/libexec, LIBPATHENV=DYLD_LIBRARY_PATH, INSTALL=/usr/bin/install -c, host_cpu=i686, vendordir=$(prefix)/lib/ruby/vendor_ruby, SHELL=/bin/sh, EXTOUT=.ext, target_cpu=i686, configure_args=, target_vendor=apple, htmldir=$(docdir), psdir=$(docdir), build_alias=, ARCHFILE=, warnflags=-Wall -Wno-parentheses, PACKAGE_VERSION=, RANLIB=ranlib, cflags=$(optflags) $(debugflags) $(warnflags), sitehdrdir=$(rubyhdrdir)/site_ruby, INSTALL_DATA=$(INSTALL) -m 644, exec_prefix=$(prefix), NM=, THREAD_MODEL=pthread, EXTSTATIC=, SOLIBS=, prefix=/Library/Frameworks/MacRuby.framework/Versions/0.5/usr, sitedir=$(libdir)/ruby/site_ruby, build_cpu=i686, MANTYPE=doc, CPPFLAGS=$(cppflags), DLDFLAGS=, TRY_LINK=, LIBRUBY_LDSHARED=/usr/bin/gcc -dynamiclib -undefined suppress -flat_namespace, COMMON_LIBS=, EXPORT_PREFIX=, CCDLFLAGS=-fno-common, STATIC=, topdir=., cppflags=, RUBY_INSTALL_NAME=macruby, GNU_LD=no, pdfdir=$(docdir), LIBRUBY=$(LIBRUBY_SO), DLEXT=bundle, rubyw_install_name=, LIBEXT=a, vendorhdrdir=$(rubyhdrdir)/vendor_ruby, rubylibdir=$(libdir)/ruby/$(ruby_version), LINK_SO=, host=i686-apple-darwin9.0.0, LIBRUBY_ALIASES=lib$(RUBY_SO_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_SO_NAME).dylib, LIBRUBYARG_SHARED=-l$(RUBY_SO_NAME), COMMON_HEADERS=, BASERUBY=ruby, ECHO_T=, archdir=$(rubylibdir)/$(arch), sharedstatedir=$(prefix)/com, PREP=miniruby$(EXEEXT), localstatedir=$(prefix)/var, LIBRUBY_SO=lib$(RUBY_SO_NAME).$(MAJOR).$(MINOR).$(TEENY).dylib, vendorarchdir=$(vendorlibdir)/$(sitearch), LDSHARED=$(CC) -dynamic -bundle -undefined suppress -flat_namespace -arch i386 -arch x86_64, ruby_version=$(MAJOR).$(MINOR).$(TEENY), DLEXT2=, ALLOCA=, EXEEXT=, sitelibdir=$(sitedir)/$(ruby_version), ENABLE_STATIC=no, optflags=-O3, DLLWRAP=, OUTFLAG=-o , SET_MAKE=, sbindir=$(exec_prefix)/sbin, datarootdir=$(prefix)/share, PACKAGE_TARNAME=, build_os=darwin9.0.0, PACKAGE_NAME=, oldincludedir=/usr/include, CFLAGS=-fno-common -pipe $(cflags), target_alias=, MAKEFILES=Makefile, STRIP=strip -A -n, includedir=$(prefix)/include, TEENY=0, target_os=darwin9.0, LIBRUBY_A=lib$(RUBY_SO_NAME)-static.a, MAINLIBS=, RUBYW_INSTALL_NAME=, CXXFLAGS=, DESTDIR=, OBJEXT=o, LIBRUBYARG_STATIC=-l$(RUBY_SO_NAME), debugflags=-g, LDFLAGS=, build=i686-apple-darwin9.0.0, setup=Setup, RM=rm -f, ruby_install_name=macruby, CC=/usr/bin/gcc, LIBRUBY_DLDFLAGS=-install_name $(libdir)/lib$(RUBY_SO_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR), infodir=$(datarootdir)/info, CPPOUTFILE=-o conftest.i, MAKEDIRS=mkdir -p, CPP=/usr/bin/gcc -E, build_vendor=apple, CXX=/usr/bin/g++, ARCH_FLAG=-arch i386 -arch x86_64, ASFLAGS=, LDSHAREDXX=$(CXX) -dynamic -bundle -undefined suppress -flat_namespace, INSTALL_PROGRAM=$(INSTALL), vendorlibdir=$(vendordir)/$(ruby_version), COMMON_MACROS=, OBJDUMP=, AR=ar, AS=as, EGREP=/usr/bin/grep -E, dvidir=$(docdir), target=i686-apple-darwin9.0.0, GREP=/usr/bin/grep, MAJOR=1, RDOCTARGET=install-doc, PATH_SEPARATOR=:, RUBY_SO_NAME=macruby, DEFS=, localedir=$(datarootdir)/locale, libdir=$(exec_prefix)/lib, mandir=$(datarootdir)/man, docdir=$(datarootdir)/doc/$(PACKAGE), sitearch=universal-darwin10.0, sitearchdir=$(sitelibdir)/$(sitearch), PACKAGE_STRING=, LIBPATHFLAG= -L%s, RPATHFLAG=, host_alias=, ECHO_N=, COUTFLAG=-o } }}} Then p val in RbConfig::expand (right after the declaration and before val.gsub!), and one more log string in gsub! block, and ran sudo rake install {{{ 9 given string has unrecognized encoding (ArgumentError) }}} Also I tried creating regexp earlier with Regexp.new (and then inserting log string after that), and it created successfuly. {{{ reg = Regexp.new('\$\$|\$\(([^()]+)\)|\$\{([^{}]+)\}'.force_encoding (ASCII-8BIT)) p reg p --works-- val.gsub!(reg) do ... }}} Output: {{{ /\$\$|\$\(([^()]+)\)|\$\{([^{}]+)\}/
[MacRuby-devel] detailed instructions on how to build macruby on snowleopard
Well written post on how to follow the README instructions ;) http://www.icoretech.org/2009/08/having-fun-with-macruby/ - Matt ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Trunk does not build any more
Hi Robert, If you follow the instructions in the README.rdoc file you should be good. If you need something else let me know. We will start making binary builds next week. Laurent On Aug 29, 2009, at 7:46 AM, Robert Schaaf wrote: Hello Laurent, It would be nice if you could post on the blog a step-by-step description of how to build MacRuby for Snow Leopard. A little hand holding would be appreciated, since many of us Mac types aren't really terminal jockeys. Thanks, Bob Schaaf On Aug 29, 2009, at 4:54 AM, Laurent Sansonetti wrote: Hi, Sorry, it looks like the new GCD module was using a legacy API that disappeared in the public version of Snow Leopard. I think I fixed the problem in r2427, could you give it a try again? Thanks, Laurent On Aug 29, 2009, at 12:38 AM, John-Paul Bader wrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /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 encoding.c -o encoding.o /usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE - D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common - Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c main.cpp -o main.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 dln.c -o dln.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 dmyext.c -o dmyext.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 marshal.c -o marshal.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 gcd.c -o gcd.o cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispatch_source_set_context’ lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK-BU +++TI/-Tmp-//ccxgHDBi.out (No such file or directory) rake aborted! Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./ onig -I/u...] (See full trace by running task with --trace) $ Should I even post this here or open a ticket? Kindest regards, John ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] [MacRuby] #313: sudo rake install fails with ArgumentError
#313: sudo rake install fails with ArgumentError -+-- Reporter: dmi...@… |Owner: lsansone...@… Type: defect | Status: reopened Priority: major|Milestone: MacRuby 0.5 Component: MacRuby | Resolution: Keywords: | -+-- Comment(by lsansone...@…): I just improved in r2430 the exception message a little bit so that we can know more about what's happening. Could you give it a try again and copy/paste the message? Also if you want to debug this directly, the problem is in the rb_reg_prepare_enc() function in the re.c file. -- Ticket URL: http://www.macruby.org/trac/ticket/313#comment:7 MacRuby http://macruby.org/ ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] [MacRuby] #125: Problem with CSV library
#125: Problem with CSV library -+-- Reporter: deepak.gul...@… |Owner: lsansone...@… Type: defect | Status: closed Priority: major|Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: CSV | -+-- Changes (by lsansone...@…): * status: new = closed * resolution: = fixed * milestone: MacRuby 0.4 = MacRuby 0.5 Comment: As of trunk r2432, this should work. {{{ $ ./miniruby t.rb Gone with the wind, 100.12 Who stole my cheese, 104.22 Cocoa Programming with Aaron Hillegasse, 42.31 }}} -- Ticket URL: http://www.macruby.org/trac/ticket/125#comment:1 MacRuby http://macruby.org/ ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Trunk does not build any more
Hi Robert Could you file a bug on trac ? There are still a few bugs with irb. Thanks Laurent Sent from my iPhone On Aug 29, 2009, at 3:56 PM, Robert Schaaf rwsch...@comcast.net wrote: Hello Laurent, I followed the instructions to the letter, using r2427. All the specs pass, but I have a problem with macirb, which aborts on a syntax error. This is on the newest Mac Mini, 2.26 Mh, with 2 meg running the commercial Snow Leopard release. Last login: Sat Aug 29 18:41:25 on ttys001 Minnie:~ rwschaaf$ macruby -v MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] Minnie:~ rwschaaf$ macirb irb(main):001:0 1 = 1 SyntaxError: (irb):1: syntax error, unexpected '=', expecting $end 1 = 1 ^ undefined method `[]' for nil:NilClass (NoMethodError) Minnie:~ rwschaaf$ Can you reproduce this? Thanks, Bob Schaaf On Aug 29, 2009, at 3:49 PM, Laurent Sansonetti wrote: Hi Robert, If you follow the instructions in the README.rdoc file you should be good. If you need something else let me know. We will start making binary builds next week. Laurent On Aug 29, 2009, at 7:46 AM, Robert Schaaf wrote: Hello Laurent, It would be nice if you could post on the blog a step-by-step description of how to build MacRuby for Snow Leopard. A little hand holding would be appreciated, since many of us Mac types aren't really terminal jockeys. Thanks, Bob Schaaf On Aug 29, 2009, at 4:54 AM, Laurent Sansonetti wrote: Hi, Sorry, it looks like the new GCD module was using a legacy API that disappeared in the public version of Snow Leopard. I think I fixed the problem in r2427, could you give it a try again? Thanks, Laurent On Aug 29, 2009, at 12:38 AM, John-Paul Bader wrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /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 encoding.c -o encoding.o /usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE - D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common - Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c main.cpp -o main.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 dln.c -o dln.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 dmyext.c -o dmyext.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 marshal.c -o marshal.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 gcd.c -o gcd.o cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispat ch_source_set_context’ cc1: warnings being treated as errors gcd.c: In function ‘rb_source_on_event’: gcd.c:469: warning: implicit declaration of function ‘dispat ch_source_set_context’ lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK- BU+++TI/-Tmp-//ccxgHDBi.out (No such file or directory) rake aborted! Command failed with status (1): [/usr/bin/gcc -I. -I./include - I./onig -I/u...] (See full trace by running task with --trace) $ Should I even post this here or open a ticket? Kindest regards, John ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] [MacRuby] #313: sudo rake install fails with ArgumentError
#313: sudo rake install fails with ArgumentError -+-- Reporter: dmi...@… |Owner: lsansone...@… Type: defect | Status: reopened Priority: major|Milestone: MacRuby 0.5 Component: MacRuby | Resolution: Keywords: | -+-- Comment(by lsansone...@…): I changed the logic in r2435 to fall-back to a 8-bit translation in case the returned encoding is not recognized. In the future we might want to look at all these exotic encodings. Could you confirm that with this change MacRuby builds as expected, even with the original __CF_USER_TEXT_ENCODING environment variable set on? I also think that this environment variable is set because of your system preferences. If I set the language of my system as French I get __CF_USER_TEXT_ENCODING=0x1F5:0:0. -- Ticket URL: http://www.macruby.org/trac/ticket/313#comment:9 MacRuby http://macruby.org/ ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?
Hi Alistair, So, looking at the error you pasted earlier, it seems that it's raised in the following objc.m logic: if (![bundle loadAndReturnError:error]) { rb_raise(rb_eRuntimeError, framework at path `%s' cannot be loaded: %s, cstr, [[error description] UTF8String]); } In other words, -[NSBundle loadAndReturnError:] doesn't seem to work. This looks like a problem in Foundation. Could you try the following snippets? $ macruby -e p NSBundle.bundleWithPath('/System/Library/Frameworks/ Cocoa.framework').loadAndReturnError(nil) $ macruby -e p NSBundle.bundleWithPath('/System/Library/Frameworks/ Cocoa.framework').load In my environment both print 1. Laurent On Aug 29, 2009, at 2:14 PM, Alistair Holt wrote: Does anyone have any ideas on this? It's driving me mad not being able to use MacRuby on my MBP. I really don't want to have to try doing something like a clean system install. BTW - I installed MacRuby the same way on my MP and have had no problems with it at all. Alistair 2009/8/29 Alistair Holt alistairh...@gmail.com I've just upgraded to Snow Leopard and installed again from trunk but I'm still having the same issue with not being able to load the Cocoa framework in macirb. :( Alistair 2009/8/26 Alistair Holt alistairh...@gmail.com Perhaps I'll give installing another go. I did install 0.4 and went onto install from trunk afterwards but neither worked at the time. I'll let you know what happens. Alistair 2009/8/26 Matt Aimonetti mattaimone...@gmail.com I had the same problem occuring a few days ago, after reinstalling macruby trunk today, everything is back to normal. - Matt On Mon, Aug 24, 2009 at 2:38 AM, Alistair Holt alistairh...@gmail.com wrote: Hi Laurent, Thanks for the reply. I ran it and got: ~ $ macruby -e framework '/System/Library/Frameworks/ Cocoa.framework'; p :ok :ok My filesystem is definitely not case sensitive. Alistair Holt 2009/8/24 Laurent Sansonetti lsansone...@apple.com Hi Alistair, This is very strange... could you try the following command? $ macruby -e framework '/System/Library/Frameworks/ Cocoa.framework'; p :ok Also, maybe your filesystem is case sensitive? The default format is case insensitive, in theory. Laurent On Aug 23, 2009, at 8:42 AM, Alistair Holt wrote: Hello, I've just installed MacRuby (MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.5, x86_64]) via the package I downloaded from http://www.macruby.org and I dropped straight into macirb to start on the tutorial (http://www.macruby.org/documentation/tutorial.html ). I ran framwork 'Cocoa' and uh oh.. a RuntimeError popped up. I've seen another thread on this list from January with the same issue but there wasn't really any fix detailed. I've posted my console output of lots of different commands at https://gist.github.com/359195517cc2364b82b8 . I'm running 10.5.8 on a MacBook Pro 2.4Ghz Intel Core 2 Duo. Hard disk format is Mac OS Extended (Journaled). Hopefully someone can help me out. Thanks Alistair Holt E: alistairh...@gmail.com W: koopd.com / http://www.linkedin.com/in/alistairholt ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel