Created
September 5, 2010 13:42
-
-
Save dbkbali/566030 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using json_pure (1.4.6) | |
Using rubyzip (0.9.4) | |
Using selenium-webdriver (0.0.28) | |
Using capybara (0.3.9) | |
Using stackdeck (0.2.0) | |
Installing johnson (2.0.0.pre3) with native extensions /Users/dbk/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) | |
/Users/dbk/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb | |
checking for jsautocfg.h in /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey... yes | |
checking for jsapi.h in /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey... yes | |
creating Makefile | |
make | |
g++ -I. -I/Users/dbk/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/Users/dbk/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/dbk/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -I/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -g -Wall -Wextra -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DXP_UNIX -o context.o -c context.cc | |
In file included from tracemonkey.h:9, | |
from context.h:4, | |
from context.cc:1: | |
/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey/jsapi.h: In function ‘JSBool JSVAL_IS_INT(jsval)’: | |
/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey/jsapi.h:115: warning: implicit conversion shortens 64-bit value into a 32-bit value | |
In file included from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey/jsdbgapi.h:47, | |
from context.cc:6: | |
/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey/jsopcode.h: At global scope: | |
/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey/jsopcode.h:387: warning: unused parameter ‘op’ | |
g++ -I. -I/Users/dbk/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/Users/dbk/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/dbk/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -I/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -g -Wall -Wextra -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DXP_UNIX -o conversions.o -c conversions.cc | |
In file included from conversions.cc:2: | |
js_land_proxy.h:11:18: error: node.h: No such file or directory | |
In file included from tracemonkey.h:9, | |
from conversions.h:4, | |
from conversions.cc:1: | |
/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey/jsapi.h: In function ‘JSBool JSVAL_IS_INT(jsval)’: | |
/Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/vendor/tracemonkey/jsapi.h:115: warning: implicit conversion shortens 64-bit value into a 32-bit value | |
In file included from conversions.cc:2: | |
js_land_proxy.h: At global scope: | |
js_land_proxy.h:17: error: ISO C++ forbids declaration of ‘NODE’ with no type | |
js_land_proxy.h:17: error: expected ‘;’ before ‘*’ token | |
conversions.cc: In function ‘JSBool convert_symbol_to_js(JohnsonRuntime*, VALUE, jsval*)’: | |
conversions.cc:33: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:34: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:35: error: ‘struct RString’ has no member named ‘len’ | |
conversions.cc: In function ‘JSBool convert_regexp_to_js(JohnsonRuntime*, VALUE, jsval*)’: | |
conversions.cc:54: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:55: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:56: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:60: error: ‘struct RString’ has no member named ‘len’ | |
conversions.cc: In function ‘JSBool convert_to_js(JohnsonRuntime*, VALUE, jsval*)’: | |
conversions.cc:75: warning: format not a string literal and no format arguments | |
conversions.cc:79: warning: format not a string literal and no format arguments | |
conversions.cc:83: warning: format not a string literal and no format arguments | |
conversions.cc:86: error: ‘T_BLKTAG’ was not declared in this scope | |
conversions.cc:87: warning: format not a string literal and no format arguments | |
conversions.cc:91: warning: format not a string literal and no format arguments | |
conversions.cc:95: warning: format not a string literal and no format arguments | |
conversions.cc:98: error: ‘T_VARMAP’ was not declared in this scope | |
conversions.cc:99: warning: format not a string literal and no format arguments | |
conversions.cc:116: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:118: error: ‘struct RString’ has no member named ‘len’ | |
conversions.cc:171: warning: format not a string literal and no format arguments | |
conversions.cc: In function ‘VALUE convert_regexp_to_ruby(JohnsonRuntime*, jsval)’: | |
conversions.cc:204: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:204: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc: In function ‘JSBool js_value_is_symbol(JohnsonRuntime*, jsval, bool*)’: | |
conversions.cc:229: warning: format not a string literal and no format arguments | |
conversions.cc:234: warning: format not a string literal and no format arguments | |
conversions.cc: In function ‘VALUE convert_to_ruby(JohnsonRuntime*, jsval)’: | |
conversions.cc:265: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:265: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:271: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:271: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:279: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:279: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:281: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:281: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:288: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:288: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:292: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:292: error: ‘ruby_errinfo’ was not declared in this scope | |
conversions.cc:295: warning: format not a string literal and no format arguments | |
conversions.cc: In function ‘void raise_js_error_in_ruby(JohnsonRuntime*)’: | |
conversions.cc:323: warning: format not a string literal and no format arguments | |
conversions.cc: In function ‘JSBool report_ruby_error_in_js(JohnsonRuntime*, int, VALUE)’: | |
conversions.cc:337: error: ‘ruby_errinfo’ was not declared in this scope | |
make: *** [conversions.o] Error 1 | |
Gem files will remain installed in /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3 for inspection. | |
Results logged to /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/johnson-2.0.0.pre3/ext/tracemonkey/gem_make.out | |
from /Users/dbk/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:486:in `block in build_extensions' | |
from /Users/dbk/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:446:in `each' | |
from /Users/dbk/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:446:in `build_extensions' | |
from /Users/dbk/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:198:in `install' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/source.rb:100:in `install' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/installer.rb:55:in `block in run' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in `block in each' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in `each' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in `each' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/installer.rb:44:in `run' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/installer.rb:8:in `install' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/cli.rb:217:in `install' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/vendor/thor/task.rb:22:in `run' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/vendor/thor.rb:246:in `dispatch' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/lib/bundler/vendor/thor/base.rb:389:in `start' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/gems/bundler-1.0.0/bin/bundle:13:in `<top (required)>' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/bin/bundle:19:in `load' | |
from /Users/dbk/.rvm/gems/ruby-1.9.2-p0@rails239/bin/bundle:19:in `<main>' |
I got the same problem. Did you get a fix for this?
Installing johnson (2.0.0.pre3) with native extensions C:/Ruby192/lib/ruby/site_
ruby/1.9.1/rubygems/installer.rb:529:in `rescue in block in build_extensions': E
RROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError
)
albertozurita: johnson doesn't appear to be compatible with 1.9.2. See here:
http://groups.google.com/group/johnson-talk/browse_thread/thread/36027503ac6457c5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I discovered this was due to johnson not being compatible with 1.9.2. Didn't you encounter this when you ran
bundle install
or some such? At least I did.