Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install node-stringprep - build error #95

Open
kumar163 opened this issue Jun 1, 2017 · 2 comments
Open

npm install node-stringprep - build error #95

kumar163 opened this issue Jun 1, 2017 · 2 comments

Comments

@kumar163
Copy link

kumar163 commented Jun 1, 2017

I'm getting below error while installing this module.

Versions :
Node - 4.4.3
NPM - 3.8.9
Linux - RHEL 6.8
GCC : 4.8.2

node-stringprep@0.8.0 install /opt/sit/.../server/node_modules/node-stringprep
node-gyp rebuild

make: Entering directory /opt/sit/.../server/node_modules/node-stringprep/build' CXX(target) Release/obj.target/node_stringprep/node-stringprep.o ../node-stringprep.cc: In function âNan::NAN_METHOD_RETURN_TYPE ToUnicode(Nan::NAN_METHOD_ARGS_TYPE)â: ../node-stringprep.cc:199:5: error: âUIDNAâ was not declared in this scope UIDNA *uidna = uidna_openUTS46(options, &error); ^ ../node-stringprep.cc:199:12: error: âuidnaâ was not declared in this scope UIDNA *uidna = uidna_openUTS46(options, &error); ^ ../node-stringprep.cc:199:51: error: âuidna_openUTS46â was not declared in this scope UIDNA *uidna = uidna_openUTS46(options, &error); ^ ../node-stringprep.cc:212:9: error: âUIDNAInfoâ was not declared in this scope UIDNAInfo uinfo = UIDNA_INFO_INITIALIZER; ^ ../node-stringprep.cc:212:19: error: expected â;â before âuinfoâ UIDNAInfo uinfo = UIDNA_INFO_INITIALIZER; ^ ../node-stringprep.cc:217:12: error: âuinfoâ was not declared in this scope &uinfo, &error); ^ ../node-stringprep.cc:217:25: error: âuidna_nameToUnicodeâ was not declared in this scope &uinfo, &error); ^ ../node-stringprep.cc:230:30: error: âuidna_closeâ was not declared in this scope uidna_close(uidna); ^ ../node-stringprep.cc:240:22: error: âuidna_closeâ was not declared in this scope uidna_close(uidna); ^ ../node-stringprep.cc: In function âNan::NAN_METHOD_RETURN_TYPE ToASCII(Nan::NAN_METHOD_ARGS_TYPE)â: ../node-stringprep.cc:257:5: error: âUIDNAâ was not declared in this scope UIDNA *uidna = uidna_openUTS46(options, &error); ^ ../node-stringprep.cc:257:12: error: âuidnaâ was not declared in this scope UIDNA *uidna = uidna_openUTS46(options, &error); ^ ../node-stringprep.cc:257:51: error: âuidna_openUTS46â was not declared in this scope UIDNA *uidna = uidna_openUTS46(options, &error); ^ ../node-stringprep.cc:266:5: error: âUIDNAInfoâ was not declared in this scope UIDNAInfo uinfo1 = UIDNA_INFO_INITIALIZER; ^ ../node-stringprep.cc:266:15: error: expected â;â before âuinfo1â UIDNAInfo uinfo1 = UIDNA_INFO_INITIALIZER; ^ ../node-stringprep.cc:271:8: error: âuinfo1â was not declared in this scope &uinfo1, &error); ^ ../node-stringprep.cc:271:22: error: âuidna_nameToASCIIâ was not declared in this scope &uinfo1, &error); ^ ../node-stringprep.cc:278:19: error: expected â;â before âuinfo2â UIDNAInfo uinfo2 = UIDNA_INFO_INITIALIZER; ^ ../node-stringprep.cc:283:12: error: âuinfo2â was not declared in this scope &uinfo2, &error); ^ ../node-stringprep.cc:293:26: error: âuidna_closeâ was not declared in this scope uidna_close(uidna); ^ ../node-stringprep.cc:300:22: error: âuidna_closeâ was not declared in this scope uidna_close(uidna); ^ make: *** [Release/obj.target/node_stringprep/node-stringprep.o] Error 1 make: Leaving directory /opt/sit/.../server/node_modules/node-stringprep/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/sit/.../node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-642.3.1.el6.x86_64
gyp ERR! command "/opt/sit/.../node/bin/node" "/opt/sit/.../node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/sit/.../server/node_modules/node-stringprep
gyp ERR! node -v v4.4.3
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
install â rollbackFailedO â â¢âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
npm ERR! Linux 2.6.32-642.3.1.el6.x86_64
npm ERR! argv "/opt/sit/.../node/bin/node" "/opt/sit/.../node/bin/npm" "i" "node-stringprep"
npm ERR! node v4.4.3
npm ERR! npm v3.8.9
npm ERR! code ELIFECYCLE

npm ERR! node-stringprep@0.8.0 install: node-gyp rebuild
npm ERR! Exit status 1

@venkatbharadwaj
Copy link

it is failing in RHEL: 6.9 as well

@kumar163
Copy link
Author

kumar163 commented Jun 5, 2017

@venkatbharadwaj - Did you get this installed on 6.9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants