Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 811
Islam Assi Avatar asked Oct 21 '22 03:10

Islam Assi


1 Answers

I was able to get around this error by by :

./configure --without-snapshot

before the

make & make install
like image 86
DigDan Avatar answered Oct 23 '22 03:10

DigDan