On Sat, Jun 22, 2013 at 10:11 AM, Saxon <[email protected]> wrote:
> Hello everyone,
>
> Just started to learn Node.js today, and it costed me a few hours just to do
> the installation. However, I still cannot successfully install it on my Mac.
>
> Errors are found in make test and make install, could someone please tell me
> what to do? I would be very very grad.
>
> Here is the log:
>
> Thank you guys :')
>
>> S:node-v0.10.12 Saxon$ make test
>>
>> make -C out BUILDTYPE=Release V=1
>>
>> make[1]: Nothing to be done for `all'.
>>
>> ln -fs out/Release/node node
>>
>> /usr/bin/python tools/test.py --mode=release simple message
>>
>> === release test-child-process-customfd-bounded ===
>>
>> Path: simple/test-child-process-customfd-bounded
>>
>> child_process.js:927
>>
>>     throw errnoException(process._errno, 'spawn');
>>
>>           ^
>>
>> Error: spawn EMFILE
>>
>>     at errnoException (child_process.js:980:11)
>>
>>     at ChildProcess.spawn (child_process.js:927:11)
>>
>>     at exports.spawn (child_process.js:715:9)
>>
>>     at Object.exports.spawnPwd
>> (/private/tmp/node-v0.10.12/test/common.js:83:12)
>>
>>     at Object.<anonymous>
>> (/private/tmp/node-v0.10.12/test/simple/test-child-process-customfd-bounded.js:29:8)
>>
>>     at Module._compile (module.js:456:26)
>>
>>     at Object.Module._extensions..js (module.js:474:10)
>>
>>     at Module.load (module.js:356:32)
>>
>>     at Function.Module._load (module.js:312:12)
>>
>>     at Function.Module.runMain (module.js:497:10)
>>
>> Command: out/Release/node
>> /private/tmp/node-v0.10.12/test/simple/test-child-process-customfd-bounded.js
>>
>> === release test-memory-usage-emfile ===
>>
>> Path: simple/test-memory-usage-emfile
>>
>> fs.js:427
>>
>>   return binding.open(pathModule._makeLong(path), stringToFlags(flags),
>> mode);
>>
>>                  ^
>>
>> Error: EMFILE, too many open files
>> '/private/tmp/node-v0.10.12/test/simple/test-memory-usage-emfile.js'
>>
>>     at Object.fs.openSync (fs.js:427:18)
>>
>>     at Object.<anonymous>
>> (/private/tmp/node-v0.10.12/test/simple/test-memory-usage-emfile.js:33:17)
>>
>>     at Module._compile (module.js:456:26)
>>
>>     at Object.Module._extensions..js (module.js:474:10)
>>
>>     at Module.load (module.js:356:32)
>>
>>     at Function.Module._load (module.js:312:12)
>>
>>     at Function.Module.runMain (module.js:497:10)
>>
>>     at startup (node.js:119:16)
>>
>>     at node.js:901:3
>>
>> Command: out/Release/node
>> /private/tmp/node-v0.10.12/test/simple/test-memory-usage-emfile.js
>>
>> [03:17|% 100|+ 590|-   2]: Done
>>
>> make: *** [test] Error 1
>>
>> S:node-v0.10.12 Saxon$ make install
>>
>> make -C out BUILDTYPE=Release V=1
>>
>> make[1]: Nothing to be done for `all'.
>>
>> ln -fs out/Release/node node
>>
>> /usr/bin/python tools/install.py install
>>
>> installing /usr/local/bin/node
>>
>> installing /usr/local/lib/dtrace/node.d
>>
>> Traceback (most recent call last):
>>
>>   File "tools/install.py", line 156, in <module>
>>
>>     run(sys.argv[:])
>>
>>   File "tools/install.py", line 151, in run
>>
>>     if cmd == 'install': return files(install)
>>
>>   File "tools/install.py", line 127, in files
>>
>>     action(['src/node.d'], 'lib/dtrace/')
>>
>>   File "tools/install.py", line 79, in install
>>
>>     def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
>>
>>   File "tools/install.py", line 79, in <lambda>
>>
>>     def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
>>
>>   File "tools/install.py", line 69, in try_copy
>>
>>     try_mkdir_r(os.path.dirname(target_path))
>>
>>   File "tools/install.py", line 44, in try_mkdir_r
>>
>>     os.makedirs(path)
>>
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
>> line 157, in makedirs
>>
>>     mkdir(name, mode)
>>
>> OSError: [Errno 13] Permission denied: '/usr/local/lib/dtrace'
>>
>> make: *** [install] Error 1

OS X has a default open file descriptor limit of 256, which is too low
for some of the tests.  Raise it with `ulimit -n 1024`.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to