You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apx:~ apx$ cd /tmp
apx:tmp apx$ npm i aerospike
npm http GET https://registry.npmjs.org/aerospike
npm http 200 https://registry.npmjs.org/aerospike
> aerospike@1.0.11 install /private/tmp/node_modules/aerospike
> node-gyp rebuild
ACTION binding_gyp_aerospike_client_c_target_run_scripts_aerospike_client_c_sh aerospike-client-c/lib/libaerospike.a
info: downloading 'http://www.aerospike.com/download/client/c/latest/artifact/mac' to '/private/tmp/node_modules/aerospike/aerospike-client-c/package/aerospike-client-c.tgz'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 345 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 347 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 13.9M 100 13.9M 0 0 410k 0 0:00:34 0:00:34 --:--:-- 393k
info: extracting 'aerospike-client-c-3.0.70.mac.x86_64/aerospike-client-c-devel-3.0.70.pkg' from 'aerospike-client-c.tgz'
info: extracting files from 'aerospike-client-c-3.0.70.mac.x86_64/aerospike-client-c-devel-3.0.70.pkg'
7249 blocks
CHECK
[✓] /private/tmp/node_modules/aerospike/aerospike-client-c/package/usr/local/lib/libaerospike.a
[✓] /private/tmp/node_modules/aerospike/aerospike-client-c/package/usr/local/include/aerospike/aerospike.h
TOUCH Release/obj.target/aerospike-client-c.stamp
CXX(target) Release/obj.target/aerospike/src/main/aerospike.o
CXX(target) Release/obj.target/aerospike/src/main/client.o
CXX(target) Release/obj.target/aerospike/src/main/client/batch_exists.o
CXX(target) Release/obj.target/aerospike/src/main/client/batch_get.o
CXX(target) Release/obj.target/aerospike/src/main/client/close.o
CXX(target) Release/obj.target/aerospike/src/main/client/connect.o
CXX(target) Release/obj.target/aerospike/src/main/client/exists.o
CXX(target) Release/obj.target/aerospike/src/main/client/get.o
CXX(target) Release/obj.target/aerospike/src/main/client/info.o
In file included from ../src/main/client/info.cc:26:
In file included from ../aerospike-client-c/include/aerospike/aerospike_info.h:41:
In file included from ../aerospike-client-c/include/aerospike/as_node.h:24:
../aerospike-client-c/include/aerospike/as_vector.h:118:22: error: arithmetic on a pointer to void
return vector->list + (vector->item_size * index);
~~~~~~~~~~~~ ^
../aerospike-client-c/include/aerospike/as_vector.h:127:32: error: arithmetic on a pointer to void
return *(void**)(vector->list + (vector->item_size * index));
~~~~~~~~~~~~ ^
../aerospike-client-c/include/aerospike/as_vector.h:142:22: error: arithmetic on a pointer to void
memcpy(vector->list + (index * vector->item_size), value, vector->item_size);
~~~~~~~~~~~~ ^
../aerospike-client-c/include/aerospike/as_vector.h:154:22: error: arithmetic on a pointer to void
memcpy(vector->list + (vector->size * vector->item_size), value, vector->item_size);
~~~~~~~~~~~~ ^
../aerospike-client-c/include/aerospike/as_vector.h:170:22: error: arithmetic on a pointer to void
memcpy(vector->list + (target * vector->item_size), vector->list + (source * vector->item_size), vector->item_size);
~~~~~~~~~~~~ ^
In file included from ../src/main/client/info.cc:26:
In file included from ../aerospike-client-c/include/aerospike/aerospike_info.h:41:
In file included from ../aerospike-client-c/include/aerospike/as_node.h:27:
In file included from ../aerospike-client-c/include/ck/ck_pr.h:38:
../aerospike-client-c/include/ck/gcc/x86_64/ck_pr.h:172:2: error: no matching function for call to 'ck_pr_load_64_2'
ck_pr_load_64_2(t, v);
^~~~~~~~~~~~~~~
../aerospike-client-c/include/ck/gcc/x86_64/ck_pr.h:157:1: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to
'const uint64_t *' (aka 'const unsigned long long *')
ck_pr_load_64_2(const uint64_t target[2], uint64_t v[2])
^
../aerospike-client-c/include/ck/gcc/x86_64/ck_pr.h:453:9: error: no matching function for call to 'ck_pr_cas_64_2'
return ck_pr_cas_64_2(t, c, s);
^~~~~~~~~~~~~~
../aerospike-client-c/include/ck/gcc/x86_64/ck_pr.h:434:1: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'uint64_t *'
(aka 'unsigned long long *')
ck_pr_cas_64_2(uint64_t target[2], uint64_t compare[2], uint64_t set[2])
^
../aerospike-client-c/include/ck/gcc/x86_64/ck_pr.h:481:9: error: no matching function for call to 'ck_pr_cas_64_2_value'
return ck_pr_cas_64_2_value(t, c, s, v);
^~~~~~~~~~~~~~~~~~~~
../aerospike-client-c/include/ck/gcc/x86_64/ck_pr.h:457:1: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'uint64_t *'
(aka 'unsigned long long *')
ck_pr_cas_64_2_value(uint64_t target[2],
^
In file included from ../src/main/client/info.cc:26:
In file included from ../aerospike-client-c/include/aerospike/aerospike_info.h:41:
../aerospike-client-c/include/aerospike/as_node.h:227:14: error: cannot initialize a variable of type 'as_address *' (aka 'as_address_s *') with an rvalue of type
'void *'
as_address* address = as_vector_get(&node->addresses, node->address_index);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../aerospike-client-c/include/aerospike/as_node.h:237:9: error: cannot initialize return object of type 'as_address *' (aka 'as_address_s *') with an rvalue of type
'void *'
return as_vector_get(&node->addresses, node->address_index);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.
make: *** [Release/obj.target/aerospike/src/main/client/info.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/tmp/node_modules/aerospike
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! aerospike@1.0.11 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aerospike@1.0.11 install script.
npm ERR! This is most likely a problem with the aerospike package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls aerospike
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 14.0.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "i" "aerospike"
npm ERR! cwd /private/tmp
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/tmp/npm-debug.log
npm ERR! not ok code 0
gcc -v:
Configured with: --prefix=/Applications/Xcode6-Beta2.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.34.4) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
The text was updated successfully, but these errors were encountered:
As a temporary work around, please change the following line in "scripts/aerospike-client-c.sh" to point to the 3.0.62 version of the Aerospike-client-c:
gcc -v
:The text was updated successfully, but these errors were encountered: