VMware Workstation 8.0安装VMTools时提示找不到GCC的解决办法

在VMware Workstation 8.0中安装ubuntu-12.04-server X64虚拟机,安装VMTools的时候提示

setup is unable to find the "gcc" program on your machine. Pleasr make sure it
is installed. Do you want to specify the lcation of this program by hand?
[yes]

原因:ubuntu-12.04-server X64安装时默认没有gcc,必须通过以下命令另外安装:

sudo apt-get install gcc

附:ubuntu-12.04-server X64中安装VMTools的方法:

1、root登录虚拟机

2、mkdir /mnt/cdrom  ,  mount /dev/cdrom /mnt/cdrom

3、cd /tmp

4、tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz

5、umount /dev/cdrom

6、cd vmware-tools-distrib

7、./vmware-install.pl

 

posted @ 2012-06-10 14:38  dream4u  阅读(1295)  评论(0编辑  收藏  举报