Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 如何在red Hat 6.4上安装gcc4.6.4_Linux_Gcc_Redhat_Make Install - Fatal编程技术网

Linux 如何在red Hat 6.4上安装gcc4.6.4

Linux 如何在red Hat 6.4上安装gcc4.6.4,linux,gcc,redhat,make-install,Linux,Gcc,Redhat,Make Install,当我想现在安装GCC4.6.4时,请使用GCC4.4.7 /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. make[5]: *** [_muldi3.o] error 1 make[5]: Leaving directory `/home/chestnuts/objdir/x86_64-unknown-linux-gnu/32

当我想现在安装GCC4.6.4时,请使用GCC4.4.7

/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make[5]: *** [_muldi3.o] error 1
make[5]: Leaving directory `/home/chestnuts/objdir/x86_64-unknown-linux-gnu/32/libgcc'
make[4]: *** [multi-do] error 1
make[4]: Leaving directory `/home/chestnuts/objdir/x86_64-unknown-linux-gnu/libgcc'
make[3]: *** [all-multi] error 2
make[3]: Leaving directory `/home/chestnuts/objdir/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] error 2
make[2]: Leaving directory `/home/chestnuts/objdir'
make[1]: *** [stage1-bubble]error 2
make[1]: Leaving directory `/home/chestnuts/objdir'
我的步骤:

./contrib/download_prerequisites
cd ..

mkdir obj && cd obj
../gcc-4.7.4/configure 
make && make install

安装32位版本的glibc-devel或-禁用multilib。顺便问一下,为什么不在您使用时安装一个更新的版本呢?4.9.2是好的,如果你不想要流血边缘5.1.0。