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?

有帮助吗?

解决方案

I didnt know anything about linux... But I did have succes with these commands:

1: me@server.com [/]# cd ~
2: me@server.com [~]# mkdir node
3: me@server.com [~]# cd node
4: me@server.com [~/node]# wget http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
5: me@server.com [~/node]# tar zxvf node-v0.10.4.tar.gz
6: me@server.com [~/node]# cd node-v0.10.4
7: me@server.com [~/node/node-v0.10.4]# ./configure
8: me@server.com [~/node/node-v0.10.4]# make
9: me@server.com [~/node/node-v0.10.4]# make install

I was getting privileges errors in Centos 5... thanks everybody who helps!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top