Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 13127  / 2 Years ago, tue, february 15, 2022, 8:06:06

I'm trying to get Vim JS lint plugin working under Ubuntu 12.04. The plugin requires the d8 command, which is an executable version of Google's v8 JavaScript Engine.



I do see a libv8 package, but that doesn't seem to either install d8 or at least, not put it on my path. The package is described as




libv8-3.7.12.22 - v8 JavaScript engine - runtime library




Is there any package that will install an executable version of the v8 engine, or do I just have to build it manually?


More From » 12.04

 Answers
5

I am going to take the lack of answers as a no.



It is not difficult to make and install v8 from Google's SVN repo.



All you need to do is check it out and make it.



svn checkout http://v8.googlecode.com/svn/trunk/ ./v8
cd v8
make builddeps
make native


Then inside the out/native directory there will be d8 binary, I just symlinked this to my /usr/local/bin.


[#38165] Thursday, February 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anxietunnel

Total Points: 66
Total Questions: 120
Total Answers: 115

Location: Norway
Member since Sat, Mar 4, 2023
1 Year ago
;