Hi. I switched my ruby to 1.9.1 on OS X.5.6. I figured there's no
point to learning an obsoleted version of ruby. Any way, when I sudo
gem install ruby I get the following error. Any help will be
appreciated. Thanks.
Ken
+++
sudo gem install ruby
...
Building native extensions. This could take a while...
ERROR: Error installing rush:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install rush
checking for main() in -lc... yes
creating Makefile
make
gcc -I. -I/usr/local/include/ruby-1.9.1/i386-darwin9.6.0 -I/usr/local/
include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -
D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-
parentheses -pipe -fno-common -o http11.o -c http11.c
http11.c: In function ‘http_field’:
http11.c:77: error: ‘struct RString’ has no member named ‘ptr’
http11.c:77: error: ‘struct RString’ has no member named ‘len’
http11.c:77: warning: left-hand operand of comma expression has no
effect
http11.c:77: warning: statement with no effect
http11.c: In function ‘header_done’:
http11.c:172: error: ‘struct RString’ has no member named ‘ptr’
http11.c:174: error: ‘struct RString’ has no member named ‘ptr’
http11.c:176: error: ‘struct RString’ has no member named ‘ptr’
http11.c:177: error: ‘struct RString’ has no member named ‘len’
http11.c: In function ‘HttpParser_execute’:
http11.c:298: error: ‘struct RString’ has no member named ‘ptr’
http11.c:299: error: ‘struct RString’ has no member named ‘len’
make: *** [http11.o] Error 1
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/
mongrel-1.1.5 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.1.5/
ext/http11/gem_make.out
On Apr 9, 2009, at 7:08 AM, macruby-devel-requ...@lists.macosforge.org
wrote:
Send MacRuby-devel mailing list submissions to
macruby-devel@lists.macosforge.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
or, via email, send a message with subject or body 'help' to
macruby-devel-requ...@lists.macosforge.org
You can reach the person managing the list at
macruby-devel-ow...@lists.macosforge.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MacRuby-devel digest..."
Today's Topics:
1. Re: Cocoa control to replace the GtkTable widget ?
(St?phane Wirtel)
2. Re: Cocoa control to replace the GtkTable widget ?
(Benjamin Stiglitz)
3. Re: Cocoa control to replace the GtkTable widget ?
(St?phane Wirtel)
----------------------------------------------------------------------
Message: 1
Date: Wed, 8 Apr 2009 21:02:34 +0200
From: St?phane Wirtel <stephane.wir...@gmail.com>
To: "MacRuby development discussions."
<macruby-devel@lists.macosforge.org>
Subject: Re: [MacRuby-devel] Cocoa control to replace the GtkTable
widget ?
Message-ID: <91511978-b6f0-4206-aa90-4e9d3ecc7...@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Sorry, thank you for your help
On 08 Apr 2009, at 20:40, Benjamin Stiglitz wrote:
Question, I would like to know if there is a "cocoa like" of the
GtkTable widget
http://pygtk.org/pygtk2tutorial/sec-PackingUsingTables.html
NSMatrix, sort of.
To quote every other post on cocoa-dev: what are you trying to do?
-Ben
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
------------------------------
Message: 2
Date: Wed, 8 Apr 2009 17:48:38 -0400
From: Benjamin Stiglitz <b...@tanjero.com>
To: "MacRuby development discussions."
<macruby-devel@lists.macosforge.org>
Subject: Re: [MacRuby-devel] Cocoa control to replace the GtkTable
widget ?
Message-ID: <2ccba464-1c9f-4c2a-81dc-75b3e9c5c...@tanjero.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
delsp=yes
Sorry, thank you for your help
I?m not sure if I was able to help!
When I asked ?what are you trying to do,? I meant: ?what does the UI
you are trying to create look like?? NSMatrix is only appropriate for
certain, very limited interfaces. Otherwise you?ll need to roll your
own, or play in IB.
-Ben
------------------------------
Message: 3
Date: Thu, 9 Apr 2009 08:13:40 +0200
From: St?phane Wirtel <stephane.wir...@gmail.com>
To: "MacRuby development discussions."
<macruby-devel@lists.macosforge.org>
Subject: Re: [MacRuby-devel] Cocoa control to replace the GtkTable
widget ?
Message-ID: <efcc7283-1d95-4a47-9aaa-ad7203460...@gmail.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
delsp=yes
In fact, I have to draw my screen dynamically.
I explain.
In OpenERP, we use the xml files to describe the layout of our views,
with these xml files, we can create easily our screens.
For example: Here is the xml description of a screen
<form string="Blabla">
<separator string="Description" colspan="4" />
<field name="name" />
<field name="date" />
<button name="" string="Click !" />
</form>
This xml description tells to the OpenERP client that it must create a
new screen with the following design:
This screens contains a container widget (GktTable) with 4 columns
|------------------------------------------------------------------|
|
Description
|
| Name: [ ] Date:
[ ] |
|
BUTTON
[Click !] |
|------------------------------------------------------------------|
The separator with the "Description" string takes 4 columns because
there is the colspan attribute with 4 as value.
Each field takes two columns, one for the label of this field and the
second for the text_field or any control (date_field, table_view,
etc...)
The "Click !" button takes one colum because there is no label for
this widget.
So, for this screen, with the Gtk client, we had to create a GtkTable
with 4 colums and 3 lines.
I am looking for the equivalent with Cocoa.
How can I create the equivalent ?
Stephane
On 08 Apr 2009, at 23:48, Benjamin Stiglitz wrote:
Sorry, thank you for your help
I?m not sure if I was able to help!
When I asked ?what are you trying to do,? I meant: ?what does the UI
you are trying to create look like?? NSMatrix is only appropriate
for certain, very limited interfaces. Otherwise you?ll need to roll
your own, or play in IB.
-Ben
_______________________________________________
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
End of MacRuby-devel Digest, Vol 14, Issue 22
*********************************************
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel