Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [tom@localhost Shinobi]$ sudo yum install gcc
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: mirror.lug.udel.edu
- * epel: mirror.cogentco.com
- * extras: mirror.raystedman.net
- * nux-dextop: li.nux.ro
- * updates: mirror.solarvps.com
- Resolving Dependencies
- --> Running transaction check
- ---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
- --> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
- --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
- --> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-11.el7.x86_64
- --> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-11.el7.x86_64
- --> Running transaction check
- ---> Package cpp.x86_64 0:4.8.5-11.el7 will be installed
- ---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
- --> Processing Dependency: glibc-headers = 2.17-157.el7_3.5 for package: glibc-devel-2.17-157.el7_3.5.x86_64
- --> Processing Dependency: glibc-headers for package: glibc-devel-2.17-157.el7_3.5.x86_64
- ---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
- ---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
- --> Running transaction check
- ---> Package glibc-headers.x86_64 0:2.17-157.el7_3.5 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ==================================================================================
- Package Arch Version Repository Size
- ==================================================================================
- Installing:
- gcc x86_64 4.8.5-11.el7 base 16 M
- Installing for dependencies:
- cpp x86_64 4.8.5-11.el7 base 5.9 M
- glibc-devel x86_64 2.17-157.el7_3.5 updates 1.1 M
- glibc-headers x86_64 2.17-157.el7_3.5 updates 669 k
- libmpc x86_64 1.0.1-3.el7 base 51 k
- mpfr x86_64 3.1.1-4.el7 base 203 k
- Transaction Summary
- ==================================================================================
- Install 1 Package (+5 Dependent packages)
- Total download size: 24 M
- Installed size: 56 M
- Is this ok [y/d/N]: y
- Downloading packages:
- (1/6): glibc-headers-2.17-157.el7_3.5.x86_64.rpm | 669 kB 00:00:00
- (2/6): glibc-devel-2.17-157.el7_3.5.x86_64.rpm | 1.1 MB 00:00:00
- (3/6): cpp-4.8.5-11.el7.x86_64.rpm | 5.9 MB 00:00:00
- (4/6): libmpc-1.0.1-3.el7.x86_64.rpm | 51 kB 00:00:00
- (5/6): mpfr-3.1.1-4.el7.x86_64.rpm | 203 kB 00:00:00
- (6/6): gcc-4.8.5-11.el7.x86_64.rpm | 16 MB 00:00:01
- ----------------------------------------------------------------------------------
- Total 14 MB/s | 24 MB 00:01
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : mpfr-3.1.1-4.el7.x86_64 1/6
- Installing : libmpc-1.0.1-3.el7.x86_64 2/6
- Installing : cpp-4.8.5-11.el7.x86_64 3/6
- Installing : glibc-headers-2.17-157.el7_3.5.x86_64 4/6
- Installing : glibc-devel-2.17-157.el7_3.5.x86_64 5/6
- Installing : gcc-4.8.5-11.el7.x86_64 6/6
- Verifying : glibc-devel-2.17-157.el7_3.5.x86_64 1/6
- Verifying : mpfr-3.1.1-4.el7.x86_64 2/6
- Verifying : libmpc-1.0.1-3.el7.x86_64 3/6
- Verifying : gcc-4.8.5-11.el7.x86_64 4/6
- Verifying : glibc-headers-2.17-157.el7_3.5.x86_64 5/6
- Verifying : cpp-4.8.5-11.el7.x86_64 6/6
- Installed:
- gcc.x86_64 0:4.8.5-11.el7
- Dependency Installed:
- cpp.x86_64 0:4.8.5-11.el7 glibc-devel.x86_64 0:2.17-157.el7_3.5
- glibc-headers.x86_64 0:2.17-157.el7_3.5 libmpc.x86_64 0:1.0.1-3.el7
- mpfr.x86_64 0:3.1.1-4.el7
- Complete!
- [tom@localhost Shinobi]$ sudo npm install canvas
- > canvas@1.6.6 install /home/tom/Shinobi/node_modules/canvas
- > node-gyp rebuild
- gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.4.0"
- gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/tom/Shinobi/node_modules/canvas/.node-gyp"
- make: Entering directory `/home/tom/Shinobi/node_modules/canvas/build'
- SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
- make: g++: Command not found
- make: *** [Release/obj.target/canvas-postbuild.node] Error 127
- make: Leaving directory `/home/tom/Shinobi/node_modules/canvas/build'
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
- gyp ERR! stack at emitTwo (events.js:125:13)
- gyp ERR! stack at ChildProcess.emit (events.js:213:7)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
- gyp ERR! System Linux 3.10.0-514.el7.x86_64
- gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /home/tom/Shinobi/node_modules/canvas
- gyp ERR! node -v v8.4.0
- gyp ERR! node-gyp -v v3.6.2
- gyp ERR! not ok
- npm WARN shinobi@1.0.21 license should be a valid SPDX license expression
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! canvas@1.6.6 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the canvas@1.6.6 install script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /root/.npm/_logs/2017-08-17T22_24_48_306Z-debug.log
- [tom@localhost Shinobi]$ cat /etc/redhat-release
- CentOS Linux release 7.3.1611 (Core)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement