Questions tagged [libv8]

A gem for distributing the v8 runtime libraries and headers in both source and binary form.

A gem for distributing the v8 runtime libraries and headers in both source and binary form.

The goal of libv8 is two fold: provide a binary gem containing the a pre-compiled libv8.a for as many platforms as possible while at the same time supporting for an automated compilation for all others.

Not only does this drastically reduce gem install times, but it also reduces dependencies on the local machine receiving the gem. It also opens the door for supporting Windows.

87 questions
2
votes
1 answer

wicked_pdf can not find libv8-3.16.14.3 (but installed)

I just switched from acts_as_flying_saucer to wicked_pdf because I always had problems with this FFI stuff. Now I'm trying to get this wicked_pdf gem running in my application but if I ran any of the PDF generation methods I get the following…
cham_eleon
  • 21
  • 1
  • 4
1
vote
1 answer

An error occurred while installing libv8 (8.4.255.0)

I've been struggling with this error for quite some time, hope someone can please assist. This is the error I run into when I run bundle. Fetching libv8 8.4.255.0 Installing libv8 8.4.255.0 with native extensions Gem::Ext::BuildError: ERROR:…
PierceF
  • 53
  • 6
1
vote
2 answers

Is it possible to execute hand-coded bytecode scripts in the V8 engine?

I am in the early stages of a project that aims to estimate the power consumption of Javascript apps. Similar work has been done with Android apps through Java bytecode profiling, and I am hoping to apply a similar methodology using the bytecode…
Jaldev
  • 13
  • 4
1
vote
1 answer

V8 javascript for C++ - precompiled binaries

Can you please tell me if there are pre-compiled binaries of the v8 library somewhere? Because building from source is just some kind of hell.
Optimus1
  • 444
  • 2
  • 13
1
vote
1 answer

How to install therubyracer on aarch64 using using preinstalled libv8 gem and precompiled v8 dependencies?

I've been trying to install therubyracer gem on an aarch64 device. I cross-compiled v8 from source (I have got an arm64.release folder resulting from the compilation) but do not know where to put it. I also managed to successfully install libv8 by…
raquelhortab
  • 430
  • 4
  • 13
1
vote
1 answer

Jekyll installation failure on local mac machine

user@me-MacBook-Pro jekyll-site % sudo bundle exec jekyll serve Could not find therubyracer-0.12.3 in any of the sources Run `bundle install` to install missing gems. Now I run bundle install and it is running without fail until Installing…
Happy Coder
  • 4,255
  • 13
  • 75
  • 152
1
vote
1 answer

How can I install gem libv8 in Mac OS Big Sur 11.0?

When I try to install the libv8 gem version 7.3.492.27.1 with command gem install libv8 -v '7.3.492.27.1' it fails with unable to fetch v8 source How can I install libv8 in Mac OS Big Sur 11.0?
David Clavijo
  • 387
  • 1
  • 11
1
vote
1 answer

Error unable to find the package name called v8-devel on RHEL8

I am trying to install v8-devel rpm package on RHEL 8.1 but unable to find it in all repositories of RHEL as well as in EPEL. I tried all the possibilities as shown below: yum install v8-devel yum install v8-devel yum --enablerepo=* install v8* yum…
Santosh Garole
  • 1,419
  • 13
  • 23
1
vote
1 answer

libv8 with ruby on FreeBSD 12

I'm trying to get a ruby app working on FreeBSD 12 but I seem to fail miserably. I installed v8 via pkg install v8 and tried to install the libv8 gem via this command: gem install libv8 -v '7.3.492.27.1' -- --with-system-v8 This seems to work fine…
TylerDurden
  • 697
  • 1
  • 5
  • 16
1
vote
2 answers

How can i trace bytecode instructions in v8 library

I'm using the v8 library to run JavaScript code in C++-project. And I want to log every bytecode instruction at run time. Is it possible or not? Or can I only log the assembly instructions? And if I can, then how? The trace log is required, not the…
1
vote
1 answer

Difficulty installing therubyracer 0.10.2 and apple-gcc42 on Mac OSX 10.12.6 Sierra

The answer to this similar question doesn't solve my problem. Here is the answer from that question: If you decide to use a newer therubyracer gem version, you will no longer have this problem Otherwise: brew tap homebrew/dupes # Thanks Tom brew…
Wylliam Judd
  • 9,935
  • 2
  • 26
  • 36
1
vote
1 answer

Node addon unable to snapshot (CreateToolhelp32Snapshot) modules

I'm trying to learn C++ but can't quite understand why when I attempt to snapshot modules via a Node add-on different results are returned to when I run the program through VS on the desktop. Using this source from MSDN I can list all modules within…
Rob
  • 53
  • 1
  • 4
1
vote
2 answers

Error installing rubygems (DL is deprecated)

Hello i'm tring to install: gem 'therubyracer', '~> 0.12.2' gem 'libv8', '~> 3.16.14.7' in my application ruby (on windows) when i execute the command bundle install the terminal show me this error: C:\Sites\bootstrap>bundle install DL is…
giovaZ
  • 1,432
  • 3
  • 20
  • 62
1
vote
0 answers

Ruby bundle install tries to compile libv8 gem already installed

When doing bundle install on a client's Ruby project, I'm getting this error: An error occurred while installing libv8 (3.16.14.3), and Bundler cannot continue. However, when I do gem list, that gem and version are clearly already there: $ gem…
Lavamantis
  • 3,766
  • 2
  • 25
  • 22
1
vote
1 answer

libv8 fails on installation using jruby

I am trying to bundle install a sample rails 4 app and I am running into the following problem. libv8 fails on installation using jruby 1.7.18. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. …
klee
  • 1,554
  • 2
  • 19
  • 31