gpt4 book ai didi

gcc - 安装 vmware 工具 : location of GCC binary?

转载 作者:行者123 更新时间:2023-12-02 00:11:56 28 4
gpt4 key购买 nike

好吧,我正在尝试使用以下说明从命令行使用 tar 安装程序安装 VMware 工具: http://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html#wp1118025

我正在 lubuntu 上安装 vmware 工具,我已使用 vmplayer 作为虚拟机运行该工具。第5步之后,当回答屏幕上的配置问题时,它说

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]

我按下 Enter 并接受默认的 [yes] 值,现在它显示

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?

我做到了

locate gcc

发现有一个名为/usr/lib/gcc 的文件夹,所以我尝试将其作为位置,但它说路径“/usr/lib/gcc”不是 gcc 库的有效路径。如何找出 gcc 二进制文件在我的机器上的位置?

最佳答案

sudo apt-get install build-essential 足以使其正常工作。

关于gcc - 安装 vmware 工具 : location of GCC binary?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18804819/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com