LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   nodejs installation error (https://www.linuxquestions.org/questions/linux-newbie-8/nodejs-installation-error-4175462073/)

yashfire007 05-15-2013 05:25 AM

nodejs installation error
 
Hai to all, I am trying to install nodejs by yum but it is not working,,,

[root@localhost opt]# yum install nodejs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.net.in
* epel: epel.mirror.net.in
* extras: centos.mirror.net.in
* updates: centos.mirror.net.in
Setting up Install Process
No package nodejs available.
Nothing to do


I have downloaded the nodejs package from

http://nodejs.org/dist/node-latest.tar.gz

and extracted it.

then i did Source code installation.. While using doing

#./configure ,,,, it is showing as the error as


File "./configure", line 433
fpu = 'vfpv3' if armv7 else 'vfpv2'
^
SyntaxError: invalid syntax


I have googled a lot but i didnt get any solution...


Kindly please suggest me..

Satyaveer Arya 05-15-2013 05:34 AM

For which OS you are installing this package?

yashfire007 05-15-2013 05:36 AM

Quote:

Originally Posted by Satyaveer Arya (Post 4951601)
For which OS you are installing this package?



CentOS 5.9

Satyaveer Arya 05-15-2013 05:50 AM

Checkout this link-
http://serverfault.com/questions/299...e-js-on-centos

TB0ne 05-15-2013 09:37 AM

Quote:

Originally Posted by yashfire007 (Post 4951600)
Hai to all, I am trying to install nodejs by yum but it is not working,,,
I have downloaded the nodejs package from http://nodejs.org/dist/node-latest.tar.gz and extracted it. then i did Source code installation.. While using doing

#./configure ,,,, it is showing as the error as

File "./configure", line 433 fpu = 'vfpv3' if armv7 else 'vfpv2'

I have googled a lot but i didnt get any solution...

Really?? I doubt that, because when I put "nodejs installation on centos 5" into Google, the VERY FIRST HIT is:
http://server-support.co/blog/sysadm...stall-node-js/

Step-by-step directions. Even tells you how to configure the EPEL repository, and what to install from it, and gives you a startup script.


All times are GMT -5. The time now is 01:24 AM.