Re: [nodejs] Trying to build node.js 0.8.11 on Solaris SPARC 10

Showing 1-1 of 1 messages
Re: [nodejs] Trying to build node.js 0.8.11 on Solaris SPARC 10 Ben Noordhuis 10/5/12 1:42 PM
On Fri, Oct 5, 2012 at 10:21 PM, Bill Smith <gtmtn...@gmail.com> wrote:
> Hi, I'm trying to configure/build node on Solaris SPARC 10 and ham running
> into a problem with configure. The problem I'm running into is described at:
> https://github.com/joyent/node/issues/3322
>
> Specifically, this:
>
> Also, thought I would mention that Solaris '/sbin/sh' cannot handle the
> constructs like:
>
> 'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - >
> /dev/null 2>&1) && echo "-m32" || true)',
>
> which causes choking:
>
> 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 /usr/local/src/node-v0.8.2/node.gyp while trying to
> load /usr/local/src/node-v0.8.2/node.gyp
>
> Quick solution is to put /bin/bash in place at /sbin/sh.
>
>
> Well, I can't really replace /sbin/sh with /bin/bash.  Is there another
> solution that I could use?  I would also like to reopen the bug as there is
> still Solaris specific issues with Node.  Thanks.

I'll reopen the bug for you if you like (or maybe open a new one - the
original bug report was about something else) but fixing gyp won't
help you, V8 doesn't support SPARC.