node-gyp build errors while trying to install gzweb
Hi to all. I am trying to install gzweb by following the installation instructions on this site. When I get to the
sudo ./deploy.sh -m
command, I get the error message pinned here. The subsequent error message reads:
There are node-gyp build errors, exiting.
Looking at the error log, it seems there is some problem with "v8" as one recurring error message indicates:
../GZNode.cc:308:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args)
By the way, I am running on an Ubuntu 16.04. LTS version and my nodejs version is:
$ dpkg -l nodejsDesired=Unknown/Install/Remove/Purge/Hold
|Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii nodejs 4.2.6~dfsg-1 amd64 evented I/O for V8 javascript
So it might be a problem with the nodejs version. Since I only ran
sudo apt-get install nodejs
as indicated in the instructions, I don't understand how the version number could be so different from the one indicated there. Would a downgrade fix the problem? If so, how does one do that?
Thanks a lot!!!