-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Description
i want to see if i can built an io.js from scratch on centOS-6.6 which has an old gcc version.
the first thing did was to download the centOS-6.6 ISO file and built it in virtualbox. then i issued this command:
yum --assumeyes update ; # get existing system current
next, i found the following at http://people.centos.org/tru/devtools-2/readme
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
yum --assumeyes install devtoolset-2-gcc devtoolset-2-binutils ;
yum --assumeyes install devtoolset-2-gcc-gfortran
yum --assumeyes devtoolset-2-gcc-c++ ; ## i added this one
i also did the following:
export PATH=/opt/rh/devtoolset-2/root/usr/bin:$PATH ;
export LD_LIBRARY_PATH=/opt/rh/devtoolset-2/root/usr/lib/ ;
gcc -v; ## make sure we have a good compiler
gcc version 4.8.2 2014-120 (Red Had 4.8.2-15) (GCC)
mkdir iojs; cd iojs;
wget https://iojs.org/download/nightly/v1.5.2-nightly201503182b63bcd247/iojs-v1.5.2-nightly201503182b63bcd247.tar.gz ;
tar -zxf *.gz ;
cd *;
./configure && make && make install ;
the good news is that i was able to get version numbers from iojs:
iojs -v ;
v1.5.1
npm -v ;
2.7.0
i seem to recall the ./configure step needs a switch of some sort. everything appeared to work except for the "make test". i am wondering if i should be concerned with a failed test. suggestions?
make --keep-going test; ## results below:
Done processing src/udp_wrap.cc
Done processing src/util.cc
Done processing src/uv.cc
src/async-wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_H [build/header_guard] [5]
src/async-wrap.h:80: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_H" [build/header_guard] [5]
Done processing src/async-wrap.h
src/async-wrap-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_INL_H [build/header_guard] [5]
src/async-wrap-inl.h:91: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ASYNC_WRAP_INL_H" [build/header_guard] [5]
Done processing src/async-wrap-inl.h
src/base-object.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_H [build/header_guard] [5]
src/base-object.h:51: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_H" [build/header_guard] [5]
Done processing src/base-object.h
src/base-object-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_INL_H [build/header_guard] [5]
src/base-object-inl.h:66: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_BASE_OBJECT_INL_H" [build/header_guard] [5]
Done processing src/base-object-inl.h
src/debug-agent.h:22: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_DEBUG_AGENT_H [build/header_guard] [5]
src/debug-agent.h:136: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_DEBUG_AGENT_H" [build/header_guard] [5]
Done processing src/debug-agent.h
src/env.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_H [build/header_guard] [5]
src/env.h:557: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_H" [build/header_guard] [5]
Done processing src/env.h
src/env-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_INL_H [build/header_guard] [5]
src/env-inl.h:471: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_ENV_INL_H" [build/header_guard] [5]
Done processing src/env-inl.h
src/handle_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_HANDLE_WRAP_H [build/header_guard] [5]
src/handle_wrap.h:71: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_HANDLE_WRAP_H" [build/header_guard] [5]
Done processing src/handle_wrap.h
src/js_stream.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_JS_STREAM_H [build/header_guard] [5]
src/js_stream.h:49: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_JS_STREAM_H" [build/header_guard] [5]
Done processing src/js_stream.h
src/node_buffer.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_BUFFER_H [build/header_guard] [5]
src/node_buffer.h:104: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_BUFFER_H" [build/header_guard] [5]
Done processing src/node_buffer.h
src/node_constants.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CONSTANTS_H [build/header_guard] [5]
src/node_constants.h:11: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CONSTANTS_H" [build/header_guard] [5]
Done processing src/node_constants.h
src/node_counters.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_COUNTERS_H [build/header_guard] [5]
src/node_counters.h:34: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_COUNTERS_H" [build/header_guard] [5]
Done processing src/node_counters.h
src/node_crypto_bio.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_BIO_H [build/header_guard] [5]
src/node_crypto_bio.h:131: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_BIO_H" [build/header_guard] [5]
Done processing src/node_crypto_bio.h
src/node_crypto_clienthello.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_H [build/header_guard] [5]
src/node_crypto_clienthello.h:115: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_H" [build/header_guard] [5]
Done processing src/node_crypto_clienthello.h
src/node_crypto_clienthello-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_INL_H [build/header_guard] [5]
src/node_crypto_clienthello-inl.h:56: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_CLIENTHELLO_INL_H" [build/header_guard] [5]
Done processing src/node_crypto_clienthello-inl.h
src/node_crypto_groups.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_GROUPS_H [build/header_guard] [5]
src/node_crypto_groups.h:391: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_GROUPS_H" [build/header_guard] [5]
Done processing src/node_crypto_groups.h
src/node_crypto.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_H [build/header_guard] [5]
src/node_crypto.h:690: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_CRYPTO_H" [build/header_guard] [5]
Done processing src/node_crypto.h
src/node_dtrace.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_DTRACE_H [build/header_guard] [5]
src/node_dtrace.h:61: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_DTRACE_H" [build/header_guard] [5]
Done processing src/node_dtrace.h
src/node_file.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_FILE_H [build/header_guard] [5]
src/node_file.h:13: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_FILE_H" [build/header_guard] [5]
Done processing src/node_file.h
src/node.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_H [build/header_guard] [5]
src/node.h:441: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_H" [build/header_guard] [5]
Done processing src/node.h
src/node_http_parser.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_HTTP_PARSER_H [build/header_guard] [5]
src/node_http_parser.h:14: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_HTTP_PARSER_H" [build/header_guard] [5]
Done processing src/node_http_parser.h
src/node_i18n.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_I18N_H [build/header_guard] [5]
src/node_i18n.h:18: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_I18N_H" [build/header_guard] [5]
Done processing src/node_i18n.h
src/node_internals.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_INTERNALS_H [build/header_guard] [5]
src/node_internals.h:292: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_INTERNALS_H" [build/header_guard] [5]
Done processing src/node_internals.h
src/node_javascript.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_JAVASCRIPT_H [build/header_guard] [5]
src/node_javascript.h:14: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_JAVASCRIPT_H" [build/header_guard] [5]
Done processing src/node_javascript.h
src/node_lttng.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_H [build/header_guard] [5]
src/node_lttng.h:40: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_H" [build/header_guard] [5]
Done processing src/node_lttng.h
src/node_lttng_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_PROVIDER_H [build/header_guard] [5]
src/node_lttng_provider.h:100: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_LTTNG_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_lttng_provider.h
src/node_object_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_OBJECT_WRAP_H [build/header_guard] [5]
src/node_object_wrap.h:116: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_OBJECT_WRAP_H" [build/header_guard] [5]
Done processing src/node_object_wrap.h
src/node_stat_watcher.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_STAT_WATCHER_H [build/header_guard] [5]
src/node_stat_watcher.h:36: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_STAT_WATCHER_H" [build/header_guard] [5]
Done processing src/node_stat_watcher.h
src/node_v8_platform.h:22: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_V8_PLATFORM_H [build/header_guard] [5]
src/node_v8_platform.h:74: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_V8_PLATFORM_H" [build/header_guard] [5]
Done processing src/node_v8_platform.h
src/node_version.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_VERSION_H [build/header_guard] [5]
src/node_version.h:50: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_VERSION_H" [build/header_guard] [5]
Done processing src/node_version.h
src/node_watchdog.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WATCHDOG_H [build/header_guard] [5]
src/node_watchdog.h:37: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WATCHDOG_H" [build/header_guard] [5]
Done processing src/node_watchdog.h
src/node_win32_etw_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_H [build/header_guard] [5]
src/node_win32_etw_provider.h:74: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_win32_etw_provider.h
src/node_win32_etw_provider-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_INL_H [build/header_guard] [5]
src/node_win32_etw_provider-inl.h:264: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_ETW_PROVIDER_INL_H" [build/header_guard] [5]
Done processing src/node_win32_etw_provider-inl.h
src/node_win32_perfctr_provider.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_PERFCTR_PROVIDER_H [build/header_guard] [5]
src/node_win32_perfctr_provider.h:33: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WIN32_PERFCTR_PROVIDER_H" [build/header_guard] [5]
Done processing src/node_win32_perfctr_provider.h
src/node_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WRAP_H [build/header_guard] [5]
src/node_wrap.h:65: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_NODE_WRAP_H" [build/header_guard] [5]
Done processing src/node_wrap.h
src/pipe_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_PIPE_WRAP_H [build/header_guard] [5]
src/pipe_wrap.h:46: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_PIPE_WRAP_H" [build/header_guard] [5]
Done processing src/pipe_wrap.h
src/req-wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_H [build/header_guard] [5]
src/req-wrap.h:30: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_H" [build/header_guard] [5]
Done processing src/req-wrap.h
src/req-wrap-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_INL_H [build/header_guard] [5]
src/req-wrap-inl.h:41: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_REQ_WRAP_INL_H" [build/header_guard] [5]
Done processing src/req-wrap-inl.h
src/smalloc.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_SMALLOC_H [build/header_guard] [5]
src/smalloc.h:132: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_SMALLOC_H" [build/header_guard] [5]
Done processing src/smalloc.h
src/spawn_sync.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_SPAWN_SYNC_H [build/header_guard] [5]
src/spawn_sync.h:226: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_SPAWN_SYNC_H" [build/header_guard] [5]
Done processing src/spawn_sync.h
src/stream_base.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_H [build/header_guard] [5]
src/stream_base.h:239: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_H" [build/header_guard] [5]
Done processing src/stream_base.h
src/stream_base-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_INL_H [build/header_guard] [5]
src/stream_base-inl.h:113: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_BASE_INL_H" [build/header_guard] [5]
Done processing src/stream_base-inl.h
src/stream_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_WRAP_H [build/header_guard] [5]
src/stream_wrap.h:107: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STREAM_WRAP_H" [build/header_guard] [5]
Done processing src/stream_wrap.h
src/string_bytes.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_STRING_BYTES_H [build/header_guard] [5]
src/string_bytes.h:158: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_STRING_BYTES_H" [build/header_guard] [5]
Done processing src/string_bytes.h
src/tcp_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_TCP_WRAP_H [build/header_guard] [5]
src/tcp_wrap.h:50: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_TCP_WRAP_H" [build/header_guard] [5]
Done processing src/tcp_wrap.h
src/tls_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_TLS_WRAP_H [build/header_guard] [5]
src/tls_wrap.h:169: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_TLS_WRAP_H" [build/header_guard] [5]
Done processing src/tls_wrap.h
src/tty_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_TTY_WRAP_H [build/header_guard] [5]
src/tty_wrap.h:35: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_TTY_WRAP_H" [build/header_guard] [5]
Done processing src/tty_wrap.h
src/udp_wrap.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_UDP_WRAP_H [build/header_guard] [5]
src/udp_wrap.h:65: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_UDP_WRAP_H" [build/header_guard] [5]
Done processing src/udp_wrap.h
src/util.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_H [build/header_guard] [5]
src/util.h:200: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_H" [build/header_guard] [5]
Done processing src/util.h
src/util-inl.h:1: #ifndef header guard has wrong style, please use: ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_INL_H [build/header_guard] [5]
src/util-inl.h:203: #endif line should be "#endif // ROOT_IOJS_IOJS_V1_5_1_SRC_UTIL_INL_H" [build/header_guard] [5]
Done processing src/util-inl.h
Done processing tools/icu/iculslocs.cc
Done processing tools/icu/no-op.cc
Total errors found: 100
make[1]: *** [cpplint] Error 1
make[1]: Leaving directory `/root/iojs/iojs-v1.5.1'
make: *** [test] Error 2