mxcl/homebrew — Issue #9844: How to build erlang R15B from source ?
Author: lboulard
Created: 2012-01-29 12:00:50+00:00
State: open

Updating erlang to R15B fetch a "bottle" package instead of compiling from source.

This "bottle" is not working on my setup (see erl invocation failure).
How can I tell brew to compile from source ?

By the way, what are "bottles" ? How to deal with them ? I found nothing in brew man page.

Thanks.

```sh
$ brew install erlang
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/erlang-R15B
File already downloaded in /Users/lboulard/Library/Caches/Homebrew
==> Pouring erlang-R15B.bottle.tar.gz
/SSD/.homebrew/Cellar/erlang/R15B: 6932 files, 265M

$ erl
/usr/local/bin/erl: line 28: /usr/local/Cellar/erlang/R15B/lib/erlang/erts-5.9/bin/erlexec: No such file or directory
/usr/local/bin/erl: line 28: exec: /usr/local/Cellar/erlang/R15B/lib/erlang/erts-5.9/bin/erlexec: cannot execute: No such file or directory

$ brew --config
HOMEBREW_VERSION: 0.8.1
HEAD: 37548458d1db47351ba471210922caf5281afb63
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /SSD/.homebrew/Cellar
Hardware: quad-core 64-bit core2
OS X: 10.7.2
Kernel Architecture: i386
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2.1
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.0 build 211
MacPorts or Fink? false
X11 installed? true
```