Closed rmondragon closed 8 years ago
Please paste the full error logs, the context you've provided shows a warning but not the cause of the build failure.
I get a similar error - when doing brew upgrade hhvm/hhvm/hhvm
I think it is related to brew
no longer allowing openssl
to be linked - I upgraded openssl
over the weekend.
brew link openssl --force
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
I'm gonna try updating the cmake
command locally to see if that resolves the issue.
I don't think linking openssl should be a problem, we already pass the full include/library paths. Please do include the gist-logs, as the issue template asked you to do...
I suspect this is #50 but need those to confirm.
@jwatzman thanks for clarifying about the linking.
Here is the system's gist-logs.
I'm not sure if there is much of a difference between brew upgrade hhvm
and brew install hhvm
. Both are failing for me.
The problem here is:
/usr/local/opt/oniguruma/include/oniguruma.h:367:61: error: unknown type name 'UChar'
int onigenc_is_valid_mbc_string P_((OnigEncoding enc, const UChar* s, const UChar* end));
So, dupe of #50.
Yep.
Hello,
I fix my issues step by step :
brew install boost160
-DBOOST_INCLUDEDIR=$(brew --prefix boost160)/include \
-DBOOST_LIBRARYDIR=$(brew --prefix boost160)/lib \
-DOPENSSL_SSL_LIBRARY=$(brew --prefix openssl)/lib/libssl.dylib \
-DOPENSSL_INCLUDE_DIR=$(brew --prefix openssl)/include \
-DOPENSSL_CRYPTO_LIBRARY=$(brew --prefix openssl)/lib/libcrypto.dylib \
I Hope it will help someone.
A bunch of the above should be unnecessary. The onig stuff is still broken, but I'm trying to get it fixed upstream. You can track the issue in #50.
Description
fails during installation
Context and Logs
$ make
[[deprecated("Please use one of the cast family of functions instead.")]] ^ In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/runtime-option.cpp:46: In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/server/satellite-server.h:21: In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/ini-setting.h:20: In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/type-variant.h:26: /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/type-resource.h:132:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions] [[deprecated("Please use one of the cast family of functions instead.")]] ^ 2 warnings generated. 4 warnings generated. 4 warnings generated. 4 warnings generated. make[1]: * [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2 make: * [all] Error 2
Output of clang -v: Apple LLVM version 7.3.0 (clang-703.0.31) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Build logs: