tag:holychao.com,2005:/tag/thereifixeditHoly Chao : Tag: thereifixedit | Holy Chao Being a collection of deranged ramblings regarding Discordian tainted independence, and other such rubbish2012-02-04T02:26:16ZTypourn:uuid:d16adae3-cd22-4eef-a2ef-5e122b5371322010-09-12T09:18:59Z2012-02-04T02:26:16ZVenerable High Pope Swanage I, Cogent Animal of Our Lady of DiscordMac OS X 10.6.*, ruby 1.9.2, and rvm<P>I've been running into some complications trying to get <a href="http://www.ruby-lang.org">ruby</a> 1.9.2 installed by <a href="http://rvm.beginrescueend">RVM</a> on OS X 10.6.3. This is likely not an original problem, but I got it to work. My environment is pretty crufty, I have an oldish Macbook Pro that came installed with 10.4, and has had an upgrade path including 10.5. Macports, and it's ruby interpreter were on my system, as well as the default Mac ruby, and a ruby source tarball installation.</P>
<P>I had since uninstalled all rubies except for the 1.9.2 source tarball, and uninstalled Macports in favor of migrating to <a href="http://mxcl.github.com/homebrew/">Homebrew</a>.</P>
<P>My specific problem is working on a project in which the .rvmrc specified ruby-1.9.2-p0, and <code>rvm install ruby-1.9.2-p0</code> did not act as expected. I received the error</P>
<div class="CodeRay"><pre><notextile>readline.c:1292: error: 'username_completion_function' undeclared (first use in this function)</notextile></pre></div>
<P>Starting with brew and rvm installed I then needed to do some more:<P>
<P>Install readline:</P>
<div class="CodeRay"><pre><notextile>brew install readline</notextile></pre></div>
<P>Cleanup to only one version of readline:</P>
<div class="CodeRay"><pre><notextile>brew cleanup readline</notextile></pre></div>
<P>Link the brew install to /usr/local:</P>
<div class="CodeRay"><pre><notextile>brew link readline</notextile></pre></div>
<P>Install with rvm passing args to autoconf:</P>
<div class="CodeRay"><pre><notextile>rvm install 1.9.2-p0 -C --enable-shared,--with-readline-dir=/usr/local</notextile></pre></div>
<P>No compile errors, and proper readline support! Yay. My thanks to <a href="http://blog.plataformatec.com.br/tag/rvm/?author=2">George</a> at <a href="http://blog.plataformatec.com.br">Plataforma Tecnologia</a> for this solution.</P>
urn:uuid:85326e6e-8d65-4ccf-9752-41ef3f589d2b2009-11-18T14:41:44Z2012-02-04T02:26:16ZVenerable High Pope Swanage I, Cogent Animal of Our Lady of DiscordI had problems getting ad hoc networking to work with my Atheros AR5007EG<p>I solved them by using the 7.3.1.42 version driver.</p>
<p> </p>
<p>I was consistently unable to get a connection with the newer ones. I uninstalled the existing driver, rebooted, then ran setup included in the zip. Set up an adhoc network, and connected with the peer device and everything worked perfectly.</p>
<p>Here's the working driver:</p>
<p><a href="http://www.holychao.com/files/Atheros.zip">www.holychao.com/files/Atheros.zip</a></p>