Launch XTools and install the command-line utilities. This is important because it includes things like make.

Remove fink or MacPorts if you happened to have used them for anything. For fink, you'll need to clean it out of your ~/.profile or ~/.bash_profile and rename the /sw directory.

Install Homebrew. Use the one-line ruby script from the Installation page of the Homebrew wiki. This: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" I tried several wrong ways before doing it the right way.

Install couchdb using homebrew. It takes a while.

There are numerous things which may go wrong.

A missing lib/crt.1.10.6.o, for example. This is just an out-of-date Xcode. It took few hours of failed experiments to (a) realize it and (b) get the right one. There are several proposed solutions around the web. Most of them are clever, but ineffective. Just get the right Xcode.

A failure to build Erlang. This was just an improperly installed version of Homebrew. There were a lot of message. A lot. I messed around with a lot of things until I finally crashed brew doctor. I deleted and reinstalled Homebrew and everything built. First try.

Advertisers

About Me

Steven F. Lott is a consultant, teacher, author and software developer with over 35 years of experience building software of every kind, from specialized control systems for military hardware to large data warehouses to web service API's.