The same error occurs when compiling node-v0.8.14 on RedHatEnterpriseAS
4(x86_64 host).
Try your method, got this:
make[1]: ***
[node-v0.8.14/out/Release/obj.target/v8_snapshot/geni/snapshot.o] Error 1
make[1]: Leaving directory node-v0.8.14/out
make: ***[node] Error 2
My configuration is:
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'clang': 0,
'gcc_version': 42,
'host_arch': 'x64',
'node_install_npm': 'true',
'node_install_waf': 'true',
'node_prefix': '/home/longhong',
'node_shared_openssl': 'false',
'node_shared_v8': 'false',
'node_shared_zlib': 'false',
'node_unsafe_optimizations': 0,
'node_use_dtrace': 'false',
'node_use_etw': 'false',
'node_use_openssl': 'true',
'target_arch': 'x64',
'v8_no_strict_aliasing': 1,
'v8_use_snapshot': 'true'}
On Monday, February 18, 2013 10:37:04 PM UTC+8, Ben Noordhuis wrote:
>
> On Mon, Feb 18, 2013 at 10:41 AM, <[email protected] <javascript:>>
> wrote:
> > hi all
> > I am building node-v0.8.20 from source in RedHatEnterpriseAS 4
> >
> > $ ./configure
> > { 'target_defaults': { 'cflags': [],
> > 'default_configuration': 'Release',
> > 'defines': [],
> > 'include_dirs': [],
> > 'libraries': []},
> > 'variables': { 'clang': 0,
> > 'gcc_version': 34,
> > 'host_arch': 'x64',
> > 'node_install_npm': 'true',
> > 'node_install_waf': 'true',
> > 'node_prefix': '',
> > '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',
> > 'target_arch': 'x64',
> > 'v8_no_strict_aliasing': 1,
> > 'v8_use_snapshot': 'true',
> > 'visibility': ''}}
> > creating ./config.gypi
> > creating ./config.mk
> >
> >
> > $ make
> > python tools/gyp_node -f make
> > make -C out BUILDTYPE=Release V=1
> > make[1]: Entering directory `/home/work/lili/node-v0.8.20/out'
> > make[1]: *** No rule to make target
> >
> `/home/work/lili/node-v0.8.20/out/Release/obj.target/v8_base/gen/debug-support.o',
>
>
> > needed by
> >
> `/home/work/lili/node-v0.8.20/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a'.
>
>
> > Stop.
> > make[1]: Leaving directory `/home/work/lili/node-v0.8.20/out'
> > make: *** [node] Error 2
> >
> > here is my environment:
> >
> > $ lsb_release -a LSB Version:
> > :core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch
> > Distributor ID: RedHatEnterpriseAS Description: Red Hat Enterprise Linux
> AS
> > release 4 (Nahant Update 3) Release: 4 Codename: NahantUpdate3
> >
> > $ uname -a Linux xxxxx 2.6.9-52bs #2 SMP Fri Jan 26 13:34:38 CST 2007
> x86_64
> > x86_64 x86_64 GNU/Linux
> >
> > $ getconf GNU_LIBPTHREAD_VERSION NPTL 2.3.4
> >
> > $ ll /usr/lib64/nptl ls: /usr/lib64/nptl: No such file or directory
> >
> > $ ll /usr/include/nptl/ total 60 drwxr-xr-x 2 root root 4096 Aug 1 2006
> bits
> > -rw-r--r-- 1 root root 35094 Feb 9 2006 pthread.h -rw-r--r-- 1 root root
> > 2472 Feb 9 2006 semaphore.h -rw-r--r-- 1 root root 16092 Feb 9 2006
> > thread_db.h
> >
> > $ gcc -v
> > Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
> Configured
> > with: ../configure --prefix=/usr --mandir=/usr/share/man --
> > infodir=/usr/share/info --enable-shared --enable-threads=posix
> > --disable-checking -- with- system-zlib --enable-__cxa_atexit
> > --disable-libunwind-exceptions --enable-java- awt=gtk
> > --host=x86_64-redhat-linux Thread model: posix gcc version 3.4.5
> 20051201
> > (Red Hat 3.4.5-2)
>
> This particular error can probably be fixed by setting
> v8_postmortem_support to false in common.gypi and re-running
> configure.
>
> That said, the minimum supported version of gcc is 4.2 and you'll also
> need python 2.6 or 2.7. On the upside, your kernel and glibc _are_
> supported.
>
--
--
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
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.