歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> The path "/usr/bin/gcc" is not valid path to the gcc binary

The path "/usr/bin/gcc" is not valid path to the gcc binary

日期:2017/3/3 16:37:40   编辑:關於Linux

安裝 VMWare tools 時出現“The path "/usr/bin/gcc" is not valid path to the gcc binary”

環境:Vmware 8.0+RedHat 9.0

問題:安裝 VMWare tools 時詢問GCC安裝位置,出現“The path "/usr/bin/gcc" is not valid path to the gcc binary”。查詢是否安裝了GCC,顯示確實安裝了。使用 which gcc,顯示安裝位置是usr/bin/gcc,重新輸入此路徑,仍然不正確。

解決:換高版本的RedHat或者低版本的Vmware。

說明:即使你的RedHat安裝了gcc,使用環境如前所訴,仍會出現這個問題。這是因為版本兼容的問題。建議使用高版本 Vmware的同時使用高版本的RedHat。如果實在是安裝不上,建議使用VirtualBox,免費且易用的虛擬機,它自帶的增強功能操作 簡單,使用方便。

附VirtualBox的下載地址:http://www.oracle.com/technetwork/server- storage/virtualbox/downloads/index.html

Copyright © Linux教程網 All Rights Reserved