I'm trying to build libuv 0.11.24 on a Debian machine. I tried:
./gyp_uv.py -f make
make -C out
I get this error:
make: Entering directory `./out'
LINK(target) ./out/Debug/run-benchmarks
flock: g++: No such file or directory
make: *** [./out/Debug/run-benchmarks] Error 69
make: Leaving directory `./out'
Your Error:
flock: g++: No such file or directory
Indicates that you've not installed a c++ compiler. Because this is a debian system, you need to install the appropriate package(s), which are at a minimum build-essential
, which should pull in g++
:
sudo apt-get install build-essential
The next question is, why aren't you just installing the system provided version of libuv? The one that you should be able to install using apt-get install libuv-dev
?