Skip to content

Instantly share code, notes, and snippets.

@StefanWallin
Created August 19, 2011 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StefanWallin/1156602 to your computer and use it in GitHub Desktop.
Save StefanWallin/1156602 to your computer and use it in GitHub Desktop.
nodejs installed and then compile on centos 5
[stefan@dev36 node]$ ./configure && make
Checking for program g++ or c++ : /usr/lib64/ccache/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/lib64/ccache/gcc
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : yes
Checking for library util : yes
Checking for library rt : yes
Checking for CLOCK_MONOTONIC : yes
Checking for fdatasync(2) with c++ : yes
'configure' finished successfully (0.378s)
Waf: Entering directory `/home/stefan/src/node/build'
DEST_OS: linux
DEST_CPU: x64
Parallel Jobs: 1
Product type: program
[ 1/37] copy: src/node_config.h.in -> build/default/src/node_config.h
[ 2/37] cc: deps/http_parser/http_parser.c -> build/default/deps/http_parser/http_parser_3.o
/usr/lib64/ccache/gcc -rdynamic -pthread -g -O3 -DHAVE_OPENSSL=1 -DHAVE_MONOTONIC_CLOCK=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=1 -DARCH="x64" -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -Idefault/deps/http_parser -I../deps/http_parser ../deps/http_parser/http_parser.c -c -o default/deps/http_parser/http_parser_3.o
[ 3/37] src/node_natives.h: src/node.js lib/dgram.js lib/console.js lib/buffer.js lib/net_legacy.js lib/querystring.js lib/punycode.js lib/http.js lib/freelist.js lib/events.js lib/util.js lib/tty_win32.js lib/module.js lib/_debugger.js lib/assert.js lib/fs.js lib/os.js lib/dns_legacy.js lib/vm.js lib/url.js lib/child_process_uv.js lib/dns_uv.js lib/tls.js lib/tty_posix.js lib/crypto.js lib/sys.js lib/timers_uv.js lib/https.js lib/stream.js lib/https2.js lib/readline.js lib/child_process_legacy.js lib/_linklist.js lib/timers_legacy.js lib/net_uv.js lib/buffer_ieee754.js lib/tty.js lib/repl.js lib/path.js lib/string_decoder.js lib/http2.js lib/constants.js -> build/default/src/node_natives.h
[ 4/37] uv: deps/uv/include/uv.h -> build/default/deps/uv/uv.a
In file included from src/uv-eio.h:6,
from src/uv-unix.c:28:
include/eio.h:199: warning: comma at end of enumerator list
include/eio.h:207: warning: comma at end of enumerator list
src/uv-unix.c: In function ‘uv_pipe_bind’:
src/uv-unix.c:1817: warning: unused variable ‘locked’
In file included from src/uv-eio.c:25:
include/eio.h:199: warning: comma at end of enumerator list
include/eio.h:207: warning: comma at end of enumerator list
In file included from src/eio/eio.c:52:
src/eio/ecb.h: In function ‘ecb_unreachable’:
src/eio/ecb.h:333: warning: ‘noreturn’ function does return
[ 5/37] libv8.a: deps/v8/SConstruct -> build/default/libv8.a
/home/stefan/bin/python "/home/stefan/src/node/tools/scons/scons.py" -j 1 -C "/home/stefan/src/node/build/default/" -Y "/home/stefan/src/node/deps/v8" visibility=default mode=release arch=x64 toolchain=gcc library=static snapshot=on
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
/usr/lib64/ccache/g++ -o obj/release/accessors.o -c -fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -I/home/stefan/src/node/deps/v8/src /home/stefan/src/node/deps/v8/src/accessors.cc
scons: *** [obj/release/accessors.o] Error 1
scons: building terminated because of errors.
Waf: Leaving directory `/home/stefan/src/node/build'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment