idb-connector install fails

Issue #54 resolved
Ashutosh Rajan created an issue

ON AIX 7.x platform whenever I am trying to install idb-connector it fails with following error

idb-connector@1.1.8 install /home/TTERAJA/ibmi/node_modules/idb-connector node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Pre-built binaries not installable for idb-connector@1.1.8 and node@6.11.5 (node-v48 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error write EPROTO 1:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:794:

gyp ERR! build error gyp ERR! stack Error: not found: gmake gyp ERR! stack at getNotFoundError (/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/node_modules/which/which.js:13:12) gyp ERR! stack at F (/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/node_modules/which/which.js:68:19) gyp ERR! stack at E (/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/node_modules/which/which.js:80:29) gyp ERR! stack at /QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/node_modules/which/which.js:89:16 gyp ERR! stack at /QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/node_modules/isexe/index.js:42:5 gyp ERR! stack at /QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15) gyp ERR! System OS400 7.3 gyp ERR! command "/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node" "/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/TTERAJA/ibmi/node_modules/idb-connector/lib/binding/Release/node-v48-ibmi-ppc/db2ia.node" "--module_name=db2ia" "--module_path=/home/TTERAJA/ibmi/node_modules/idb-connector/lib/binding/Release/node-v48-ibmi-ppc" "--node_abi_napi=node-v48" "--napi_build_version=0" "--node_napi_label=node-v48"

Comments (2)

  1. Jesse G

    Greetings. Since this module is built for IBM i-specific libraries, it can only be used on IBM i. The documentation does not state this clearly, and I have opened an issue to this project's new GitHub location: https://github.com/IBM/nodejs-idb-connector/issues/56

    Also, note this issue: https://github.com/IBM/nodejs-idb-connector/issues/54 which aimed to make the project installable (though still not usable) on all platforms, but the fix does not work for AIX (I have reopened)

  2. Log in to comment