Hi all,
I'm attempting to build an updated node.js (0.8.2) on a Joyent SmartMachine
but am unable to run the configure script (output is below). I've
previously been using 0.5.7. On some experimentation, I've found that I can
build the 0.6 branch but not 0.7.x or 0.8.x. Usually I can hack my way
through this stuff, but I'm not sure where to look in this case. I imagine
it's something simple. Can anyone give me a solution?
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'host_arch': 'ia32',
'node_install_npm': 'true',
'node_install_waf': 'true',
'node_no_strict_aliasing': 1,
'node_prefix': '',
'node_shared_openssl': 'false',
'node_shared_v8': 'false',
'node_shared_zlib': 'false',
'node_use_dtrace': 'true',
'node_use_etw': 'false',
'node_use_openssl': 'true',
'strict_aliasing': 'false',
'target_arch': 'ia32',
'v8_no_strict_aliasing': 1,
'v8_use_snapshot': 'true'}}
creating ./config.gypi
creating ./config.mk
/bin/sh: syntax error at line 1: `$' unexpected
Traceback (most recent call last):
File "tools/gyp_node", line 58, in <module>
run_gyp(gyp_args)
File "tools/gyp_node", line 18, in run_gyp
rc = gyp.main(args)
[ . . . ]
File "./tools/gyp/pylib/gyp/input.py", line 714, in ExpandVariables
(contents, p.returncode))
Exception: Call to '(echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - >
/dev/null 2>&1) && echo "-m32" || true' returned exit status 2. while
loading dependencies of /home/admin/node-v0.8.2/node.gyp while trying to
load /home/admin/node-v0.8.2/node.gyp
Thanks in advance for any help.
Shane
--
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