On Thu, Feb 7, 2013 at 5:54 PM, Grzegorz Junka <li...@gjunka.com> wrote:
> Hi, I'm trying to install node.js on Solaris 10. The binary distribution
> that can be downloaded from node.js website is compiled on Solaris 11 and
> doesn't work on Solaris 10 (libsocket.so.1: version 'SUNW_1.7' not found).
>
> I tried to compile from sources but I am getting this error:
>
> /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 /Documents/staging/pdfweb/deps/node/node.gyp while
> trying to load /Documents/staging/pdfweb/deps/node/node.gyp
> Error running GYP
>
>
> I installed both gcc and g++ from OpenCSW:
>
> bash-4.2# which gcc && which g++
> /opt/csw/bin/gcc
> /opt/csw/bin/g++
>
>
> Python is in version 2.6.8 and make in version 3.81, so all prerequisites
> are fulfilled. Any idea or suggestion? I would appreciate any help.

Do you have a really old version of bash as /bin/sh or something that
isn't bash at all?  GYP (the build system) assumes a non-ancient
version of bash.

-- 
-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

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


Reply via email to