[emz@hyperion ~]$ npm install grpc
> [email protected] install /home/emz/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v48-sunos-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v48 ABI, unknown) (falling back to source compile with node-gyp)
make: ะั
ะพะด ะฒ ะบะฐัะฐะปะพะณ `/home/emz/node_modules/grpc/build'
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
In file included from ../deps/grpc/include/grpc/support/port_platform.h:22:0,
from ../deps/grpc/src/core/lib/surface/init.cc:19:
../deps/grpc/include/grpc/impl/codegen/port_platform.h:296:2: error: #error "Could not auto-detect platform"
#error "Could not auto-detect platform"
^
../deps/grpc/include/grpc/impl/codegen/port_platform.h:328:2: error: #warning "GPR_PLATFORM_STRING not auto-detected" [-Werror=cpp]
#warning "GPR_PLATFORM_STRING not auto-detected"
^
In file included from ../deps/grpc/include/grpc/support/port_platform.h:22:0,
from ../deps/grpc/src/core/lib/surface/init.cc:19:
../deps/grpc/include/grpc/impl/codegen/port_platform.h:378:2: error: #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
#error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
^
../deps/grpc/include/grpc/impl/codegen/port_platform.h:382:2: error: #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
#error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
^
../deps/grpc/include/grpc/impl/codegen/port_platform.h:388:2: error: #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
#error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
^
../deps/grpc/include/grpc/impl/codegen/port_platform.h:394:2: error: #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS
#error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS
^
In file included from ../deps/grpc/include/grpc/impl/codegen/sync_generic.h:23:0,
from ../deps/grpc/include/grpc/impl/codegen/sync.h:46,
from ../deps/grpc/include/grpc/support/sync.h:23,
from ../deps/grpc/include/grpc/slice.h:23,
from ../deps/grpc/include/grpc/slice_buffer.h:22,
from ../deps/grpc/include/grpc/byte_buffer.h:23,
from ../deps/grpc/include/grpc/grpc.h:24,
from ../deps/grpc/src/core/lib/surface/init.cc:25:
../deps/grpc/include/grpc/impl/codegen/atm.h:79:2: error: #error could not determine platform for atm
#error could not determine platform for atm
^
In file included from ../deps/grpc/include/grpc/support/sync.h:23:0,
from ../deps/grpc/include/grpc/slice.h:23,
from ../deps/grpc/include/grpc/slice_buffer.h:22,
from ../deps/grpc/include/grpc/byte_buffer.h:23,
from ../deps/grpc/include/grpc/grpc.h:24,
from ../deps/grpc/src/core/lib/surface/init.cc:25:
../deps/grpc/include/grpc/impl/codegen/sync.h:55:2: error: #error Unable to determine platform for sync
#error Unable to determine platform for sync
^
In file included from ../deps/grpc/include/grpc/impl/codegen/sync_generic.h:23:0,
from ../deps/grpc/include/grpc/impl/codegen/sync.h:46,
from ../deps/grpc/include/grpc/support/sync.h:23,
from ../deps/grpc/include/grpc/slice.h:23,
from ../deps/grpc/include/grpc/slice_buffer.h:22,
from ../deps/grpc/include/grpc/byte_buffer.h:23,
from ../deps/grpc/include/grpc/grpc.h:24,
from ../deps/grpc/src/core/lib/surface/init.cc:25:
../deps/grpc/include/grpc/impl/codegen/atm.h:88:1: error: โgpr_atmโ does not name a type
gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm* value, gpr_atm delta,
^
In file included from ../deps/grpc/include/grpc/impl/codegen/sync.h:46:0,
from ../deps/grpc/include/grpc/support/sync.h:23,
from ../deps/grpc/include/grpc/slice.h:23,
from ../deps/grpc/include/grpc/slice_buffer.h:22,
from ../deps/grpc/include/grpc/byte_buffer.h:23,
from ../deps/grpc/include/grpc/grpc.h:24,
from ../deps/grpc/src/core/lib/surface/init.cc:25:
../deps/grpc/include/grpc/impl/codegen/sync_generic.h:27:3: error: โgpr_atmโ does not name a type
gpr_atm state;
^
../deps/grpc/include/grpc/impl/codegen/sync_generic.h:35:3: error: โgpr_atmโ does not name a type
gpr_atm count;
^
../deps/grpc/include/grpc/impl/codegen/sync_generic.h:40:3: error: โgpr_atmโ does not name a type
gpr_atm value;
^
In file included from ../deps/grpc/include/grpc/slice.h:23:0,
from ../deps/grpc/include/grpc/slice_buffer.h:22,
from ../deps/grpc/include/grpc/byte_buffer.h:23,
from ../deps/grpc/include/grpc/grpc.h:24,
from ../deps/grpc/src/core/lib/surface/init.cc:25:
../deps/grpc/include/grpc/support/sync.h:37:25: error: variable or field โgpr_mu_initโ declared void
GPRAPI void gpr_mu_init(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:37:25: error: โgpr_muโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:37:33: error: โmuโ was not declared in this scope
GPRAPI void gpr_mu_init(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:41:28: error: variable or field โgpr_mu_destroyโ declared void
GPRAPI void gpr_mu_destroy(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:41:28: error: โgpr_muโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:41:36: error: โmuโ was not declared in this scope
GPRAPI void gpr_mu_destroy(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:46:25: error: variable or field โgpr_mu_lockโ declared void
GPRAPI void gpr_mu_lock(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:46:25: error: โgpr_muโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:46:33: error: โmuโ was not declared in this scope
GPRAPI void gpr_mu_lock(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:50:27: error: variable or field โgpr_mu_unlockโ declared void
GPRAPI void gpr_mu_unlock(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:50:27: error: โgpr_muโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:50:35: error: โmuโ was not declared in this scope
GPRAPI void gpr_mu_unlock(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:56:27: error: โgpr_muโ was not declared in this scope
GPRAPI int gpr_mu_trylock(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:56:35: error: โmuโ was not declared in this scope
GPRAPI int gpr_mu_trylock(gpr_mu* mu);
^
../deps/grpc/include/grpc/support/sync.h:65:25: error: variable or field โgpr_cv_initโ declared void
GPRAPI void gpr_cv_init(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:65:25: error: โgpr_cvโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:65:33: error: โcvโ was not declared in this scope
GPRAPI void gpr_cv_init(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:69:28: error: variable or field โgpr_cv_destroyโ declared void
GPRAPI void gpr_cv_destroy(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:69:28: error: โgpr_cvโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:69:36: error: โcvโ was not declared in this scope
GPRAPI void gpr_cv_destroy(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:78:24: error: โgpr_cvโ was not declared in this scope
GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
^
../deps/grpc/include/grpc/support/sync.h:78:32: error: โcvโ was not declared in this scope
GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
^
../deps/grpc/include/grpc/support/sync.h:78:36: error: โgpr_muโ was not declared in this scope
GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
^
../deps/grpc/include/grpc/support/sync.h:78:44: error: โmuโ was not declared in this scope
GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
^
../deps/grpc/include/grpc/support/sync.h:78:61: error: expected primary-expression before โabs_deadlineโ
GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
^
../deps/grpc/include/grpc/support/sync.h:78:73: error: expression list treated as compound expression in initializer [-fpermissive]
GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
^
../deps/grpc/include/grpc/support/sync.h:84:27: error: variable or field โgpr_cv_signalโ declared void
GPRAPI void gpr_cv_signal(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:84:27: error: โgpr_cvโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:84:35: error: โcvโ was not declared in this scope
GPRAPI void gpr_cv_signal(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:87:30: error: variable or field โgpr_cv_broadcastโ declared void
GPRAPI void gpr_cv_broadcast(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:87:30: error: โgpr_cvโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:87:38: error: โcvโ was not declared in this scope
GPRAPI void gpr_cv_broadcast(gpr_cv* cv);
^
../deps/grpc/include/grpc/support/sync.h:100:27: error: variable or field โgpr_once_initโ declared void
GPRAPI void gpr_once_init(gpr_once* once, void (*init_routine)(void));
^
../deps/grpc/include/grpc/support/sync.h:100:27: error: โgpr_onceโ was not declared in this scope
../deps/grpc/include/grpc/support/sync.h:100:37: error: โonceโ was not declared in this scope
GPRAPI void gpr_once_init(gpr_once* once, void (*init_routine)(void));
^
../deps/grpc/include/grpc/support/sync.h:100:50: error: โinit_routineโ was not declared in this scope
GPRAPI void gpr_once_init(gpr_once* once, void (*init_routine)(void));
^
../deps/grpc/include/grpc/support/sync.h:100:64: error: expected primary-expression before โvoidโ
GPRAPI void gpr_once_init(gpr_once* once, void (*init_routine)(void));
^
../deps/grpc/include/grpc/support/sync.h:283:18: error: expected โ)โ before โ*โ token
mu_guard(gpr_mu* mu) : mu_(mu) { gpr_mu_lock(mu); }
^
../deps/grpc/include/grpc/support/sync.h:290:3: error: โgpr_muโ does not name a type
gpr_mu* const mu_;
^
../deps/grpc/include/grpc/support/sync.h: In destructor โgrpc_core::mu_guard::~mu_guard()โ:
../deps/grpc/include/grpc/support/sync.h:284:31: error: โmu_โ was not declared in this scope
~mu_guard() { gpr_mu_unlock(mu_); }
^
../deps/grpc/include/grpc/support/sync.h:284:34: error: โgpr_mu_unlockโ was not declared in this scope
~mu_guard() { gpr_mu_unlock(mu_); }
^
In file included from ../deps/grpc/src/core/lib/iomgr/closure.h:31:0,
from ../deps/grpc/src/core/lib/iomgr/call_combiner.h:26,
from ../deps/grpc/src/core/lib/channel/channel_stack.h:43,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/support/mpscq.h: At global scope:
../deps/grpc/src/core/lib/support/mpscq.h:38:3: error: โgpr_atmโ does not name a type
gpr_atm next;
^
../deps/grpc/src/core/lib/support/mpscq.h:43:3: error: โgpr_atmโ does not name a type
gpr_atm head;
^
../deps/grpc/src/core/lib/support/mpscq.h:68:3: error: โgpr_muโ does not name a type
gpr_mu mu;
^
In file included from ../deps/grpc/src/core/lib/iomgr/call_combiner.h:27:0,
from ../deps/grpc/src/core/lib/channel/channel_stack.h:43,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:31:9: error: โgpr_atmโ does not name a type
typedef gpr_atm grpc_millis;
^
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:80:3: error: โgrpc_millisโ does not name a type
grpc_millis now;
^
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:121:1: error: โgrpc_millisโ does not name a type
grpc_millis grpc_exec_ctx_now(grpc_exec_ctx* exec_ctx);
^
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:123:38: error: โgrpc_millisโ was not declared in this scope
gpr_timespec grpc_millis_to_timespec(grpc_millis millis, gpr_clock_type clock);
^
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:123:73: error: expected primary-expression before โclockโ
gpr_timespec grpc_millis_to_timespec(grpc_millis millis, gpr_clock_type clock);
^
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:124:1: error: โgrpc_millisโ does not name a type
grpc_millis grpc_timespec_to_millis_round_down(gpr_timespec timespec);
^
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:125:1: error: โgrpc_millisโ does not name a type
grpc_millis grpc_timespec_to_millis_round_up(gpr_timespec timespec);
^
In file included from ../deps/grpc/src/core/lib/channel/channel_stack.h:43:0,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/iomgr/call_combiner.h:46:3: error: โgpr_atmโ does not name a type
gpr_atm size; // size_t, num closures in queue or currently executing
^
../deps/grpc/src/core/lib/iomgr/call_combiner.h:51:3: error: โgpr_atmโ does not name a type
gpr_atm cancel_state;
^
In file included from ../deps/grpc/src/core/lib/iomgr/polling_entity.h:22:0,
from ../deps/grpc/src/core/lib/channel/channel_stack.h:44,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/iomgr/pollset.h:46:47: error: โgpr_muโ has not been declared
void grpc_pollset_init(grpc_pollset* pollset, gpr_mu** mu);
^
../deps/grpc/src/core/lib/iomgr/pollset.h:77:31: error: โgrpc_millisโ has not been declared
grpc_millis deadline) GRPC_MUST_USE_RESULT;
^
In file included from ../deps/grpc/src/core/lib/transport/transport.h:32:0,
from ../deps/grpc/src/core/lib/channel/channel_stack.h:46,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/transport/metadata_batch.h:56:3: error: โgrpc_millisโ does not name a type
grpc_millis deadline;
^
In file included from ../deps/grpc/src/core/lib/channel/channel_stack.h:46:0,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/transport/transport.h:156:5: error: โgpr_atmโ does not name a type
gpr_atm* peer_string;
^
../deps/grpc/src/core/lib/transport/transport.h:183:5: error: โgpr_atmโ does not name a type
gpr_atm* peer_string;
^
In file included from ../deps/grpc/src/core/lib/surface/init.cc:29:0:
../deps/grpc/src/core/lib/channel/channel_stack.h:73:3: error: โgrpc_millisโ does not name a type
grpc_millis deadline;
^
In file included from ../deps/grpc/src/core/lib/channel/handshaker_factory.h:24:0,
from ../deps/grpc/src/core/lib/channel/handshaker_registry.h:24,
from ../deps/grpc/src/core/lib/surface/init.cc:31:
../deps/grpc/src/core/lib/channel/handshaker.h:152:5: error: โgrpc_millisโ has not been declared
grpc_millis deadline, grpc_tcp_server_acceptor* acceptor,
^
In file included from ../deps/grpc/src/core/lib/surface/init.cc:32:0:
../deps/grpc/src/core/lib/debug/stats.h:31:3: error: โgpr_atmโ does not name a type
gpr_atm counters[GRPC_STATS_COUNTER_COUNT];
^
../deps/grpc/src/core/lib/debug/stats.h:32:3: error: โgpr_atmโ does not name a type
gpr_atm histograms[GRPC_STATS_HISTOGRAM_BUCKETS];
^
In file included from ../deps/grpc/src/core/lib/surface/init.cc:47:0:
../deps/grpc/src/core/lib/surface/call.h:52:3: error: โgrpc_millisโ does not name a type
grpc_millis send_deadline;
^
In file included from ../deps/grpc/src/core/lib/surface/init.cc:53:0:
../deps/grpc/src/core/lib/transport/bdp_estimator.h:76:3: error: โgrpc_millisโ does not name a type
grpc_millis CompletePing(grpc_exec_ctx* exec_ctx);
^
In file included from ../deps/grpc/src/core/lib/surface/init.cc:54:0:
../deps/grpc/src/core/lib/transport/connectivity_state.h:41:3: error: โgpr_atmโ does not name a type
gpr_atm current_state_atm;
^
../deps/grpc/src/core/lib/surface/init.cc:62:8: error: โgpr_onceโ does not name a type
static gpr_once g_basic_init = GPR_ONCE_INIT;
^
../deps/grpc/src/core/lib/surface/init.cc:63:8: error: โgpr_muโ does not name a type
static gpr_mu g_init_mu;
^
../deps/grpc/src/core/lib/surface/init.cc: In function โvoid do_basic_init()โ:
../deps/grpc/src/core/lib/surface/init.cc:69:16: error: โg_init_muโ was not declared in this scope
gpr_mu_init(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc:69:25: error: โgpr_mu_initโ was not declared in this scope
gpr_mu_init(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc: In function โvoid grpc_init()โ:
../deps/grpc/src/core/lib/surface/init.cc:124:18: error: โg_basic_initโ was not declared in this scope
gpr_once_init(&g_basic_init, do_basic_init);
^
../deps/grpc/src/core/lib/surface/init.cc:124:45: error: โgpr_once_initโ was not declared in this scope
gpr_once_init(&g_basic_init, do_basic_init);
^
In file included from ../deps/grpc/src/core/lib/iomgr/call_combiner.h:27:0,
from ../deps/grpc/src/core/lib/channel/channel_stack.h:43,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:89:3: error: too many initializers for โgrpc_exec_ctxโ
}
^
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:94:3: note: in expansion of macro โGRPC_EXEC_CTX_INITIALIZERโ
GRPC_EXEC_CTX_INITIALIZER(GRPC_EXEC_CTX_FLAG_IS_FINISHED, NULL, NULL)
^
../deps/grpc/src/core/lib/surface/init.cc:126:28: note: in expansion of macro โGRPC_EXEC_CTX_INITโ
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
^
../deps/grpc/src/core/lib/surface/init.cc:127:16: error: โg_init_muโ was not declared in this scope
gpr_mu_lock(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc:127:25: error: โgpr_mu_lockโ was not declared in this scope
gpr_mu_lock(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc:154:27: error: โgpr_mu_unlockโ was not declared in this scope
gpr_mu_unlock(&g_init_mu);
^
In file included from ../deps/grpc/src/core/lib/iomgr/call_combiner.h:27:0,
from ../deps/grpc/src/core/lib/channel/channel_stack.h:43,
from ../deps/grpc/src/core/lib/surface/init.cc:29:
../deps/grpc/src/core/lib/surface/init.cc: In function โvoid grpc_shutdown()โ:
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:89:3: error: too many initializers for โgrpc_exec_ctxโ
}
^
../deps/grpc/src/core/lib/surface/init.cc:163:7: note: in expansion of macro โGRPC_EXEC_CTX_INITIALIZERโ
GRPC_EXEC_CTX_INITIALIZER(0, grpc_never_ready_to_finish, nullptr);
^
../deps/grpc/src/core/lib/surface/init.cc:164:16: error: โg_init_muโ was not declared in this scope
gpr_mu_lock(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc:164:25: error: โgpr_mu_lockโ was not declared in this scope
gpr_mu_lock(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc:181:27: error: โgpr_mu_unlockโ was not declared in this scope
gpr_mu_unlock(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc: In function โint grpc_is_initialized()โ:
../deps/grpc/src/core/lib/surface/init.cc:187:18: error: โg_basic_initโ was not declared in this scope
gpr_once_init(&g_basic_init, do_basic_init);
^
../deps/grpc/src/core/lib/surface/init.cc:187:45: error: โgpr_once_initโ was not declared in this scope
gpr_once_init(&g_basic_init, do_basic_init);
^
../deps/grpc/src/core/lib/surface/init.cc:188:16: error: โg_init_muโ was not declared in this scope
gpr_mu_lock(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc:188:25: error: โgpr_mu_lockโ was not declared in this scope
gpr_mu_lock(&g_init_mu);
^
../deps/grpc/src/core/lib/surface/init.cc:190:27: error: โgpr_mu_unlockโ was not declared in this scope
gpr_mu_unlock(&g_init_mu);
^
cc1plus: all warnings being treated as errors
make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o] ะัะธะฑะบะฐ 1
make: ะัั
ะพะด ะธะท ะบะฐัะฐะปะพะณะฐ `/home/emz/node_modules/grpc/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/node.js-6.9.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System SunOS 5.11
gyp ERR! command "/usr/local/node.js-6.9.2/bin/node" "/usr/local/node.js-6.9.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/emz/node_modules/grpc/src/node/extension_binary/node-v48-sunos-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/emz/node_modules/grpc/src/node/extension_binary/node-v48-sunos-x64-unknown"
gyp ERR! cwd /home/emz/node_modules/grpc
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/node.js-6.9.2/bin/node /usr/local/node.js-6.9.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/emz/node_modules/grpc/src/node/extension_binary/node-v48-sunos-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/home/emz/node_modules/grpc/src/node/extension_binary/node-v48-sunos-x64-unknown' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/emz/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System SunOS 5.11
node-pre-gyp ERR! command "/usr/local/node.js-6.9.2/bin/node" "/home/emz/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /home/emz/node_modules/grpc
node-pre-gyp ERR! node -v v6.9.2
node-pre-gyp ERR! -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/node.js-6.9.2/bin/node /usr/local/node.js-6.9.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/emz/node_modules/grpc/src/node/extension_binary/node-v48-sunos-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/home/emz/node_modules/grpc/src/node/extension_binary/node-v48-sunos-x64-unknown' (1)
npm WARN enoent ENOENT: no such file or directory, open '/home/emz/package.json'
npm WARN emz No description
npm WARN emz No repository field.
npm WARN emz No README data
npm WARN emz No license field.
npm ERR! SunOS 5.11
npm ERR! argv "/usr/local/node.js-6.9.2/bin/node" "/usr/local/node.js/bin/npm" "install" "grpc"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build --library=static_library'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the grpc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs grpc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls grpc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/emz/npm-debug.log
When trying to build by hand, it doesn't even get there, so, it's impossible to debug for me:
[emz@hyperion package]$ node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using @0.6.39
node-pre-gyp info using [email protected] | sunos | x64
node-pre-gyp info check checked for "/home/emz/.npm/grpc/1.8.0/package/src/node/extension_binary/node-v48-sunos-x64-unknown/grpc_node.node" (not found)
node-pre-gyp http GET https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v48-sunos-x64-unknown.tar.gz
node-pre-gyp http 403 https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v48-sunos-x64-unknown.tar.gz
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v48-sunos-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v48 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v48-sunos-x64-unknown.tar.gz
(node:14716) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | sunos | x64
gyp info ok
(node:14717) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | sunos | x64
gyp http GET https://nodejs.org/dist/v6.9.2/node-v6.9.2.tar.gz
gyp http 200 https://nodejs.org/dist/v6.9.2/node-v6.9.2.tar.gz
gyp http GET https://nodejs.org/dist/v6.9.2/SHASUMS256.txt
gyp http 200 https://nodejs.org/dist/v6.9.2/SHASUMS256.txt
gyp info spawn python2
gyp info spawn args [ '/usr/local/node.js-6.9.2/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/emz/.npm/grpc/1.8.0/package/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/node.js-6.9.2/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/emz/.node-gyp/6.9.2/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/emz/.node-gyp/6.9.2',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/node.js-6.9.2/lib/node_modules/node-gyp',
gyp info spawn args '-Dmodule_root_dir=/home/emz/.npm/grpc/1.8.0/package',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
module.js:471
throw err;
^
Error: Cannot find module 'nan'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at [eval]:1:1
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at Object.exports.runInThisContext (vm.js:77:17)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:570:32)
at Immediate.<anonymous> (bootstrap_node.js:357:29)
gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/node.js-6.9.2/lib/node_modules/node-gyp/lib/configure.js:357:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System SunOS 5.11
gyp ERR! command "/usr/local/node.js-6.9.2/bin/node" "/usr/local/node.js-6.9.2/lib/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=/home/emz/.npm/grpc/1.8.0/package/src/node/extension_binary/node-v48-sunos-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/emz/.npm/grpc/1.8.0/package/src/node/extension_binary/node-v48-sunos-x64-unknown"
gyp ERR! cwd /home/emz/.npm/grpc/1.8.0/package
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/node.js-6.9.2/bin/node /usr/local/node.js-6.9.2/lib/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --library=static_library --module=/home/emz/.npm/grpc/1.8.0/package/src/node/extension_binary/node-v48-sunos-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/home/emz/.npm/grpc/1.8.0/package/src/node/extension_binary/node-v48-sunos-x64-unknown' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/node.js-6.9.2/lib/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System SunOS 5.11
node-pre-gyp ERR! command "/usr/local/node.js-6.9.2/bin/node" "/usr/local/node.js/bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /home/emz/.npm/grpc/1.8.0/package
node-pre-gyp ERR! node -v v6.9.2
node-pre-gyp ERR! -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/node.js-6.9.2/bin/node /usr/local/node.js-6.9.2/lib/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --library=static_library --module=/home/emz/.npm/grpc/1.8.0/package/src/node/extension_binary/node-v48-sunos-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/home/emz/.npm/grpc/1.8.0/package/src/node/extension_binary/node-v48-sunos-x64-unknown' (1)
[emz@hyperion package]$ node-gyp build
(node:14830) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | sunos | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: ะั
ะพะด ะฒ ะบะฐัะฐะปะพะณ `/home/emz/.npm/grpc/1.8.0/package/build'
make: *** ะะต ะทะฐะดะฐะฝั ัะตะปะธ ะธ ะฝะต ะฝะฐะนะดะตะฝ make-ัะฐะนะป. ะััะฐะฝะพะฒ.
make: ะัั
ะพะด ะธะท ะบะฐัะฐะปะพะณะฐ `/home/emz/.npm/grpc/1.8.0/package/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/node.js-6.9.2/lib/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System SunOS 5.11
gyp ERR! command "/usr/local/node.js-6.9.2/bin/node" "/usr/local/node.js/bin/node-gyp" "build"
gyp ERR! cwd /home/emz/.npm/grpc/1.8.0/package
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok