当前位置: 技术问答>linux和unix
redhat下安装vsftp报错
来源: 互联网 发布时间:2016-08-02
本文导语: redhat下安装vsftp报如下错误 -c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc make: gcc: Command not found make: *** [main.o] Error 127 请问出现上面错误是什么原因? | 没编译器……My god... yum install ...
redhat下安装vsftp报如下错误
-c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc
make: gcc: Command not found
make: *** [main.o] Error 127
请问出现上面错误是什么原因?
-c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc
make: gcc: Command not found
make: *** [main.o] Error 127
请问出现上面错误是什么原因?
|
没编译器……My god...
yum install gcc-c++
yum install gcc-c++
|
就是没有安装gcc
yum -y install gcc gcc-c++ libstdc++-devel
|
不过你的系统里有compat-gcc 看看他的说明你就知道他是什么了
RPM resource compat-gcc
This package includes a compiler that can be to generate binaries that will run on older Red Hat Linux systems (namely Red Hat Linux 7.3). This package includes the C compiler and required compiler libraries for those systems.
RPM resource compat-gcc
This package includes a compiler that can be to generate binaries that will run on older Red Hat Linux systems (namely Red Hat Linux 7.3). This package includes the C compiler and required compiler libraries for those systems.
|
[root@svr1 ~]# rpm -qa | grep gcc
gcc-c++-3.4.6-3
libgcc-3.4.6-3
gcc-3.4.6-3
compat-gcc-32-c++-3.2.3-47.3
gcc-java-3.4.6-3
compat-gcc-32-3.2.3-47.3
gcc-g77-3.4.6-3
compat-libgcc-296-2.96-132.7.2