如何处理这行错误消息?
Please install the gcc make perl packages from your distribution。
执行命令行:yum install gcc perl make
输出:
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Package 4:perl-5.16.3-292.el7.x86_64 already installed and latest version
Package 1:make-3.82-23.el7.x86_64 already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package gcc.x86_64 0:4.8.5-28.el7_5.1 will be installed
–> Processing Dependency: cpp = 4.8.5-28.el7_5.1 for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Running transaction check
—> Package cpp.x86_64 0:4.8.5-28.el7_5.1 will be installed
—> Package glibc-devel.x86_64 0:2.17-222.el7 will be installed
–> Processing Dependency: glibc-headers = 2.17-222.el7 for package: glibc-devel-2.17-222.el7.x86_64
–> Processing Dependency: glibc-headers for package: glibc-devel-2.17-222.el7.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-222.el7 will be installed
–> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
–> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
–> Running transaction check
—> Package kernel-headers.x86_64 0:3.10.0-862.14.4.el7 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================
Package Arch Version Repository Size
========================================================================================================
Installing:
gcc x86_64 4.8.5-28.el7_5.1 rhel_7_server_rpms 16 M
Installing for dependencies:
cpp x86_64 4.8.5-28.el7_5.1 rhel_7_server_rpms 5.9 M
glibc-devel x86_64 2.17-222.el7 rhel_7_server_rpms 1.1 M
glibc-headers x86_64 2.17-222.el7 rhel_7_server_rpms 678 k
kernel-headers x86_64 3.10.0-862.14.4.el7 rhel_7_server_rpms 7.1 M
libmpc x86_64 1.0.1-3.el7 rhel_7_server_rpms 51 k
mpfr x86_64 3.1.1-4.el7 rhel_7_server_rpms 203 k
Transaction Summary
========================================================================================================
Install 1 Package (+6 Dependent packages)
Total download size: 31 M
Installed size: 60 M
Is this ok [y/d/N]:
选择Y:
看到Complete,说明安装完毕。
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Package 4:perl-5.16.3-292.el7.x86_64 already installed and latest version
Package 1:make-3.82-23.el7.x86_64 already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package gcc.x86_64 0:4.8.5-28.el7_5.1 will be installed
–> Processing Dependency: cpp = 4.8.5-28.el7_5.1 for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-28.el7_5.1.x86_64
–> Running transaction check
—> Package cpp.x86_64 0:4.8.5-28.el7_5.1 will be installed
—> Package glibc-devel.x86_64 0:2.17-222.el7 will be installed
–> Processing Dependency: glibc-headers = 2.17-222.el7 for package: glibc-devel-2.17-222.el7.x86_64
–> Processing Dependency: glibc-headers for package: glibc-devel-2.17-222.el7.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-222.el7 will be installed
–> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
–> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
–> Running transaction check
—> Package kernel-headers.x86_64 0:3.10.0-862.14.4.el7 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================
Package Arch Version Repository Size
========================================================================================================
Installing:
gcc x86_64 4.8.5-28.el7_5.1 rhel_7_server_rpms 16 M
Installing for dependencies:
cpp x86_64 4.8.5-28.el7_5.1 rhel_7_server_rpms 5.9 M
glibc-devel x86_64 2.17-222.el7 rhel_7_server_rpms 1.1 M
glibc-headers x86_64 2.17-222.el7 rhel_7_server_rpms 678 k
kernel-headers x86_64 3.10.0-862.14.4.el7 rhel_7_server_rpms 7.1 M
libmpc x86_64 1.0.1-3.el7 rhel_7_server_rpms 51 k
mpfr x86_64 3.1.1-4.el7 rhel_7_server_rpms 203 k
Transaction Summary
========================================================================================================
Install 1 Package (+6 Dependent packages)
Total download size: 31 M
Installed size: 60 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): cpp-4.8.5-28.el7_5.1.x86_64.rpm | 5.9 MB 00:02:51
(2/7): glibc-devel-2.17-222.el7.x86_64.rpm | 1.1 MB 00:00:10
(3/7): glibc-headers-2.17-222.el7.x86_64.rpm | 678 kB 00:00:11
(4/7): kernel-headers-3.10.0-862.14.4.el7.x86_64.rpm | 7.1 MB 00:02:47
(5/7): libmpc-1.0.1-3.el7.x86_64.rpm | 51 kB 00:00:01
(6/7): mpfr-3.1.1-4.el7.x86_64.rpm | 203 kB 00:00:02
(7/7): gcc-4.8.5-28.el7_5.1.x86_64.rpm | 16 MB 00:06:48
Total 78 kB/s | 31 MB 00:06:48
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : mpfr-3.1.1-4.el7.x86_64 1/7
Installing : libmpc-1.0.1-3.el7.x86_64 2/7
Installing : cpp-4.8.5-28.el7_5.1.x86_64 3/7
Installing : kernel-headers-3.10.0-862.14.4.el7.x86_64 4/7
Installing : glibc-headers-2.17-222.el7.x86_64 5/7
Installing : glibc-devel-2.17-222.el7.x86_64 6/7
Installing : gcc-4.8.5-28.el7_5.1.x86_64 7/7
Verifying : gcc-4.8.5-28.el7_5.1.x86_64 1/7
Verifying : mpfr-3.1.1-4.el7.x86_64 2/7
Verifying : glibc-devel-2.17-222.el7.x86_64 3/7
Verifying : cpp-4.8.5-28.el7_5.1.x86_64 4/7
Verifying : glibc-headers-2.17-222.el7.x86_64 5/7
Verifying : libmpc-1.0.1-3.el7.x86_64 6/7
Verifying : kernel-headers-3.10.0-862.14.4.el7.x86_64 7/7
Installed:
gcc.x86_64 0:4.8.5-28.el7_5.1
Dependency Installed:
cpp.x86_64 0:4.8.5-28.el7_5.1 glibc-devel.x86_64 0:2.17-222.el7
glibc-headers.x86_64 0:2.17-222.el7 kernel-headers.x86_64 0:3.10.0-862.14.4.el7
libmpc.x86_64 0:1.0.1-3.el7 mpfr.x86_64 0:3.1.1-4.el7
Complete!