install node js error in "make" command: "recipe for target 'node' failed"

Islam Assi picture Islam Assi · Aug 8, 2014 · Viewed 13.6k times · Source

I'm trying to install node js on my linux. I installed all the prerequisites correctly. and I run ./configure correctly. the problem is in "make" command and "make install" command

make

make install

-

here is what I received in the terminal after "make" command:

/usr/bin/python tools/gyp_node.py -f make
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory '/home/islamassi/programming files/phoneGap/node-     v0.10.30/node/out'
Makefile:271: *** mixed implicit and normal rules.  Stop.
make[1]: Leaving directory '/home/islamassi/programming files/phoneGap/node-   v0.10.30/node/out'
Makefile:45: recipe for target 'node' failed
make: *** [node] Error 2

-

and this after "make install" command:

make -C out BUILDTYPE=Release V=1
make[1]: Entering directory '/home/islamassi/programming files/phoneGap/node-v0.10.30/node/out'
Makefile:271: *** mixed implicit and normal rules.  Stop.
make[1]: Leaving directory '/home/islamassi/programming files/phoneGap/node-   v0.10.30/node/out'
Makefile:45: recipe for target 'node' failed
make: *** [node] Error 2

Answer

DigDan picture DigDan · Mar 10, 2015

I was able to get around this error by by :

./configure --without-snapshot

before the

make & make install