From: Stephen B. <ste...@gm...> - 2007-11-27 06:51:42
|
Jeremy, See the end of my last message. You need to apply the patch in this message: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/32040 to the file document.rb in the rexml gem. The changes are just two lines so I didn't bother applying the patch I just edited the file: /usr/local/lib/ruby/1.8/rexml/document.rb directly. Yours is somewhere in /opt/... After this it should build. I got stuck later following the screencast with interface builder. I tinkEloy did the screencast with Leopard. I'm not very familiar with CoCoa or InterfaceBuilder and it's not clear to me how to make an NSObject for the LeecherController with IB 2.5.4. -- - Stephen Bannasch Concord Consortium, http://www.concord.org |
From: Jeremy N. <jn...@gn...> - 2007-11-27 17:44:30
|
Thank you Stephen, that got me a little farther along. I also appreciated the comment in the source about IE and Windows. :) So I've installed the latest patch for OS X 10.4, which includes Safari 3. When I try to configure, I am now getting this error: Generating BridgeSupport metadata for: WebKit ... ./gen_bridge_metadata.rb:1800:in `compile_and_execute_code': Can't compile C code... aborting (RuntimeError) command was: gcc /tmp/src-0-22240.m -o /tmp/bin-0-22240 -F"/System/Library/Frameworks" -framework WebKit -framework Foundation -include /tmp/src-0-22240.h 2>/tmp/log-0-22240 /usr/bin/ld: /System/Library/Frameworks/WebKit.framework/WebKit load command 20 unknown cmd field collect2: ld returned 1 exit status from ./gen_bridge_metadata.rb:1051:in `collect_types_encoding' from ./gen_bridge_metadata.rb:521:in `collect' from build.rb:101 from build.rb:50:in `measure' from build.rb:101 from build.rb:62:in `each' from build.rb:62 config failed Jeremy Stephen Bannasch wrote: > Jeremy, > > See the end of my last message. > > You need to apply the patch in this message: > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/32040 > > to the file document.rb in the rexml gem. The changes are just two > lines so I didn't bother applying the patch I just edited the file: > > /usr/local/lib/ruby/1.8/rexml/document.rb > > directly. > > Yours is somewhere in /opt/... > > After this it should build. > > I got stuck later following the screencast with interface builder. I > tinkEloy did the screencast with Leopard. I'm not very familiar with > CoCoa or InterfaceBuilder and it's not clear to me how to make an > NSObject for the LeecherController with IB 2.5.4. > |
From: Stephen B. <ste...@de...> - 2007-11-27 19:57:41
|
At 10:44 AM -0700 11/27/07, Jeremy Nicoll wrote: > Thank you Stephen, that got me a little farther along. I also appreciated the comment in the source about IE and Windows. :) So I've installed the latest patch for OS X 10.4, which includes Safari 3. Which patch? The one for rexml? >When I try to configure, I am now getting this error: > >Generating BridgeSupport metadata for: WebKit ... >./gen_bridge_metadata.rb:1800:in `compile_and_execute_code': Can't compile C code... aborting (RuntimeError) >command was: gcc /tmp/src-0-22240.m -o /tmp/bin-0-22240 -F"/System/Library/Frameworks" -framework WebKit -framework Foundation -include /tmp/src-0-22240.h 2>/tmp/log-0-22240 > >/usr/bin/ld: /System/Library/Frameworks/WebKit.framework/WebKit load command 20 unknown cmd field >collect2: ld returned 1 exit status > from ./gen_bridge_metadata.rb:1051:in `collect_types_encoding' > from ./gen_bridge_metadata.rb:521:in `collect' > from build.rb:101 > from build.rb:50:in `measure' > from build.rb:101 > from build.rb:62:in `each' > from build.rb:62 >config failed > Are you running 10.4.11? I am and I also have the release version of Safari 3 installed: Version 3.0.4 (523.12). There was a warning in the rubycocoa getting started page about rubycocoa not compiling if you have a v3 betat of webkit but since I now had the release version of Safari 3 I tried compiling and it worked. Take a look at Webkit/Safari issues. |
From: Jeremy N. <jn...@gn...> - 2007-11-27 21:56:13
|
Yes I'm running 10.4.11 - that's what I meant by the patch. As for the last sentence in your reply, at which issues should I take a look? I'm confused. I'm a web programmer wanting to play around with application development. Unfortunately fixing bugs in C is not my forte. Jeremy Stephen Bannasch wrote: > At 10:44 AM -0700 11/27/07, Jeremy Nicoll wrote: > >> Thank you Stephen, that got me a little farther along. I also appreciated the comment in the source about IE and Windows. :) So I've installed the latest patch for OS X 10.4, which includes Safari 3. >> > > Which patch? The one for rexml? > > >> When I try to configure, I am now getting this error: >> >> Generating BridgeSupport metadata for: WebKit ... >> ./gen_bridge_metadata.rb:1800:in `compile_and_execute_code': Can't compile C code... aborting (RuntimeError) >> command was: gcc /tmp/src-0-22240.m -o /tmp/bin-0-22240 -F"/System/Library/Frameworks" -framework WebKit -framework Foundation -include /tmp/src-0-22240.h 2>/tmp/log-0-22240 >> >> /usr/bin/ld: /System/Library/Frameworks/WebKit.framework/WebKit load command 20 unknown cmd field >> collect2: ld returned 1 exit status >> from ./gen_bridge_metadata.rb:1051:in `collect_types_encoding' >> from ./gen_bridge_metadata.rb:521:in `collect' >> from build.rb:101 >> from build.rb:50:in `measure' >> from build.rb:101 >> from build.rb:62:in `each' >> from build.rb:62 >> config failed >> >> > > Are you running 10.4.11? I am and I also have the release version of Safari 3 installed: Version 3.0.4 (523.12). > > There was a warning in the rubycocoa getting started page about rubycocoa not compiling if you have a v3 betat of webkit but since I now had the release version of Safari 3 I tried compiling and it worked. > > Take a look at Webkit/Safari issues. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > |
From: Georg <gwd...@ma...> - 2007-11-30 00:35:12
|
hello everyone, I just built rubycocoa 0.13.0 from source on tiger and discovered you may want to change line 1260 in file misc/bridgesupport/ gen_bridge_metadata.rb from document << REXML::DocType.new(['signatures', 'SYSTEM', 'file://localhost/System/Library/DTDs/BridgeSupport.dtd']) to document << REXML::DocType.new(['signatures', 'SYSTEM', '"file://localhost/System/Library/DTDs/BridgeSupport.dtd"']) So there are no eval errors after building the individual bridgesupport files otherwise no hitches, I uninstalled webkit 3 beta before upgrading to 10.4.11 and wasn't bitten by any webkit-related bugs when compiling. Keep up the good work Georg |
From: Laurent S. <lsa...@ap...> - 2007-11-30 12:11:56
|
Hi, On Nov 30, 2007, at 1:33 AM, Georg wrote: > hello everyone, > > I just built rubycocoa 0.13.0 from source on tiger and discovered you > may want to change line 1260 in file misc/bridgesupport/ > gen_bridge_metadata.rb > from > document << REXML::DocType.new(['signatures', 'SYSTEM', > 'file://localhost/System/Library/DTDs/BridgeSupport.dtd']) > > to > document << REXML::DocType.new(['signatures', 'SYSTEM', > '"file://localhost/System/Library/DTDs/BridgeSupport.dtd"']) > > So there are no eval errors after building the individual > bridgesupport files > > otherwise no hitches, I uninstalled webkit 3 beta before upgrading to > 10.4.11 and wasn't bitten by any webkit-related bugs when compiling. We used to have the single quotes in the DTD URI part, but we removed them because otherwise there was a problem with the version of REXML that ships with Ruby 1.8.6 p111. What version of Ruby do you use? If you use a version below than p111 it might explain your eval errors. Ultimately, gen_bridge_metadata should definitely detect if you run REXML < p111 and use the old version then. Laurent |
From: Georg <gwd...@ma...> - 2007-12-02 17:13:58
|
On 30.11.2007, at 13:11 Uhr, Laurent Sansonetti wrote: > Ruby do you use? If you use a version below than p111 > it might explain oh sorry I haven't thought about the fact that it could have something to do with the version. ruby looks so stable one could almost forget versions are important ;) I used the ruby "stable snapshot" from 2007-11-28 which reports as "patchlevel 5000". Georg |