CentOS 6.9 / V8 Trouble

Issues related to applications and software problems
Post Reply
sturdynut
Posts: 2
Joined: 2017/04/17 20:17:25

CentOS 6.9 / V8 Trouble

Post by sturdynut » 2017/04/17 20:28:17

Hello,

I'm trying to get v8 installed on centos 6.9. Here's what I've done so far:

1. Installed python 2.7 (done)
2. Updated git to 2.* (done)
3. Cloned the repo_tools (https://chromium.googlesource.com/chrom ... _tools.git) and added them to my $PATH.

So, my goal is to get v8js installed so I can run javascript in php. In order to run v8js it requires a newer version of v8. To do this, I fetched v8, then checked out to a newer version and attempted to build.

4. I did a `fetch v8`, then `cd v8 && git checkout 5.9.223 && gclient sync`
5. I then ran: `tools/dev/v8gen.py -vv x64.release` but I'm getting these errors:

/usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by /usr/local/git-installs/v8/buildtools/linux64/gn)
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/git-installs/v8/buildtools/linux64/gn)

This appears to be an issue with my c++ compiler, but I wanted to reach out here to see if anyone could help. I'm following instructions from here: https://github.com/phpv8/v8js/blob/mast ... E.Linux.md

Thank you!!

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 / V8 Trouble

Post by TrevorH » 2017/04/17 22:04:51

There is a 'v8' package in EPEL.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

sturdynut
Posts: 2
Joined: 2017/04/17 20:17:25

Re: CentOS 6.9 / V8 Trouble

Post by sturdynut » 2017/04/17 23:06:31

Thank you Trevor, unfortunately the version on EPEL is 3.14 and I need a newer version. I'm trying to eventually get v8js installed and looking at their docs, they mention this specifically. So, I've been trying to build a newer version of v8 using the depot_tools libs provided by google...which is blowing up on me.

https://github.com/phpv8/v8js/blob/mast ... E.Linux.md

Post Reply