Johan Bergström
766d063e05
configure: remove shared cares build option
...
Bundled cares differs from upstream which will result
in a compilation error when trying to used a shared cares.
Fixes: https://github.com/joyent/node/pull/8786
PR-URL: https://github.com/iojs/io.js/pull/38
Reviewed-By: Fedor Indutny <fedor@indutny.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2014-12-04 21:20:28 +11:00
Ben Noordhuis
cee3f51cef
build: remove python 2.7 dependency
...
Remove the dependency on the 'sysconfig' module, it breaks the build
when $(PYTHON) is python 2.6.
PR-URL: https://github.com/node-forward/node/pull/39
Reviewed-By: Fedor Indutny <fedor@indutny.com >
2014-10-29 16:02:01 +01:00
Ray Donnelly
eccb101193
build: determine and use EXEEXT on windows
...
PR-URL: https://github.com/joyent/node/pull/8294
Reviewed-By: Fedor Indutny <fedor@indutny.com >
2014-10-10 01:21:12 +04:00
Fedor Indutny
d3204b0225
installer: copy smalloc.h on installation
...
fix #7485
Signed-off-by: Fedor Indutny <fedor@indutny.com >
2014-05-02 22:55:15 +04:00
Fedor Indutny
78d245f5b2
Merge remote-tracking branch 'origin/v0.10'
...
Conflicts:
configure
lib/_stream_readable.js
lib/http.js
src/node_dtrace.cc
2014-03-02 23:54:19 +04:00
Fedor Indutny
e0c5302590
installer: copy node.d only with node_use_dtrace
2014-02-21 01:03:03 +04:00
Fedor Indutny
b940e0fd86
gyp: specialize node.d for freebsd
...
`node.d` should use `psinfo.d` instead of `procfs.d` and have statically
defined architecture on FreeBSD.
2014-02-21 00:46:26 +04:00
Timothy J Fontaine
3dcb71f962
Merge remote-tracking branch 'upstream/v0.10'
2013-12-30 15:55:47 -08:00
T.C. Hollingsworth
55b0bd639d
build: install common.gypi along with headers
...
node-gyp requires this file
2013-12-20 11:03:06 -08:00
Timothy J Fontaine
5b96d6baf6
Merge remote-tracking branch 'upstream/v0.10'
...
Conflicts:
ChangeLog
deps/uv/AUTHORS
deps/uv/ChangeLog
deps/uv/src/version.c
deps/v8/src/log-utils.cc
src/node_version.h
2013-12-19 09:33:46 -08:00
Timothy J Fontaine
32478acf94
build: unix install node and dep library headers
...
Restores functionality from v0.8 where module authors may not be
relying on gyp for building their modules.
2013-12-18 15:06:20 -08:00
Timothy J Fontaine
17e696c312
systemtap: add tapset for node user probes
...
This makes systemtap tracing prettier, you can do things like `stap -e
'probe node_http_server_request { println(probestr); }'`
2013-05-22 20:19:31 -07:00
Olof Johansson
ddf4d1a32a
install: Support $(PREFIX) install target directory prefix
...
This change introduces support for the common PREFIX variable in the
Makefile and install.py, instead of having /usr/local hardcoded. This
makes it much easier to install node to custom locations e.g. in a
user's home directory.
The PREFIX variable defaults to /usr/local.
2013-04-23 22:38:44 +02:00
Ben Noordhuis
2b5bc8e0d6
install: don't install man page twice
...
Looks like a merge conflict in 77ed12f left in the old, unconditional
install rule. Remove it, the new and improved rule is a few lines down.
Fixes #5044 .
2013-03-16 23:22:10 +01:00
isaacs
3d7818fc42
Merge remote-tracking branch 'ry/v0.8' into master
...
Conflicts:
AUTHORS
ChangeLog
src/node_version.h
test/simple/test-buffer.js
2013-01-18 12:58:16 -08:00
Chris Dent
6b4a93577b
install: add simplejson fallback
...
Make tools/install.py work with python 2.5
2.5 is still fairly widespread and does not include a json lib as
standard. Most python folk will have simplejson if they are in that
boat.
In general it seems a bit tricky to solve this perfectly...
2013-01-15 09:34:07 +01:00
Ben Noordhuis
79ae8b7ae2
Merge remote-tracking branch 'origin/v0.8'
2012-12-20 12:39:04 +01:00
Ben Noordhuis
53b826e6ae
install: fix openbsd man page location
...
Man pages go into $PREFIX/man on OpenBSD, not $PREFIX/share/man.
2012-12-17 12:05:14 +01:00
isaacs
77ed12fe7a
Merge remote-tracking branch 'ry/v0.8' into master
...
Conflicts:
AUTHORS
ChangeLog
deps/uv/test/test-spawn.c
deps/uv/uv.gyp
src/cares_wrap.cc
src/node.cc
src/node_version.h
test/simple/test-buffer.js
tools/gyp/pylib/gyp/common.py
tools/install.py
2012-12-13 16:57:58 -08:00
Ben Noordhuis
22965da799
install: fix freebsd man page location
...
Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
2012-12-02 02:55:50 +01:00
Ben Noordhuis
5d9968f53d
installer: don't install header files
...
They are no longer necessary now that node-waf has been removed. People need to
switch to node-gyp.
2012-09-10 01:31:13 +02:00
Ben Noordhuis
2efa3ae64f
installer: reapply b21c8e0b, honor --without-npm
...
This bug was already fixed in the v0.8 branch but git skips the patch when
merging v0.8 into master. Reapply it manually.
Fixes #3961 .
2012-09-04 15:08:32 +02:00
Ben Noordhuis
a177f55b0c
Merge remote-tracking branch 'origin/v0.8'
...
Conflicts:
ChangeLog
src/node_version.h
test/message/stdin_messages.out
tools/install.py
2012-08-17 13:05:20 +02:00
Ben Noordhuis
de32b38992
addon: remove node-waf, superseded by node-gyp
2012-08-14 23:06:32 +02:00
Ben Noordhuis
08b382c2fb
installer: remove c-ares header files
...
Fixes #3847 .
2012-08-08 20:25:33 +02:00
Nathan Rajlich
093be8b16b
install: prevent a KeyError from being thrown when PORTABLE is not set
2012-08-06 13:22:05 -07:00
Nathan Rajlich
7a9db6cfb1
install: add a "portable" mode to the shebang-rewriting logic
...
This "portable" mode rewrites the npm shebang to use the "node" executable
in the same directory relative to the "npm" script. This makes the "npm"
script "just work" even when "node" is not in the user's $PATH.
This mode is necessary for the precompiled binary packages that may potentially
be extracted to anywhere. The regular shebang-rewriting logic would normally
set the npm script's shebang to "/bin/node" which will not be present on anyone's
machine. In the end, we want the precompiled packages to be as user-friendly as
possible.
2012-08-06 10:18:27 -07:00
Nathan Rajlich
6bdd4d0205
install: install the "wafadmin/Tools" files into the correct dir
...
Previously they were going into just "wafadmin" and node-waf wasn't working.
2012-08-06 10:16:09 -07:00
Nathan Rajlich
3254caceef
install: use os.path.join() to create the npm shebang
...
Prettier formatting for the shebang if the "prefix" ends with a /
2012-08-05 14:02:30 -07:00
Nathan Rajlich
57f785151a
install: install the "wafadmin" files into the correct directory
...
Before they were just being copied into "lib/node/".
Now they go into "lib/node/wafadmin/".
2012-08-04 00:10:58 -07:00
Ben Noordhuis
110e499fe7
installer: prevent ETXTBSY errors
...
The installer does what amounts to `cp -p`. If the node binary is in use at
the time of the copy, it'd fail with a ETXTBSY error. That's why it's unlinked
first now.
2012-08-04 02:41:34 +02:00
Ben Noordhuis
b21c8e0bfd
installer: honor --without-npm, default install path
...
* honor the --without-waf and --without-npm configure switches
* a small logic bug made the installer script install to $PWD instead of
/usr/local if --prefix= was not passed to configure
2012-08-04 02:18:18 +02:00
Ben Noordhuis
50e00de92a
installer: fix cross-compile installs
...
The old installer was a JS script, which didn't work if node had been
cross-compiled for another architecture. Replace it with a python script.
Fixes #3807 .
2012-08-02 13:51:35 +02:00