On Mon, May 20, 2013 at 1:04 PM, satish singh <
triv...@gmail.com> wrote:
> Hi Team,
>
> I am unable to install node on my system, I tried installing different
> version's, getting the below issue with all of them:
>
> "make[1]: *** No rule to make target `|', needed by
> `/opt/softwaretemp/setup/less/node-latest-install/node/out/Release/obj.target/deps/v8/tools/gyp/js2c.stamp'.
> Stop."
>
> bash-3.2# lsb_release -i -r
>
> Distributor ID: RedHatEnterpriseServer
> Release: 5.3
> x86_64 GNU/Linux
>
> Version of Python:
> Python 2.7.2 (default, Apr 12 2013, 04:46:16)
> [GCC 4.1.1] on linux2
>
> Install Log:
> bash-3.2# ls
> AUTHORS BSDmakefile common.gypi
config.mk CONTRIBUTING.md doc
> LICENSE node.gyp README.md test vcbuild.bat
> benchmark ChangeLog config.gypi configure deps lib
> Makefile out src tools
>
> bash-3.2# ./configure
> { 'target_defaults': { 'cflags': [],
> 'default_configuration': 'Release',
> 'defines': [],
> 'include_dirs': [],
> 'libraries': []},
> 'variables': { 'clang': 0,
> 'gcc_version': 41,
> 'host_arch': 'x64',
> 'node_install_npm': 'true',
> 'node_prefix': '',
> 'node_shared_cares': 'false',
> 'node_shared_http_parser': 'false',
> 'node_shared_libuv': 'false',
> 'node_shared_openssl': 'false',
> 'node_shared_v8': 'false',
> 'node_shared_zlib': 'false',
> 'node_tag': '',
> 'node_unsafe_optimizations': 0,
> 'node_use_dtrace': 'false',
> 'node_use_etw': 'false',
> 'node_use_openssl': 'true',
> 'node_use_perfctr': 'false',
> 'node_use_systemtap': 'false',
> 'python': '/opt/softwaretemp/bin/python',
> 'target_arch': 'x64',
> 'v8_enable_gdbjit': 0,
> 'v8_no_strict_aliasing': 1,
> 'v8_use_snapshot': 'true'}}
> creating ./config.gypi
> creating ./
config.mk
>
> bash-3.2# make
> make -C out BUILDTYPE=Release V=1
> make[1]: Entering directory
> `/opt/softwaretemp/setup/less/node-latest-install/node/out'
> make[1]: *** No rule to make target `|', needed by
> `/opt/softwaretemp/setup/less/node-latest-install/node/out/Release/obj.target/deps/v8/tools/gyp/js2c.stamp'.
> Stop.
> make[1]: Leaving directory
> `/opt/softwaretemp/setup/less/node-latest-install/node/out'
> make: *** [node] Error 2
>
>
> Please provide input on this, I need to install it for using less.js .
Your version of make is probably too old, you need 3.81. Also, your
gcc is rather ancient - the oldest supported version is 4.2.