LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: a0147353

vmware-config.pl 或 vmware-config-tools.pl 遇到问题的请进

[复制链接]
发表于 2006-3-29 19:12:47 | 显示全部楼层

vmware下的fedora5安装vmware tools出错

我在vmware下安装了fedora5 但是在里面安装vmware tools的时候出错。
请问能否解决?多谢!!
回复 支持 反对

使用道具 举报

发表于 2006-3-30 13:20:07 | 显示全部楼层

vmware下的Fedora5安装vmware tools出错

用vmware 5.5装上了FC5.但是在FC5里装vmware tools的时候总是有错误。
我安装vmware tools的时候也是出这个错误。找不到include文件夹

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.15-1.2054_FC5/build/include]

你们有没有在VM下的FC5安装vmware tools成功的?
请问如何解决?我搜了半天也没找到答案。
多谢!!
回复 支持 反对

使用道具 举报

发表于 2006-3-30 17:41:47 | 显示全部楼层
Post by chunhui_true
用vmware 5.5装上了FC5.但是在FC5里装vmware tools的时候总是有错误。
我安装vmware tools的时候也是出这个错误。找不到include文件夹

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.15-1.2054_FC5/build/include]

你们有没有在VM下的FC5安装vmware tools成功的?
请问如何解决?我搜了半天也没找到答案。
多谢!!

装上kernel的devel包,把相应的include目录敲上就可以了。
今天在2080内核下装vm遇到了新问题,player可以起来,workstation起不来,说什么缺GCC 2.4的什么包,第一次碰到这种问题。
回复 支持 反对

使用道具 举报

发表于 2006-3-30 18:35:50 | 显示全部楼层
Post by benzcomp
看一下这篇文章
Since this is a unsupported host OS and Fedora Core 5, I believe is still beta software. You will most likely need to download the latest unofficial vmware-any-any-update from http://ftp.cvut.cz/vmware.

1. Extract the archive to your /tmp or some other empty directory, then follow these steps:

2. Open a Terminal window

3. Use su to become root

4. Switch to the directory in which you extracted vmware-any-any-update??

5. Run ./runme.pl and follow the prompts.
出自:http://www.vmware.com/community/thread.jspa?threadID=37010&tstart=0


刚下了最新的99版的补丁,还是不行……编译时有出错,但能通过,可是编译完成后VMware还是运行不了啊(Player可以运行)。哪个大哥帮帮忙?
回复 支持 反对

使用道具 举报

发表于 2006-3-31 20:59:26 | 显示全部楼层
就没有哪们大侠将过程详细写下来,让我等菜鸟明白明白?
回复 支持 反对

使用道具 举报

发表于 2006-3-31 22:40:41 | 显示全部楼层
Post by yangqs
刚下了最新的99版的补丁,还是不行……编译时有出错,但能通过,可是编译完成后VMware还是运行不了啊(Player可以运行)。哪个大哥帮帮忙?

把它提示的那个库文件,好像是libgcc.so.1吧,从/usr/lib拷到vmware目录下的lib里就好了
回复 支持 反对

使用道具 举报

发表于 2006-3-31 22:53:46 | 显示全部楼层
Post by yangqs
刚下了最新的99版的补丁,还是不行……编译时有出错,但能通过,可是编译完成后VMware还是运行不了啊(Player可以运行)。哪个大哥帮帮忙?

把它提示的那个库文件,好像是libgcc.so.1吧,从/usr/lib拷到vmware目录下的lib里就好了
回复 支持 反对

使用道具 举报

发表于 2006-4-9 20:39:41 | 显示全部楼层
可是,我根本没有办法安装新的vmware-any-any-update99补丁, 运行时会出现下面错位信息。请问如何解决呢?

[root@localhost vmware-any-any-update99]# ./runme.pl
Unable to open the installer database /etc/vmware/locations in read-mode.

Execution aborted.
回复 支持 反对

使用道具 举报

发表于 2006-5-5 23:51:47 | 显示全部楼层
和楼上一样 求解..........
回复 支持 反对

使用道具 举报

发表于 2006-5-16 16:51:56 | 显示全部楼层
  1. Bug:
  2. When you try and configure vmware with
  3. Code:
  4. /opt/vmware/workstation/bin/vmware-config.pl
  5. it asks
  6. Code:
  7. What is the location of the directory of C header files that match your running
  8. kernel? [/usr/src/linux/include]
  9. but then you get an error complaining
  10. Code:
  11. The kernel defined by this directory of header files does not have the same
  12. address space size as your running kernel.
  13. Fix:
  14. The hack is to edit the script itself and comment out a return to enable you to by-pass this check.
  15. Use your favourite editor (vim!) to edit the script
  16. Code:
  17. nano -w /opt/vmware/workstation/bin/vmware-config.pl
  18. scroll down to line1982 (vmware version 5.5) and comment out (#) the return ''; like so:
  19. Code:
  20. . "\n" . $pattern . ' __PAGE_OFFSET') . ' | '
  21.        . shell_string($gHelper{'gcc'}) . ' ' . shell_string('-I' . $answer)
  22.        . ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
  23.        . shell_string($pattern));
  24.      chomp($header_page_offset);
  25.      $header_page_offset =~ s/^$pattern \(0x([0-9a-fA-F]{8}).*$/$1/;
  26.      if ($header_page_offset =~ /[0-9a-fA-F]{8}/) {
  27.        # We found a valid page offset
  28.        if (not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
  29.          if ($source eq 'user') {
  30.            print wrap('The kernel defined by this directory of header files
  31.            does ' . 'not have the same address space size as your
  32.            running ' . 'kernel.' . "\n\n", 0);
  33.          }
  34. #         return '';
  35.        }
  36.      }
  37. Then run the same vmware config script and it should build. If you get another error saying "can't stop vmware" then pass the "-skipstopstart" option like so
  38. Code:
  39. /opt/vmware/workstation/bin/vmware-config.pl -skipstopstart
  40. Once your modules are built, reboot and try to run vmware. Don't forget to add yourself to the vmware group.
复制代码


如果你在用的 vmware 来装 fc5 的话:

$su -
#which vmware-config-tools.pl
/usr/bin/vmware-config-tools.pl
#vi /usr/bin/vmware-config-tools.pl
修改1982行,在前边加个‘#’,即注释掉该行。
#vmware-config-tools.pl

就好了。
#
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表