首页 > 系统相关 >Linux下安装vmware tools。遇到了种种问题

Linux下安装vmware tools。遇到了种种问题

时间:2022-10-26 10:07:38浏览次数:38  
标签:kernel src Linux usr linux include tools your vmware


  linux的vmwaretools 是:vmware-tools-distrib,版本不知道,大小是198MB

  系统是debian

  tools挂在到cdrom后,有文件

  bin\ doc\ etc\ FILES INSTALL installer\ lib\ vmware-install.pl

  执行http://blog.chinaunix.net/vmware-install.pl 提示

  bash: http://blog.chinaunix.net/vmware-install.pl: /usr/bin/perl: bad interpreter: 权限不够

  换成root,su后,还是。

  得了把,perl vmware-install.pl

  等了一会,开始运行。

  前面几个都没问题,回车即可。

  CU还限制代码文字么,少了一段,继续??

  'll continue. Please try to use exactly same

  compiler as one used for building your kernel. Do you want to go with compiler

  "/usr/bin/gcc" version "4.3.2" anyway? [no] yes

  #

  #没有办法,自动安装的gcc版本和系统不相同也是正常的,又不是我编译的系统

  #

  What is the location of the directory of C header files that match your running

  kernel? [/usr/src/linux/include]

  The path "/usr/src/linux/include" is not an existing directory.

  #

  #没有内核的头文件,安装 apt-get install build-essential kernel-headers-`uname -r`

  #前面的build-essential不知道是干什么用的。我的uname -r是2.6.26-2-686

  #(安装记录看最后)

  #

  What is the location of the directory of C header files that match your running

  kernel? [/usr/src/linux/include] /usr/src//linux-headers-2.6.26-2-common/include

  The path "/usr/src//linux-headers-2.6.26-2-common/include" is a kernel header

  file directory, but it does not contain the file "linux/version.h" as expected.

  This can happen if the kernel has never been built, or if you have invoked the

  "make mrproper" command in your kernel directory. In any case, you may want to

  rebuild your kernel.

  What is the location of the directory of C header files that match your running

  kernel? [/usr/src/linux/include]

  #

  #我傻了,缺少一个version.h文件,我那找去阿,自己touch一个先。

  #

  What is the location of the directory of C header files that match your running

  kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.26-2-common/include

  The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match

  your running kernel (version 2.6.26-2-686). Even if the module were to compile

  successfully, it would not load into the running kernel.

  What is the location of the directory of C header files that match your running

  kernel? [/usr/src/linux/include]

  #

  #接下来怎么办?请求帮助

  #

  #

  #

  #

  #

  补充:

  这是安装build-essential的记录

  安装kernel-headers

标签:kernel,src,Linux,usr,linux,include,tools,your,vmware
From: https://blog.51cto.com/yetaotao/5796913

相关文章

  • linux用什么命令修改目录名称?0
    linux下修改主目录的方法:第一,修改/etc/passwd文件;第二,usermod命令;具体方法:第一种方法:vi/etc/passwd;找到要修改的用户那几行,修改掉即可,此方法建......
  • linux查询目录下子目录总大小,linux查询当前目录总大小
    一,查看磁盘空间大小的命令:dfdf命令用于查看磁盘分区上的磁盘空间,包括使用了多少,还剩多少,默认单位是KB比如以下命令:df-hl执行结果如下:执行的结果每列的含义:第一列Filesy......
  • linux的tar是打包
    .tar解包:tarxvfFileName.tar打包:tarcvfFileName.tarDirName(注:tar是打包,不是压缩!)---------------------------------------------.gz解压1:gu......
  • linux 打包当前文件夹下所有文件的方法
    如下所示:tarczvftest.tar.gz*#压缩当前文件夹下非隐藏文件的文件tarczvftest.tar.gz.[!.]*#压缩当前文件夹下隐藏文件排除两个隐藏文件夹"."和“..”......
  • Linux挂载安装VMware tool
    1.点击安装VMwaretool,之后选择挂载进行挂载2.挂载Tools并解压#mkdir/mnt/cdrom#mount-tauto/dev/cdrom/mnt/cdrom#cd/mnt/cdrom/#c......
  • VMWare安装Linux-ubuntu碰到的坑
    学习Android,不可避免要玩linux,现在使用虚拟机的比较多。具体怎么装VMWare+ubuntu就不讲了。这个基本已经没什么难点。倒是VMWare装好后,碰到了些小问题。这里只作提......
  • Linux命令(七)查找文件或目录 find
    find命令可以根据给定的路劲和表达式查找指定的文件或目录。find参数选项很多,并且支持正则表达式,功能强大。和管道结合使用可以实现复杂的功能,是系统管理和普通用户......
  • Linux文件目录结构一览表
    学习Linux,不仅限于学习各种命令,了解整个Linux文件系统的目录结构以及各个目录的功能同样至关重要。使用Linux时,通过命令行输入可以看到,在Linux根目录(/)下......
  • VMware安装中标麒麟Linux_server_x86_ZX64(兆芯版)
    VNware15自行百度镜像下载地址:NeoKylin_zx_linux_server_x86_64.iso(试用版)系统要求-512MB物理RAM(推荐使用1G以上RAM)-6G以上可用磁盘空间-800x6......
  • VMware以及Linux自定义安装
    自定义安装能够避免自动安装过程中的一些问题打开虚拟机点击创建新的虚拟机?先选择“稍后安装操作系统(s)”看一下纯净版的操作系统选择操......