-
Notifications
You must be signed in to change notification settings - Fork 33
Build error #19
Comments
Interesting. Johnson embeds and builds its own copy of SpiderMonkey, so it should never be using your system headers. I'll see if we can't reproduce this, looks like a build script problem. |
I can't replicate this. The gcc commands are missing the -I which should point at the version of SM in vendor. I'm not sure why. A copy of SM in /usr/local shouldn't confuse things, at least in my limited testing ... Could you post the complete results of "gem install johnson -V"? |
|
This is a different error ... which is good. You're getting further. This looks like a word size issue ... let me look at it. |
This is trying to build a fat library, with both 32 and 64 bit libs. That's pretty much never going to work with spidermonkey. What I'm not sure about is why its trying to build a fat lib, why it's putting the -arch flags in there. It might have something to do with the version of ruby, rubygems, and possibly other gems. There's code in the extconf.rb that supposed to suppress this on OS X, but clearly it's not. Why it's not is harder to say. If something is requireing rbconfig before the extconf.rb gets loaded, that would happen, but I don't know why it would get required ... |
Same thing happened to me. |
Trying to install 1.2.0
I get this error:
Using system Ruby (Snow Leopard) and Spidermonkey 1.7.0 installed with Homebrew.
The text was updated successfully, but these errors were encountered: