Sorry I put you wrong with the revert. It did work here, FWIW. Go with Bob's
`git checkout 168742f /usr/local/Library/Formula/erlang.rb` looks much cleaner. Note that it will get over-written on each brew update. And then you should be able to `brew install -v couchdb` as usual. A+ Dave On 15 March 2013 01:14, James Hayton <[email protected]> wrote: > Hi Dave- > > Thanks for the response. This is a brand new machine I got today. I just > went ahead and fired the brew install couchdb and noticed it didn't work. > It installed erlang 16 and couch failed with the same errors as everyone > else is getting. > > Anyway, I went ahead with the first command and its telling me that erlang > forumla has a syntax error now... > > Any ideas? Here is my output from running brew doctor after reverting... > > brew doctor > Error: /usr/local/Library/Formula/erlang.rb:32: syntax error, unexpected > tLSHFT > <<<<<<< HEAD > ^ > /usr/local/Library/Formula/erlang.rb:36: syntax error, unexpected tEQQ, > expecting kEND > ======= > ^ > /usr/local/Library/Formula/erlang.rb:40: syntax error, unexpected tRSHFT, > expecting kEND >>>>>>>> parent of 2605042... erlang R16B > ^ > /usr/local/Library/Formula/erlang.rb:40: syntax error, unexpected > tCONSTANT, expecting kDO or '{' or '(' > Please report this bug: > https://github.com/mxcl/homebrew/wiki/troubleshooting > /usr/local/Library/Homebrew/formula.rb:404:in `require' > /usr/local/Library/Homebrew/formula.rb:404:in `factory' > /usr/local/Library/Homebrew/formula.rb:312:in `installed' > /usr/local/Library/Homebrew/formula.rb:312:in `map' > /usr/local/Library/Homebrew/formula.rb:312:in `installed' > /usr/local/Library/Homebrew/cmd/doctor.rb:903:in `check_missing_deps' > /usr/local/Library/Homebrew/cmd/doctor.rb:1121:in `send' > /usr/local/Library/Homebrew/cmd/doctor.rb:1121:in `doctor' > /usr/local/Library/Homebrew/cmd/doctor.rb:1120:in `each' > /usr/local/Library/Homebrew/cmd/doctor.rb:1120:in `doctor' > /usr/local/Library/brew.rb:88:in `send' > /usr/local/Library/brew.rb:88 > > Thanks, > > James > > > On Thu, Mar 14, 2013 at 4:46 PM, Dave Cottlehuber <[email protected]> wrote: > >> On 15 March 2013 00:21, James Hayton <[email protected]> wrote: >> > What is the recommended way to install on OSX until the homebrew issue >> gets >> > sorted out? >> >> I've not tested this but if you've already ugpraded, then probably this: >> >> cd /usr/local/Library/Formula >> # ignore whiny git error message >> git revert -n 26050424 >> brew install erlang --no-docs >> [… couch as usual] >> >> Would be nice if somebody can tell if this works for 1.2.1 users. >> >> >> For 1.3.x, my stuff including first round of required homebrew >> changes: https://gist.github.com/dch/4657643/ >> >> Also apparently Snow Leopard + XCode ?3 may not work with the newer >> autotools. This is not clear what the issue is and I don't have a box >> for testing this. >> >> A+ >> Dave >>
