Reputation: 1431
Ive wget a version that have .configure of NODEJS (node-v0.8.3) Be couse the latest version doesnt have .configue o make or makeintall.. (Just found "how to" with ./configue)... My server is CENTOS 5.. I wnat to install NODEJS.. need help! Im gettins the following error:
xxx@xxx [/usr/local/src/node-v0.8.3]# ./configure
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'host_arch': 'x64',
'node_install_npm': 'true',
'node_install_waf': 'true',
'node_prefix': '',
'node_shared_openssl': 'false',
'node_shared_v8': 'false',
'node_shared_zlib': 'false',
'node_use_dtrace': 'false',
'node_use_etw': 'false',
'node_use_openssl': 'true',
'target_arch': 'x64',
'v8_no_strict_aliasing': 1,
'v8_use_snapshot': 'true'}}
creating ./config.gypi
Traceback (most recent call last):
File "./configure", line 400, in <module>
pprint.pformat(output, indent=2) + "\n")
File "./configure", line 396, in write
f = open(filename, 'w+')
IOError: [Errno 13] Permission denied: './config.gypi'
What is wrong?
Upvotes: 2
Views: 3018
Reputation: 1431
I didnt know anything about linux... But I did have succes with these commands:
1: [email protected] [/]# cd ~
2: [email protected] [~]# mkdir node
3: [email protected] [~]# cd node
4: [email protected] [~/node]# wget http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
5: [email protected] [~/node]# tar zxvf node-v0.10.4.tar.gz
6: [email protected] [~/node]# cd node-v0.10.4
7: [email protected] [~/node/node-v0.10.4]# ./configure
8: [email protected] [~/node/node-v0.10.4]# make
9: [email protected] [~/node/node-v0.10.4]# make install
I was getting privileges errors in Centos 5... thanks everybody who helps!
Upvotes: 3