You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
Installing libv8 3.16.14.13 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/lamont/.rvm/gems/ruby-2.2.4/gems/libv8-3.16.14.13/ext/libv8
/Users/lamont/.rvm/rubies/ruby-2.2.4/bin/ruby -r ./siteconf20160215-7355-i8vs4r.rb extconf.rb --with-cxx=clang++
creating Makefile
Compiling v8 for x64
Using python 2.7.10
Using compiler: /usr/bin/clang++ (clang version 7.0.2)
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make[1]: *** [/Users/lamont/.rvm/gems/ruby-2.2.4/gems/libv8-3.16.14.13/vendor/v8/out/x64.release/libpreparser_lib.a] Error 1
make: *** [x64.release] Error 2
this is caused by:
% which libtool
/opt/chefdk/embedded/bin/libtool
% libtool --version
libtool (GNU libtool) 2.4.2
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
it needs to be:
% libtool -V
Apple Inc. version cctools-877.8
or else gem install libv8 picks up clang++ from the system, and libtool from chef-dk and then gets very confused...
@scotthain this is probably why all these build time deps need to be removed from chef and chef-dk omnibus projects and put into the omnibus-build-toolchain instead.
The text was updated successfully, but these errors were encountered:
Don't hide stuff from people. Users are capable of making informed choices. Trust is more easily lost than earned.
addresses issues #313 and chef-boneyard#682
with embedded/bin in the path I get this:
this is caused by:
it needs to be:
or else
gem install libv8
picks up clang++ from the system, and libtool from chef-dk and then gets very confused...@scotthain this is probably why all these build time deps need to be removed from chef and chef-dk omnibus projects and put into the omnibus-build-toolchain instead.
The text was updated successfully, but these errors were encountered: