installing with native extensions stall #62

Closed
ArthurCamara opened this Issue Dec 13, 2012 · 4 comments

Projects

None yet

5 participants

@ArthurCamara

When trying to install the gem, the system stalls at

"Installing libv8 (3.11.8.4) with native extensions"

Nothing happens further this. Any ideas?

BTW, i'm running OS X Mountain Lion with XCode present. Ruby 1.9.3 and rails 3.2.

@JustinAiken

I'm seeing the same thing happen on a Ubuntu 10.04 VPS

cc1plus is running at 20-70% of my CPU while it's not doing anything...

EDIT - It did finish, just took like 10 minutes..

@zobar
zobar commented Dec 15, 2012

Unless your version of the libv8 gem has a precompiled binary for your platform, installing libv8 means recompiling the V8 library. This can take quite a long time (~15 minutes on a small EC2 instance).

Not every version of libv8 has precompiled binaries for every platform. Some binaries were never released; others were released but later yanked. The current version (3.11.8.4) does not currently have binaries for any platform.

If you need a binary libv8, the most recent version you can use will be either 3.11.8.3 or 3.3.10.4, depending on your CPU, OS, and OS version. These versions correspond with therubyracer 0.11.0 and 0.10.2, respectively. Since this is a little bit of a hodgepodge, I put together this table for reference:

CPU OS OS Version libv8 therubyracer
amd64 freebsd 8 3.3.10.4 0.10.2
9
x86 darwin 10
11
linux
freebsd 9 3.11.8.3 0.11.0
x86_64 darwin 10
11 3.3.10.4 0.10.2
12 3.11.8.3 0.11.0
linux
@cowboyd
Owner
cowboyd commented Dec 18, 2012

This is an excellent rendition of the state of things @zobar, thanks! I'm drafting a proposal on a potential solution to this and other problems which will be posted on cowboyd/therubyracer#215

@cowboyd cowboyd closed this Dec 18, 2012
@abrambailey

Wow, yeah, that took a while...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment