I have a
virtualized RHEL 7 server and trying to build V8 source code as shown
here. This is a 64-bit version of RHEL 7
*Install GIT:*
sudo yum install git
* Download Google’s ‘depot tools’ (via git):*
http://dev.chromium.org/developers/how-tos/install-depot-tools
* Download the v8 source code (via gclient/depot_tools):*
https://github.com/v8/v8/wiki/Using%20Git
* Build v8 (via GCC + make):*
https://github.com/v8/v8/wiki/Building%20with%20Gyp
All the steps are fine until I try to build with gyp. It fails with the
following error. Not sure the issue or even where to start trouble shooting.
It's an issue with v8.h and #include <utiltiy> statement. I can circumvent
by commenting that out but then I begin to see similiar errors with different
statement on different *.h files. "gclient sync" seems to update
dependencies correctly.
[root@xxxxxx v8]# make native
make[1]: Entering directory `/usr/local/bin/v8/out'
CXX(target) /usr/local/bin/v8/out/native/obj.target/v8_base/src/accessors.o
In file included from ../src/accessors.cc:5:
In file included from .././src/accessors.h:8:
.././include/v8.h:21:10: fatal error: 'utility' file not found
#include <utility>
^
1 error generated.
make[1]: *** [/usr/local/bin/v8/out/native/obj.target/v8_base/src/accessors.o]
Error 1
make[1]: Leaving directory `/usr/local/bin/v8/out'
make: *** [native] Error 2
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.