Advertisement
Guest User

OSX Mavericks: npm install mcrypt

a guest
Aug 29th, 2014
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.96 KB | None | 0 0
  1. hbcdev1:Development hbcdev1$ npm install mcrypt
  2. -
  3. > mcrypt@0.0.7 install /Users/hbcdev1/Development/node_modules/mcrypt
  4. > node-gyp rebuild --release
  5.  
  6.   CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
  7. In file included from ../src/mcrypt.cc:7:
  8. /usr/include/mcrypt.h:4:10: fatal error: 'mutils/mcrypt.h' file not found
  9. #include <mutils/mcrypt.h>
  10.          ^
  11. 1 error generated.
  12. make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1
  13. gyp ERR! build error
  14. gyp ERR! stack Error: `make` failed with exit code: 2
  15. gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
  16. gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
  17. gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:807:12)
  18. gyp ERR! System Darwin 13.1.0
  19. gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
  20. gyp ERR! cwd /Users/hbcdev1/Development/node_modules/mcrypt
  21. gyp ERR! node -v v0.10.28
  22. gyp ERR! node-gyp -v v1.0.1
  23. gyp ERR! not ok
  24.  
  25. > mcrypt@0.0.7 preuninstall /Users/hbcdev1/Development/node_modules/mcrypt
  26. > rm -rf build/*
  27.  
  28. npm ERR! mcrypt@0.0.7 install: `node-gyp rebuild --release`
  29. npm ERR! Exit status 1
  30. npm ERR!
  31. npm ERR! Failed at the mcrypt@0.0.7 install script.
  32. npm ERR! This is most likely a problem with the mcrypt package,
  33. npm ERR! not with npm itself.
  34. npm ERR! Tell the author that this fails on your system:
  35. npm ERR!     node-gyp rebuild --release
  36. npm ERR! You can get their info via:
  37. npm ERR!     npm owner ls mcrypt
  38. npm ERR! There is likely additional logging output above.
  39.  
  40. npm ERR! System Darwin 13.1.0
  41. npm ERR! command "node" "/usr/local/bin/npm" "install" "mcrypt"
  42. npm ERR! cwd /Users/hbcdev1/Development
  43. npm ERR! node -v v0.10.28
  44. npm ERR! npm -v 2.0.0-beta.1
  45. npm ERR! code ELIFECYCLE
  46. npm ERR!
  47. npm ERR! Additional logging details can be found in:
  48. npm ERR!     /Users/hbcdev1/Development/npm-debug.log
  49. npm ERR! not ok code 0
  50.  
  51.  
  52. -------------------------
  53.  
  54.  
  55. hbcdev1:Development hbcdev1$ npm install mcrypt
  56. \
  57. > mcrypt@0.0.7 install /Users/hbcdev1/Development/node_modules/mcrypt
  58. > node-gyp rebuild --release
  59.  
  60.   CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
  61.   SOLINK_MODULE(target) Release/mcrypt.node
  62. ld: library not found for -lmcrypt
  63. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  64. make: *** [Release/mcrypt.node] Error 1
  65. gyp ERR! build error
  66. gyp ERR! stack Error: `make` failed with exit code: 2
  67. gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
  68. gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
  69. gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:807:12)
  70. gyp ERR! System Darwin 13.1.0
  71. gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
  72. gyp ERR! cwd /Users/hbcdev1/Development/node_modules/mcrypt
  73. gyp ERR! node -v v0.10.28
  74. gyp ERR! node-gyp -v v1.0.1
  75. gyp ERR! not ok
  76.  
  77. > mcrypt@0.0.7 preuninstall /Users/hbcdev1/Development/node_modules/mcrypt
  78. > rm -rf build/*
  79.  
  80. npm ERR! mcrypt@0.0.7 install: `node-gyp rebuild --release`
  81. npm ERR! Exit status 1
  82. npm ERR!
  83. npm ERR! Failed at the mcrypt@0.0.7 install script.
  84. npm ERR! This is most likely a problem with the mcrypt package,
  85. npm ERR! not with npm itself.
  86. npm ERR! Tell the author that this fails on your system:
  87. npm ERR!     node-gyp rebuild --release
  88. npm ERR! You can get their info via:
  89. npm ERR!     npm owner ls mcrypt
  90. npm ERR! There is likely additional logging output above.
  91.  
  92. npm ERR! System Darwin 13.1.0
  93. npm ERR! command "node" "/usr/local/bin/npm" "install" "mcrypt"
  94. npm ERR! cwd /Users/hbcdev1/Development
  95. npm ERR! node -v v0.10.28
  96. npm ERR! npm -v 2.0.0-beta.1
  97. npm ERR! code ELIFECYCLE
  98. npm ERR!
  99. npm ERR! Additional logging details can be found in:
  100. npm ERR!     /Users/hbcdev1/Development/npm-debug.log
  101. npm ERR! not ok code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement