Skip to content

Problems with linuxbrew

Nat! edited this page Nov 18, 2016 · 1 revision
Distribution Bitwidth Method Comment
Ubuntu 16.04 LTS 64 linuxbrew Fails

The situation is tricky. It looks like you need clang to compile clang. On OS X, you need -with-libcxx to compile it and it's built in, in Linux it doesn't work.

Memos

  • If llvm doesn't build, because it can't find a proper compiler, use brew install gcc. This may get you further but then more problems arise. The commandline that linuxbrew would need is brew install llvm --with-libcxx. But see references
  • Things go better with HOMEBREW_CXX=clang++ HOMEBREW_CC=clang brew install --build-bottle --without-polly ./mulle-clang.rb but it still fails.

References