New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing with native extensions stall #62

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

Comments

Projects
None yet
5 participants
@ArthurCamara

ArthurCamara commented Dec 13, 2012

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

This comment has been minimized.

Show comment
Hide comment
@JustinAiken

JustinAiken Dec 13, 2012

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..

JustinAiken commented Dec 13, 2012

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

This comment has been minimized.

Show comment
Hide comment
@zobar

zobar 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

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

This comment has been minimized.

Show comment
Hide comment
@cowboyd

cowboyd Dec 18, 2012

Owner

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

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

@abrambailey

This comment has been minimized.

Show comment
Hide comment
@abrambailey

abrambailey Jan 12, 2017

Wow, yeah, that took a while...

abrambailey commented Jan 12, 2017

Wow, yeah, that took a while...

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