#1561 closed defect (fixed)
rubycocoa doesn't work on panther
Reported by: | ward@… | Owned by: | rshaw@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
rb-cocoa doesn't work on panther. But with some extra patch files I can make it work. (now where is that bugzilla button to upload the patches...)
Attachments (5)
Change History (12)
Changed 21 years ago by ward@…
Attachment: | patch-metaconfig added |
---|
Changed 21 years ago by ward@…
Attachment: | patch-project.pbxproj.in added |
---|
extra patchfile for panther
Changed 21 years ago by ward@…
Attachment: | patch-DummyProtocolHandler.m added |
---|
extra patchfile for panther
comment:1 Changed 21 years ago by toby@…
Owner: | changed from darwinports-bugs@… to rshaw@… |
---|
comment:2 Changed 21 years ago by rshaw@…
Status: | new → assigned |
---|
I'll review these changes and commit them. How do I see the problem on Panther? It seeemed to work fine on Panther initially. What can I run as a test to see that these patches fix the problem?
Thanks -rshaw
comment:3 Changed 21 years ago by rshaw@…
repost: darn bugzilla doesn't always email .... argh!!!
I'll review these changes and commit them. How do I see the problem on Panther? It seeemed to work fine on Panther initially. What can I run as a test to see that these patches fix the problem?
Thanks -rshaw
comment:4 Changed 21 years ago by ward@…
(why oh why can't bugzilla pick up mail replies...)
I'll review these changes and commit them. How do I see the problem on Panther? It seeemed to work fine on Panther
+initially. What can I run as a
test to see that these patches fix the problem?
A ruby file consisting of just: require 'osx/cocoa' would give me horrilbe errors, instead of just exiting. It shouldn't be too hard to reproduce ;) I haven't kept a copy of the errors, but I remember something about _rb_obj_clone. I just took the patches from this thread: http://sourceforge.net/mailarchive/message.php?msg_id=6626201 and rolled them into the darwinports version. Ward
comment:5 Changed 21 years ago by ward@…
Here's the exact output:
[ward@log Documents]$ cat test2.rb require 'osx/cocoa' [ward@log Documents]$ ruby test2.rb dyld: ruby multiple definitions of symbol _rb_obj_clone /opt/local/lib/libruby.dylib(object.o) definition of _rb_obj_clone /Library/Frameworks/RubyCocoa.framework/Versions/A/RubyCocoa(single module) definition of _rb_obj_clone zsh: trace trap ruby test2.rb
Ward
comment:6 Changed 21 years ago by rshaw@…
Fixes tested and committed. Sorry this took so long. -rshaw
comment:7 Changed 21 years ago by rshaw@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
extra patchfile for panther