Skip to content

Instantly share code, notes, and snippets.

@gonzaloserrano
Created November 4, 2014 09:23
Show Gist options
  • Save gonzaloserrano/3851f5a8cba88508e7c1 to your computer and use it in GitHub Desktop.
Save gonzaloserrano/3851f5a8cba88508e7c1 to your computer and use it in GitHub Desktop.
gonzalo@tribe $ brew reinstall --build-from-source --cc=gcc-4.9 boost gflags glog
==> Reinstalling boost
==> Downloading https://downloads.sourceforge.net/project/boost/boost/1.56.0/boost_1_56_0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/boost-1.56.0.tar.bz2
==> ./bootstrap.sh --prefix=/usr/local/Cellar/boost/1.56.0 --libdir=/usr/local/Cellar/boost/1.56.0/lib --without-icu --without
==> ./b2 --prefix=/usr/local/Cellar/boost/1.56.0 --libdir=/usr/local/Cellar/boost/1.56.0/lib -d2 -j4 --layout=tagged --user-co
🍺 /usr/local/Cellar/boost/1.56.0: 10471 files, 526M, built in 18.3 minutes
==> Reinstalling gflags
==> Downloading https://gflags.googlecode.com/files/gflags-2.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/gflags-2.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gflags/2.0
==> make install
🍺 /usr/local/Cellar/gflags/2.0: 27 files, 628K, built in 22 seconds
==> Reinstalling glog
==> Downloading https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/glog-0.3.3.tar.gz
==> Downloading https://gist.githubusercontent.com/danslo/7128754/raw/9b19991da4753f5efb87ae9a6939e6c3e9bc1fdf/glog_logging_r1
Already downloaded: /Library/Caches/Homebrew/glog--patch-a4a1a3d1467115f927935c441715b0f8c362abba.diff
==> Downloading https://gist.githubusercontent.com/noahm/7364571/raw/436283200fe5a3ac5d00d769bb2203260bebfcf9/libc%2B%2B.diff
Already downloaded: /Library/Caches/Homebrew/glog--patch-14fe8c422a92ebd6908861ee22cfe1a689191c18.diff
==> Patching
patching file src/windows/glog/stl_logging.h
patching file src/glog/stl_logging.h.in
patching file src/stl_logging_unittest.cc
patching file src/stl_logging_unittest.cc
==> ./configure --prefix=/usr/local/Cellar/glog/0.3.3
==> make install
🍺 /usr/local/Cellar/glog/0.3.3: 23 files, 440K, built in 20 seconds
gonzalo@tribe $ brew reinstall hhvm --with-gcc
==> Reinstalling hhvm with --with-gcc
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-3.3.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-3.3.1.tar.gz
==> Downloading https://github.com/facebook/hhvm/commit/4f9ae98b00fb68e1b3d1836b3e1271348e02e0e1.diff
Already downloaded: /Library/Caches/Homebrew/hhvm--patch-8981eb857bf2d86f532fd5f64addbc4409c1ceac.diff
==> Patching
patching file CMake/HPHPSetup.cmake
Hunk #1 succeeded at 22 (offset -2 lines).
Warning:
If you are getting errors like 'Undefined symbols for architecture x86_64:' execute:
$ brew reinstall --build-from-source --cc=gcc-4.9 boost gflags glog
==> Downloading https://github.com/hhvm/hhvm-third-party/archive/fdef620998ce599280904416263968b59ef21794.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm--third-party-21794.tar.gz
==> Downloading https://github.com/facebook/folly/archive/6e46d468cf2876dd59c7a4dddcb4e37abf070b7a.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm--folly-3.3.1.tar.gz
==> cmake . -DBOOST_INCLUDEDIR=/usr/local/opt/boost/include -DBOOST_LIBRARYDIR=/usr/local/opt/boost/lib -DCCLIENT_INCLUDE_PATH
-- Configuring incomplete, errors occurred!
See also "/usr/local/Cellar/hhvm/3.3.1_1/src/CMakeFiles/CMakeOutput.log".
See also "/usr/local/Cellar/hhvm/3.3.1_1/src/CMakeFiles/CMakeError.log".
READ THIS: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/mcuadros/homebrew-hhvm/issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment