-
Install Xcode Command line tools: http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools
-
Clang error during install Jekyll
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [redcarpet.bundle] Error 1
make failed, exit code 2
Solution:
export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future"
export CFLAGS=-Wunused-command-line-argument-hard-error-in-future
export CPPFLAGS=-Qunused-arguments
sudo -E gem install jekyll
References:
- http://xthinking.com/github/2014/03/17/github_install_jekyll_mavericks.html
- http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa
- http://forums.getpebble.com/discussion/11862/installation-error-perhaps-due-to-xcode-5-1
- https://langui.sh/2014/03/10/wunused-command-line-argument-hard-error-in-future-is-a-harsh-mistress/
- http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools