解决在ubuntu 12.10安装vmware-tools实现文件共享问题
2013-11-01 14:05
721 查看
解决在ubuntu 12.10安装vmware-tools出现的“The path "" is not a valid path to linux-headers-3.5.0-17 ”或者“The path "" is not a valid path to
linux-headers-3.5.0-17 -generic”问题:
在使用终端安装vmware-tools时,不停地回车直到出现下面这几行字时就停止了。
Before you can compile modules, you need tohave the following installed...
make
gcc
kernel header of the running kernel
searching for GCC
Detected GCC binary at "usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
would you like to change it? [no] no (我输入的no)
Searching for a valid kernel header path
The path " " is not a valid path to linux-headers-3.5.0-17.
Would you like to change it? [yes](我输入的yes)
Enter the path to the kernel header files for the linux-headers-3.5.0-17? (我的ubuntu /usr/src/下有这个linux-headers-3.5.0-17,但是我输入这个路径也解决不了问题)
后来多方查找发现是没有linux-headers-3.5.0-17 -generic包。参考网址:
http://www.cnblogs.com/SelaSelah/archive/2013/02/17/2914412.html
http://www.2cto.com/os/201308/236037.html
在终端中分别输入执行以下指令,就可以安装linux-headers-3.5.0-17 -generic了。
1 sudo apt-get update
2 sudo apt-get install build-essential
3 sudo apt-get install linux-headers-$(uname -r)
更新完上面的内容后,我发现我的/usr/src/下有linux-headers-3.5.0-17 -generic包了,在root权限下输入
sudo ./vmware-install.pl
回车,这个我的文件可以从win7上共享到ubuntu上了。
linux-headers-3.5.0-17 -generic”问题:
在使用终端安装vmware-tools时,不停地回车直到出现下面这几行字时就停止了。
Before you can compile modules, you need tohave the following installed...
make
gcc
kernel header of the running kernel
searching for GCC
Detected GCC binary at "usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
would you like to change it? [no] no (我输入的no)
Searching for a valid kernel header path
The path " " is not a valid path to linux-headers-3.5.0-17.
Would you like to change it? [yes](我输入的yes)
Enter the path to the kernel header files for the linux-headers-3.5.0-17? (我的ubuntu /usr/src/下有这个linux-headers-3.5.0-17,但是我输入这个路径也解决不了问题)
后来多方查找发现是没有linux-headers-3.5.0-17 -generic包。参考网址:
http://www.cnblogs.com/SelaSelah/archive/2013/02/17/2914412.html
http://www.2cto.com/os/201308/236037.html
在终端中分别输入执行以下指令,就可以安装linux-headers-3.5.0-17 -generic了。
1 sudo apt-get update
2 sudo apt-get install build-essential
3 sudo apt-get install linux-headers-$(uname -r)
更新完上面的内容后,我发现我的/usr/src/下有linux-headers-3.5.0-17 -generic包了,在root权限下输入
sudo ./vmware-install.pl
回车,这个我的文件可以从win7上共享到ubuntu上了。
相关文章推荐
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- vmware里的ubuntu与宿主windows共享文件出现的问题及解决
- VMware 下Ubuntu 安装Vmware Tools后hgfs无法显示共享文件的解决办法
- ubuntu10.10 下面安装vmware-tools 解决需要指定 c header file 的问题
- ubuntu虚拟机安装 VMware-tools后在hgfs共享目录下查看不到共享文件
- 安装VMware-tools出错无法共享文件的解决办法
- VMware安装Ubuntu17.04的VMware-tools提示:what is the location of the "ifconfig" program on your machin问题解决
- ubuntu 12.04 安装在VMware 8不能共享文件解决办法
- ubuntu 12.04 安装在VMware 8不能共享文件解决办法
- 在 VMware Ubuntu 64 里安装 Vmware Tools工具,能够解决不能满屏显示与从客户机复制文件到虚拟机的问题
- 彻底解决ubuntu8.04上无法完整安装vmware-tools的问题,完整安装后可以与WXP共享文件夹了!
- Ubuntu中设置共享文件夹,遇到问题总结(包括VMware-tools安装,更新源更改,共享工具的安装)
- 【开发工具】VMware安装Fedora17,安装VMware-tools出错无法共享文件的解决办法
- ubuntu 12.04 安装在VMware 8不能共享文件解决办法
- windows下VMware安装Ubuntu的文件共享(VM-tools)
- vmware tools for linux 在ubuntu10.10中安装问题解决
- VMware虚拟机ubuntu和主操作系统硬盘之间的文件共享的实现和What is the location of the directory of C header files that match your running问题的解决办法
- 解决vmware虚拟机中,已安装vmware-tools却无法共享文件夹的问题