Mac OS X 10.6.*, ruby 1.9.2, and rvm

Posted by Venerable High Pope Swanage I, Cogent Animal of Our Lady of Discord 12 September 2010 at 09:18AM

I've been running into some complications trying to get ruby 1.9.2 installed by RVM 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.

I had since uninstalled all rubies except for the 1.9.2 source tarball, and uninstalled Macports in favor of migrating to Homebrew.

My specific problem is working on a project in which the .rvmrc specified ruby-1.9.2-p0, and rvm install ruby-1.9.2-p0 did not act as expected. I received the error

readline.c:1292: error: 'username_completion_function' undeclared (first use in this function)

Starting with brew and rvm installed I then needed to do some more:

Install readline:

brew install readline

Cleanup to only one version of readline:

brew cleanup readline

Link the brew install to /usr/local:

brew link readline

Install with rvm passing args to autoconf:

rvm install 1.9.2-p0 -C --enable-shared,--with-readline-dir=/usr/local

No compile errors, and proper readline support! Yay. My thanks to George at Plataforma Tecnologia for this solution.

I had problems getting ad hoc networking to work with my Atheros AR5007EG

Posted by Venerable High Pope Swanage I, Cogent Animal of Our Lady of Discord 18 November 2009 at 02:44PM

I solved them by using the 7.3.1.42 version driver.

 

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.

Here's the working driver:

www.holychao.com/files/Atheros.zip