<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'Fxruby installation' | Pragmatic Forums</title>
    <link>http://fora.pragprog.com/forums/53/topics/236</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>Fxruby installation posted by Tom Malone @ Thu, 15 May 2008 22:16:33 -0000</title>
      <description>&lt;p&gt;Lyle,&lt;/p&gt;


	&lt;p&gt;Thanks! That was the problem. Now that I have that package installed I&amp;#8217;m up and running.&lt;/p&gt;


	&lt;p&gt;Tom&lt;/p&gt;</description>
      <pubDate>Thu, 15 May 2008 22:16:33 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2811</guid>
      <author>Tom Malone</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Lyle Johnson @ Thu, 15 May 2008 15:09:04 -0000</title>
      <description>&lt;p&gt;Tom, I did a &lt;a href="http://www.google.com/search?q=hardy+heron+fxruby"&gt;Google search&lt;/a&gt; for &amp;#8220;hardy heron fxruby&amp;#8221; and found &lt;a href="http://ubuntuforums.org/showthread.php?t=713388"&gt;this thread&lt;/a&gt; from the Ubuntu forums. The solution seems to be installing the &amp;#8220;libxrandr-dev&amp;#8221; package (i.e. &amp;#8220;sudo apt-get install libxrandr-dev&amp;#8221;) before attempting to install FXRuby.&lt;/p&gt;


	&lt;p&gt;Please let me know if this does (or doesn&amp;#8217;t) fix the problem. I don&amp;#8217;t currently have a Hardy Heron installation to experiment, but can set one up in a VM if necessary.&lt;/p&gt;</description>
      <pubDate>Thu, 15 May 2008 15:09:04 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2804</guid>
      <author>Lyle Johnson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Tom Malone @ Thu, 15 May 2008 10:51:31 -0000</title>
      <description>&lt;p&gt;Lyle,&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m having a lot of trouble getting the FXRuby gem to compile on Ubuntu Hardy Heron. I have followed the instructions, installing libfox-1.6-dev, after installing Ruby and RubyGems, but the FXRuby gem just doesn&amp;#8217;t compile. I have tried removing and reinstalling Ruby altogether through aptitude (and through Synaptic, the &lt;span class="caps"&gt;GUI&lt;/span&gt; package manager), but still have been unsuccessful.&lt;/p&gt;


	&lt;p&gt;It says &amp;#8220;Cannot find -lxrandr&amp;#8221;. I do have libxrandr installed (I checked in Synaptic). Is there some way I need to communicate it&amp;#8217;s location to gem? Which file does it need to know about?&lt;/p&gt;


	&lt;p&gt;Thanks!&lt;br /&gt;Tom Malone&lt;/p&gt;</description>
      <pubDate>Thu, 15 May 2008 10:51:31 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2796</guid>
      <author>Tom Malone</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by David Kapp @ Mon, 05 May 2008 03:54:43 -0000</title>
      <description>&lt;p&gt;&lt;strong&gt;&lt;span class="caps"&gt;EDIT&lt;/span&gt;&lt;/strong&gt; If you install fxruby via MacPorts right now, it&amp;#8217;ll install a new version of Ruby as well&amp;#8230; which would normally be fine, but it seems to break Rails right now (you&amp;#8217;ll get the now-infamous &amp;#8220;Rails requires RubyGems &amp;gt;= 0.9.4.&amp;#8221; error&amp;#8230;). So I don&amp;#8217;t recommend doing this unless you don&amp;#8217;t plan on using Rails. And odds are you do. ;)&lt;/p&gt;


	&lt;p&gt;Just a little heads up from another Leopard user. I updated MacPorts &amp;#38; Ruby as recommended, and then tried installing FXRuby, but ran into the problem Lyle detailed on his blog (about g++ not actually getting called &amp;#8211; see &lt;a href="http://lylejohnson.name/blog/2008/01/24/building-fxruby-on-leopard-with-macports/"&gt;here&lt;/a&gt; ) even with the new versions. That said, the old solution that worked for him &amp;#8211; just running the install via port a second time worked like a charm. Not sure why, but it did. So if you&amp;#8217;re having issues still, you might want to just try running &lt;pre&gt;&lt;code&gt;sudo port -v install rb-fxruby&lt;/code&gt;&lt;/pre&gt; again.&lt;/p&gt;


	&lt;p&gt;Lyle, I&amp;#8217;m liking the book, really excited to dig into it. :)&lt;/p&gt;</description>
      <pubDate>Mon, 05 May 2008 03:54:43 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2733</guid>
      <author>David Kapp</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Lyle Johnson @ Sat, 29 Mar 2008 01:39:36 -0000</title>
      <description>&lt;p&gt;As of the newly released FXRuby 1.6.14, there is now a binary gem for Mac &lt;span class="caps"&gt;OS X&lt;/span&gt; (Leopard). This gem contains everything you need to get started working with FXRuby on &lt;span class="caps"&gt;OS X&lt;/span&gt;, and doesn&amp;#8217;t depend on MacPorts or otherwise requiring you to compile anything. Just type:&lt;/p&gt;


&lt;blockquote&gt;&lt;code&gt;sudo gem install fxruby&lt;/code&gt;&lt;/blockquote&gt;

	&lt;p&gt;and that should do the trick. If you run into problems, please report them here or, preferably, on the FXRuby users mailing list mentioned in the book.&lt;/p&gt;</description>
      <pubDate>Sat, 29 Mar 2008 01:39:36 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2506</guid>
      <author>Lyle Johnson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Lyle Johnson @ Wed, 19 Mar 2008 00:53:54 -0000</title>
      <description>&lt;p&gt;Eric, the book has already gone to press and so it&amp;#8217;s too late to add any additional instructions about building FXRuby using the stuff that ships with Leopard. However, it&amp;#8217;s never too late to improve the online installation documentation to include such information.&lt;/p&gt;


	&lt;p&gt;One of the problems with building everything from scratch is that there are so many dependencies for a comprehensive build of FXRuby. There&amp;#8217;s &lt;span class="caps"&gt;FOX&lt;/span&gt;, of course, plus the image support libraries (libjpeg, libtiff and libpng), none of which ship with Leopard. But you&amp;#8217;re right that for end users who don&amp;#8217;t need all of those development and build tools, we need a more streamlined distribution (similar to the binary gem for Windows).&lt;/p&gt;</description>
      <pubDate>Wed, 19 Mar 2008 00:53:54 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2462</guid>
      <author>Lyle Johnson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Eric Monti @ Tue, 18 Mar 2008 06:14:01 -0000</title>
      <description>&lt;p&gt;Lyle I just got my copy of the combo. Thanks for this. I&amp;#8217;ve been looking long and hard for a capable cross-platform &lt;span class="caps"&gt;GUI&lt;/span&gt; toolkit for ruby and a guide for getting familiar with it quickly.&lt;/p&gt;


	&lt;p&gt;A note of advice after skimming the installation section. For your final print of the book, I&amp;#8217;d highly recommend including both the macports install or David Rupp&amp;#8217;s procedure. Personally, I don&amp;#8217;t have major objections with using macports, but if I can avoid it, I will. I have several colleagues (with whom I&amp;#8217;ll probably be sharing some of the fruits of my FXRuby labors) who would probably pitch a fit at the notion of installing a /usr/local or /opt/local instance of ruby when they could stick with the Apple provided 1.8.6 version that comes with Leopard.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;d also like to take this opportunity to thank David for his concise post on the installation steps and recommend this as an option for anybody else looking to get up and running quickly with FXRuby and avoiding the macports multiple instance scenario.&lt;/p&gt;


	&lt;p&gt;Cheers!&lt;/p&gt;</description>
      <pubDate>Tue, 18 Mar 2008 06:14:01 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2458</guid>
      <author>Eric Monti</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Lyle Johnson @ Mon, 03 Mar 2008 16:23:24 -0000</title>
      <description>&lt;p&gt;Just wanted to post this info here as well. As of the latest update to the ruby port in MacPorts, FXRuby builds properly on Leopard. Read about it &lt;a href="http://lylejohnson.name/blog/2008/02/28/building-fxruby-on-leopard-with-macports-update/"&gt;here&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Mon, 03 Mar 2008 16:23:24 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2366</guid>
      <author>Lyle Johnson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Lyle Johnson @ Mon, 28 Jan 2008 18:21:44 -0000</title>
      <description>&lt;p&gt;Ludovic, the FXRuby installed via MacPorts (i.e. rb-fxruby) is indeed &amp;#8220;paired&amp;#8221; with the Ruby installed from MacPorts, the one found under /opt/local. Your other Ruby installations (either the one that came with Leopard, or your installation of Ruby 1.9) aren&amp;#8217;t going to be able to see and use the FXRuby from MacPorts, but this isn&amp;#8217;t an FXRuby-specific issue. (If you arrange your &lt;span class="caps"&gt;PATH&lt;/span&gt; setting such that /opt/local/bin comes before /usr/bin and /usr/local/bin, you wouldn&amp;#8217;t need to prepend that extra line to the FXRuby examples.)&lt;/p&gt;</description>
      <pubDate>Mon, 28 Jan 2008 18:21:44 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2229</guid>
      <author>Lyle Johnson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Ludovic Kuty @ Fri, 25 Jan 2008 16:33:08 -0000</title>
      <description>&lt;p&gt;I succeeded in using fxruby on Leopard.&lt;/p&gt;


	&lt;p&gt;I installed several things with macports. Among them another copy of ruby :/ Now I have three copies including 1.9.&lt;/p&gt;


	&lt;p&gt;mac:~ ludo$ port installed&lt;br /&gt;The following ports are currently installed:&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;fox @1.6.31_1+darwin_9 (active)&lt;br /&gt;fxscintilla @1.71_1 (active)&lt;br /&gt;rb-fxruby @1.6.13_0 (active)&lt;br /&gt;rb-opengl @0.32c_2 (active)&lt;br /&gt;ruby @1.8.6-p110_0+darwin_9+thread_hooks (active)&lt;br /&gt;...&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;But I have to prepend the following line to all fxruby examples to be able to use the right version of ruby (the one installed with macport and all the stuff that comes along):
#!/opt/local/bin/ruby&lt;/p&gt;


	&lt;p&gt;Thus, for example:&lt;br /&gt;&lt;code&gt;
#!/opt/local/bin/ruby
require 'fox16'

include Fox

theApp = FXApp.new

theMainWindow = FXMainWindow.new(theApp, "Hello")
theButton = FXButton.new(theMainWindow, "Hello, World!")
theButton.connect(SEL_COMMAND) do |sender, selector, data|
    exit
end
theApp.create

theMainWindow.show

theApp.run
&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;I did so many things to make it work that I can&amp;#8217;t tell if I forget something or not :)&lt;/p&gt;</description>
      <pubDate>Fri, 25 Jan 2008 16:33:08 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2225</guid>
      <author>Ludovic Kuty</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by David Anderson @ Fri, 25 Jan 2008 02:15:17 -0000</title>
      <description>&lt;p&gt;I&amp;#8217;ve got to wait until this weekend to get back into it&amp;#8230; working to pay bills is such a pain.  :)&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ll try to reconstruct a blow-by-blow account as I go along.&lt;/p&gt;</description>
      <pubDate>Fri, 25 Jan 2008 02:15:17 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2222</guid>
      <author>David Anderson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by David Rupp @ Thu, 24 Jan 2008 22:24:40 -0000</title>
      <description>&lt;p&gt;David, take a look at &lt;a href="http://lylejohnson.name/blog/2007/12/01/building-fox-and-fxruby-on-mac-os-x-leopard/"&gt;Lyle&amp;#8217;s post&lt;/a&gt; on building Fox from source, and my &lt;a href="http://davidrupp.blogspot.com/2008/01/installing-fox-and-fxruby-on-mac-os-x.html"&gt;two&lt;/a&gt; &lt;a href="http://davidrupp.blogspot.com/2008/01/foxfxrubyleopard-part-second.html"&gt;parter&lt;/a&gt; on getting the gem going.&lt;/p&gt;</description>
      <pubDate>Thu, 24 Jan 2008 22:24:40 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2221</guid>
      <author>David Rupp</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by Lyle Johnson @ Wed, 23 Jan 2008 20:39:45 -0000</title>
      <description>&lt;p&gt;David, I haven&amp;#8217;t upgraded to Leopard yet, but I am going to try to get some time on a Leopard box as several people have reported issues installing FXRuby on Leopard. Can you tell me a little more about the manner in which it &amp;#8220;didn&amp;#8217;t work&amp;#8221; on MacPorts? Ditto for the Gem installation.&lt;/p&gt;


	&lt;p&gt;For the most part, I&amp;#8217;m trying to keep more detailed installation instructions, and explanations of things that can go wrong, on the web site (as noted in section 1.1 of the book); but perhaps it would help to have some more detail in the book.&lt;/p&gt;


	&lt;p&gt;I am considering building a binary Gem of FXRuby for Leopard, one that would be compatible with the built-in Ruby. The problem is that a lot of people (myself included) will not necessarily use that built-in Ruby; they&amp;#8217;ll want to try out Ruby 1.9, or a more recent patch level of 1.8.6, or whatever. We&amp;#8217;ll have to see what makes the most sense.&lt;/p&gt;</description>
      <pubDate>Wed, 23 Jan 2008 20:39:45 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2214</guid>
      <author>Lyle Johnson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
    <item>
      <title>Fxruby installation posted by David Anderson @ Wed, 23 Jan 2008 15:53:38 -0000</title>
      <description>&lt;p&gt;On a Leopardized iMac&amp;#8230; looking at the beta book&amp;#8230; Trying to get fxruby installed&amp;#8230;&lt;/p&gt;


	&lt;p&gt;The fxRuby from macports didn&amp;#8217;t work. The gem install didn&amp;#8217;t work. It all got caught up accessing missing libs while the XCode building was going on. A little lib copying and I get a rash of undefined symbols on the build. Just working my way through until I get it right.&lt;/p&gt;


	&lt;p&gt;Perhaps including a little explanation in the book of what makes up fxRuby under the covers &amp;#8211; what has to be there and why &amp;#8211; may help to shed some light on the inner workings and why certain issues may occur.&lt;/p&gt;


	&lt;p&gt;We need a one-click fxruby installer.  :)&lt;/p&gt;</description>
      <pubDate>Wed, 23 Jan 2008 15:53:38 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:53:236:2212</guid>
      <author>David Anderson</author>
      <link>http://fora.pragprog.com/forums/53/topics/236</link>
    </item>
  </channel>
</rss>
