Status: New
Owner: ----

New issue 2860 by t...@cebitec.uni-bielefeld.de: build process assumes $(cmd) availability in /bin/sh
http://code.google.com/p/v8/issues/detail?id=2860

While building Node.js from http://nodejs.org/ the configure process failed for me on Solaris 10/x86 for the bundled v8 with the following error (see https://github.com/joyent/node/issues/6113 for further details):

/bin/sh: syntax error at line 1: `$' unexpected
gyp: 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 /vol/obj/node/foo/node-v0.10.17/node.gyp while trying to load /vol/obj/node/foo/node-v0.10.17/node.gyp
Error running GYP

The reason is that v8's build process incorrectly assumes that $(cmd) expansion is available in /bin/sh which is not the case for a real Bourne-Shell and affects (at least) systems running Solaris 10 and earlier.

Therefore, I'd like to propose the attached patch to v8's build/toolchain.gypi which I've derived from the slightly different deps/v8/build/common.gypi source in Node.js.

Attachments:
        toolchain.gypi.udiff  971 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to