Advertisement
tom

Shinobi Install Canvas

tom
Aug 17th, 2017
897
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.29 KB | None | 0 0
  1. [tom@localhost Shinobi]$ sudo yum install gcc
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4.  * base: mirror.lug.udel.edu
  5.  * epel: mirror.cogentco.com
  6.  * extras: mirror.raystedman.net
  7.  * nux-dextop: li.nux.ro
  8.  * updates: mirror.solarvps.com
  9. Resolving Dependencies
  10. --> Running transaction check
  11. ---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
  12. --> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
  13. --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
  14. --> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-11.el7.x86_64
  15. --> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-11.el7.x86_64
  16. --> Running transaction check
  17. ---> Package cpp.x86_64 0:4.8.5-11.el7 will be installed
  18. ---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
  19. --> Processing Dependency: glibc-headers = 2.17-157.el7_3.5 for package: glibc-devel-2.17-157.el7_3.5.x86_64
  20. --> Processing Dependency: glibc-headers for package: glibc-devel-2.17-157.el7_3.5.x86_64
  21. ---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
  22. ---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
  23. --> Running transaction check
  24. ---> Package glibc-headers.x86_64 0:2.17-157.el7_3.5 will be installed
  25. --> Finished Dependency Resolution
  26.  
  27. Dependencies Resolved
  28.  
  29. ==================================================================================
  30.  Package              Arch          Version                  Repository      Size
  31. ==================================================================================
  32. Installing:
  33.  gcc                  x86_64        4.8.5-11.el7             base            16 M
  34. Installing for dependencies:
  35.  cpp                  x86_64        4.8.5-11.el7             base           5.9 M
  36.  glibc-devel          x86_64        2.17-157.el7_3.5         updates        1.1 M
  37.  glibc-headers        x86_64        2.17-157.el7_3.5         updates        669 k
  38.  libmpc               x86_64        1.0.1-3.el7              base            51 k
  39.  mpfr                 x86_64        3.1.1-4.el7              base           203 k
  40.  
  41. Transaction Summary
  42. ==================================================================================
  43. Install  1 Package (+5 Dependent packages)
  44.  
  45. Total download size: 24 M
  46. Installed size: 56 M
  47. Is this ok [y/d/N]: y
  48. Downloading packages:
  49. (1/6): glibc-headers-2.17-157.el7_3.5.x86_64.rpm           | 669 kB  00:00:00    
  50. (2/6): glibc-devel-2.17-157.el7_3.5.x86_64.rpm             | 1.1 MB  00:00:00    
  51. (3/6): cpp-4.8.5-11.el7.x86_64.rpm                         | 5.9 MB  00:00:00    
  52. (4/6): libmpc-1.0.1-3.el7.x86_64.rpm                       |  51 kB  00:00:00    
  53. (5/6): mpfr-3.1.1-4.el7.x86_64.rpm                         | 203 kB  00:00:00    
  54. (6/6): gcc-4.8.5-11.el7.x86_64.rpm                         |  16 MB  00:00:01    
  55. ----------------------------------------------------------------------------------
  56. Total                                                 14 MB/s |  24 MB  00:01    
  57. Running transaction check
  58. Running transaction test
  59. Transaction test succeeded
  60. Running transaction
  61.   Installing : mpfr-3.1.1-4.el7.x86_64                                        1/6
  62.   Installing : libmpc-1.0.1-3.el7.x86_64                                      2/6
  63.   Installing : cpp-4.8.5-11.el7.x86_64                                        3/6
  64.   Installing : glibc-headers-2.17-157.el7_3.5.x86_64                          4/6
  65.   Installing : glibc-devel-2.17-157.el7_3.5.x86_64                            5/6
  66.   Installing : gcc-4.8.5-11.el7.x86_64                                        6/6
  67.   Verifying  : glibc-devel-2.17-157.el7_3.5.x86_64                            1/6
  68.   Verifying  : mpfr-3.1.1-4.el7.x86_64                                        2/6
  69.   Verifying  : libmpc-1.0.1-3.el7.x86_64                                      3/6
  70.   Verifying  : gcc-4.8.5-11.el7.x86_64                                        4/6
  71.   Verifying  : glibc-headers-2.17-157.el7_3.5.x86_64                          5/6
  72.   Verifying  : cpp-4.8.5-11.el7.x86_64                                        6/6
  73.  
  74. Installed:
  75.   gcc.x86_64 0:4.8.5-11.el7                                                      
  76.  
  77. Dependency Installed:
  78.   cpp.x86_64 0:4.8.5-11.el7                glibc-devel.x86_64 0:2.17-157.el7_3.5
  79.   glibc-headers.x86_64 0:2.17-157.el7_3.5  libmpc.x86_64 0:1.0.1-3.el7          
  80.   mpfr.x86_64 0:3.1.1-4.el7              
  81.  
  82. Complete!
  83. [tom@localhost Shinobi]$ sudo npm install canvas
  84.  
  85. > canvas@1.6.6 install /home/tom/Shinobi/node_modules/canvas
  86. > node-gyp rebuild
  87.  
  88. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.4.0"
  89. gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/tom/Shinobi/node_modules/canvas/.node-gyp"
  90. make: Entering directory `/home/tom/Shinobi/node_modules/canvas/build'
  91.  SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
  92. make: g++: Command not found
  93. make: *** [Release/obj.target/canvas-postbuild.node] Error 127
  94. make: Leaving directory `/home/tom/Shinobi/node_modules/canvas/build'
  95. gyp ERR! build error
  96. gyp ERR! stack Error: `make` failed with exit code: 2
  97. gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
  98. gyp ERR! stack     at emitTwo (events.js:125:13)
  99. gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
  100. gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
  101. gyp ERR! System Linux 3.10.0-514.el7.x86_64
  102. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  103. gyp ERR! cwd /home/tom/Shinobi/node_modules/canvas
  104. gyp ERR! node -v v8.4.0
  105. gyp ERR! node-gyp -v v3.6.2
  106. gyp ERR! not ok
  107. npm WARN shinobi@1.0.21 license should be a valid SPDX license expression
  108.  
  109. npm ERR! code ELIFECYCLE
  110. npm ERR! errno 1
  111. npm ERR! canvas@1.6.6 install: `node-gyp rebuild`
  112. npm ERR! Exit status 1
  113. npm ERR!
  114. npm ERR! Failed at the canvas@1.6.6 install script.
  115. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  116.  
  117. npm ERR! A complete log of this run can be found in:
  118. npm ERR!     /root/.npm/_logs/2017-08-17T22_24_48_306Z-debug.log
  119. [tom@localhost Shinobi]$ cat /etc/redhat-release
  120. CentOS Linux release 7.3.1611 (Core)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement