Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Ben Noordhuis 6df4741f84 src: fix solaris 10 build error
Stop gcc from getting confused, explicitly cast the return value from
getuid() and getgid() to uint32_t.  Fixes the following build error:

    ../src/node.cc: In function 'void node::GetUid(const
    v8::FunctionCallbackInfo<v8::Value>&)':
    ../src/node.cc:1552:37: error: call of overloaded 'Set(uid_t)' is
    ambiguous
    ../src/node.cc:1552:37: note: candidates are:
    ../deps/v8/include/v8.h:5939:6: note: void
    v8::ReturnValue<T>::Set(bool) [with T = v8::Value]
    ../deps/v8/include/v8.h:5909:6: note: void
    v8::ReturnValue<T>::Set(double) [with T = v8::Value]
    ../deps/v8/include/v8.h:5915:6: note: void
    v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value, int32_t = int]
    ../deps/v8/include/v8.h:5926:6: note: void
    v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value, uint32_t =
    unsigned int]

Fixes #6182.
2013-09-05 21:47:10 +02:00
benchmark Merge remote-tracking branch 'ry/v0.10' 2013-08-31 17:58:44 -07:00
deps uv: upgrade to v0.11.13 2013-09-04 18:11:32 +02:00
doc tls: socket.renegotiate(options, callback) 2013-09-05 18:10:31 +04:00
lib tls: socket.renegotiate(options, callback) 2013-09-05 18:10:31 +04:00
src src: fix solaris 10 build error 2013-09-05 21:47:10 +02:00
test test: move slow test from simple/ to pummel/ 2013-09-05 21:04:31 +02:00
tools Merge remote-tracking branch 'ry/v0.10' 2013-08-28 10:11:17 -07:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore tools: script release steps after jenkins build 2013-08-21 16:59:15 -07:00
.mailmap Update .mailmap and AUTHORS 2013-03-19 20:07:38 +01:00
AUTHORS 2013.08.21, Version 0.11.7 (Unstable) 2013-09-04 14:01:26 -07:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
CONTRIBUTING.md doc: clarify subsystems in CONTRIBUTING.md 2013-05-14 12:31:38 +02:00
ChangeLog Merge remote-tracking branch 'upstream/v0.10' 2013-09-04 15:34:32 -07:00
LICENSE Merge remote-tracking branch 'upstream/v0.10' 2013-08-06 11:59:17 -07:00
Makefile build: make ninja build respect V= 2013-08-10 13:18:07 +02:00
README.md doc: Small update of readme for Windows users 2013-08-27 09:09:35 -07:00
android-configure build: add android support 2013-06-17 17:21:56 +02:00
common.gypi build: disable some msvc compiler warnings 2013-08-01 11:53:41 +02:00
configure build: disable SSLv2 by default 2013-08-10 15:46:06 +02:00
node.gyp build: remove unused Carbon dependency 2013-09-04 09:59:17 +02:00
vcbuild.bat build: vcbuild.bat fix for Visual Studio 2012 2013-05-03 11:32:32 +02:00

README.md

Evented I/O for V8 javascript.

To build:

Prerequisites (Unix only):

* GCC 4.2 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./configure
make
make install

Prerequisites (Windows only):

* Python 2.6 or 2.7
* Visual Studio 2010 or 2012

Windows:

vcbuild nosign

To run the tests:

Unix/Macintosh:

make test

Windows:

vcbuild test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers