安装vmware工具:GCC二进制文件的位置? [英] installing vmware tools: location of GCC binary?

查看:947
本文介绍了安装vmware工具:GCC二进制文件的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我试图用tar安装程序从命令行安装VMware工具,使用这些指令:
http://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html#wp1118025



我在使用vmplayer作为虚拟机运行的lubuntu上安装vmware工具。
在步骤5之后,在屏幕上响应配置问题时,它表示$ v
$ b

  vmware tools 9.2的安装程序。 Linux的3 build-1031360成功完成。您可以通过调用以下命令随时从
中删除此软件:
/usr/bin/vmware-uninstall-tools.pl。
首次运行vmware工具之前,需要通过调用以下命令来配置它:
usr / bin / vmware-config-tools.pl。你想让这个程序现在为你调用这个命令吗?
[是]

我按回车并接受默认[yes]值,现在它

 在您可以编译模块之前,您需要安装以下代码:
make
gcc
正在运行的内核的内核标题

搜索GCC ...
路径不是gcc二进制文件的有效路径。
你想改变它吗? [是]

你机器上gcc程序的位置是什么?

我做了

  locate gcc 

发现有一个名为/ usr / lib / gcc的文件夹,所以我试图把它作为位置,但它表示路径/ usr / lib / gcc不是gcc库的有效路径。
我如何知道gcc二进制文件在我的机器上的位置?

解决方案

sudo apt-get install build-essential 足以让它工作。


okay so I am trying to isntall VMware tools from the command line with the tar installer using these instructions: http://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html#wp1118025

I am installing vmware tools on lubuntu which I have running as a virtual machine using vmplayer. After step 5, when responding the configuration questions on the screen, it said

the installatinon of vmware tools 9.2.3 build-1031360 for linux completed sucessfully.  you can devide to 
remove this software form your system at any time by invoking the following command:
"/usr/bin/vmware-uninstall-tools.pl".
before running vmware tools for the first time, you need to configure it by invoking  the following command:
"usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for  you now?
[yes]

I pressed enter and accepted the default [yes] value and now it says

Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel

Searching for GCC...
the path "" is not valid path to the gcc binary. 
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

I did

locate gcc

and found that there is a folder called /usr/lib/gcc, so I tried to put that in as the location but it says that the path "/usr/lib/gcc" is not valid path to the gcc library. How do I find out where the gcc binary is on my machine is?

解决方案

sudo apt-get install build-essential is enough to get it working.

这篇关于安装vmware工具:GCC二进制文件的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆