[求助]安装VMware Tools提示没有找到软件包。

重复贴和参考价值不大的帖子,版主维护
回复
zuimeng086
帖子: 82
注册时间: 2006-09-26 13:27
送出感谢: 5 次
接收感谢: 0

[求助]安装VMware Tools提示没有找到软件包。

#1

帖子 zuimeng086 » 2008-11-06 10:50

vmware 5.5
ubuntu 8.10 i386

代码: 全选

meng@meng-desktop:/cdrom$ dir
VMwareTools-5.5.0-18463.i386.rpm  VMwareTools-5.5.0-18463.tar.gz
meng@meng-desktop:/cdrom$ sudo apt-get install /cdrom/vmwaretools-5.5.0-18463.tar.gz
[sudo] password for meng: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 无法找到软件包 
meng@meng-desktop:/cdrom$ sudo apt-get install /cdrom/vmwaretools-5.5.0-18463.i386.rpm
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 无法找到软件包 
meng@meng-desktop:/cdrom$ 
zuimeng086
帖子: 82
注册时间: 2006-09-26 13:27
送出感谢: 5 次
接收感谢: 0

Re: [求助]安装VMware Tools提示没有找到软件包。

#2

帖子 zuimeng086 » 2008-11-08 15:33

日,没有一个回复指出我的错误!

NND,WM5.5正式版 不支持U8.10

代码: 全选

The path ":/usr/src/linux-headers-2.6.27-7/inclu" is not an existing directory.

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.27-7/include

The path "/usr/src/linux-headers-2.6.27-7/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] /usr/src/linux-headers-2.6.27-7-generic/include

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match 
your running kernel (version 2.6.27-7-generic).  Even if the module were to 
compile successfully, it would not load into the running kernel.
zuimeng086
帖子: 82
注册时间: 2006-09-26 13:27
送出感谢: 5 次
接收感谢: 0

Re: [求助]安装VMware Tools提示没有找到软件包。

#3

帖子 zuimeng086 » 2008-11-08 17:19

使用6.0.3的vmware tools安装包安装上了,不知道是不是我在这一步没有输入直接回车的原因,重启时,提示这一步,要按下回车才行。

代码: 全选

Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:
希望能找到解决办法,进入桌面后,鼠标不用热键来切换,共享文件不知道没有安装成功还是我没有找到地方。

安装记录,做个日后查找备用。
有的组件好像没有安装成功。

代码: 全选

meng@meng-desktop:~/Download/vmware-tools-distrib$ sudo ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Tools.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:-ne                                   done


The removal of VMware Tools 5.5.0 build-18463 for Linux completed successfully. 
Thank you for having tried this software.

Converting the tar3 installer database format to the tar4 installer database 
format.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

The path "/usr/lib/vmware-tools" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] 

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] 

The installation of VMware Tools 6.0.3 build-80004 for Linux completed 
successfully. You can decide to remove this software from 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] 


Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmmemctl module 
for your system (you need to have a C compiler installed on your system)? 
[yes] 

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.27-7-generic/build/include] 

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config0/vmmemctl-only'
make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /tmp/vmware-config0/vmmemctl-only/os.o
/tmp/vmware-config0/vmmemctl-only/os.c: 在函数‘os_init’中:
/tmp/vmware-config0/vmmemctl-only/os.c:567: 错误: ‘struct proc_dir_entry’没有名为‘get_info’的成员
make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [vmmemctl.ko] 错误 2
make:离开目录“/tmp/vmware-config0/vmmemctl-only”
Unable to build the vmmemctl module.

The memory manager driver (vmmemctl module) is used by VMware host software to 
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap 
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work 
independently of this feature.
If you want the memory management feature, you can install the driver by 
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine. 
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ] 

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes] 

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config1/vmhgfs-only'
make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /tmp/vmware-config1/vmhgfs-only/backdoor.o
  CC [M]  /tmp/vmware-config1/vmhgfs-only/backdoorGcc32.o
  CC [M]  /tmp/vmware-config1/vmhgfs-only/bdhandler.o
/tmp/vmware-config1/vmhgfs-only/bdhandler.c:15:27: error: asm/semaphore.h: 没有该文件或目录
make[2]: *** [/tmp/vmware-config1/vmhgfs-only/bdhandler.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmhgfs-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [vmhgfs.ko] 错误 2
make:离开目录“/tmp/vmware-config1/vmhgfs-only”
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder 
feature. The rest of the software provided by VMware Tools is designed to work 
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by 
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine. 
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ] 

pcnet32                39684  0 
Unloading pcnet32 module

Trying to find a suitable vmxnet module for your running kernel.

None of the pre-built vmxnet modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmxnet module for
your system (you need to have a C compiler installed on your system)? [yes] 

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config2/vmxnet-only'
make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /tmp/vmware-config2/vmxnet-only/vmxnet.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config2/vmxnet-only/vmxnet.o
see include/linux/module.h for more information
  CC      /tmp/vmware-config2/vmxnet-only/vmxnet.mod.o
  LD [M]  /tmp/vmware-config2/vmxnet-only/vmxnet.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-7-generic'
cp -f vmxnet.ko ./../vmxnet.o
make:离开目录“/tmp/vmware-config2/vmxnet-only”
The module loads perfectly in the running kernel.

update-initramfs: Generating /boot/initrd.img-2.6.27-7-generic
Trying to find a suitable vmblock module for your running kernel.

None of the pre-built vmblock modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmblock module 
for your system (you need to have a C compiler installed on your system)? 
[yes] 

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config2/vmblock-only'
make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/block.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/control.o
/tmp/vmware-config2/vmblock-only/linux/control.c: 在函数‘SetupProcDevice’中:
/tmp/vmware-config2/vmblock-only/linux/control.c:139: 错误: ‘proc_root_fs’未声明(在此函数内第一次使用)
/tmp/vmware-config2/vmblock-only/linux/control.c:139: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
/tmp/vmware-config2/vmblock-only/linux/control.c:139: 错误: 所在的函数内也只报告一次。)
/tmp/vmware-config2/vmblock-only/linux/control.c: 在函数‘CleanupProcDevice’中:
/tmp/vmware-config2/vmblock-only/linux/control.c:199: 错误: ‘proc_root_fs’未声明(在此函数内第一次使用)
make[2]: *** [/tmp/vmware-config2/vmblock-only/linux/control.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config2/vmblock-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [vmblock.ko] 错误 2
make:离开目录“/tmp/vmware-config2/vmblock-only”
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a host and 
dropping or pasting them onto your guest (host to guest drag and drop and file 
copy/paste).  The rest of the software provided by VMware Tools is designed to 
work independently of this feature (including guest to host drag and drop and 
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel 
are installed on your machine. These packages are available on your 
distribution's installation CD.
[ Press Enter key to continue ] 

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service 
provides a new communication capability with the Host, primarily for 
development at the moment.  Would you like to enable this feature? [no] 



Detected X.org version 0.0.0.



No drivers for X.org version: 0.0.0.


Please choose one of the following display sizes that X will start with (1 - 
15):

[1]  "640x480"
[2]< "800x600"
[3]  "1024x768"
[4]  "1152x864"
[5]  "1280x800"
[6]  "1152x900"
[7]  "1280x1024"
[8]  "1376x1032"
[9]  "1400x900"
[10]  "1400x1050"
[11]  "1440x900"
[12]  "1680x1050"
[13]  "1600x1200"
[14]  "1920x1200"
[15]  "2364x1773"
Please enter a number between 1 and 15:

[2] 

Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:
                                                                       done
   Guest vmxnet fast network device:                                   done
   DMA setup:                                                          done
   Guest operating system daemon:                                      done

The configuration of VMware Tools 6.0.3 build-80004 for Linux for this running 
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking the following command: 
"/usr/bin/vmware-toolbox" during an X server session.

To use the vmxnet driver, restart networking using the following commands: 
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start

To make use of the virtual printer, you will need to restart the CUPS service

Enjoy,

--the VMware team
limao504
帖子: 6
注册时间: 2008-11-08 17:42
送出感谢: 0
接收感谢: 0

Re: [求助]安装VMware Tools提示没有找到软件包。

#4

帖子 limao504 » 2008-11-08 17:48

:em02 mingbaile!
头像
Element
论坛版主
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China
送出感谢: 0
接收感谢: 0

Re: [求助]安装VMware Tools提示没有找到软件包。

#5

帖子 Element » 2008-11-08 17:55

就没找到正确的板块,论坛不是有专门的虚拟机板块吗
LZ居然还用的是DOS的命令,dir,都给你列出来
去虚拟版块看看,什么都就明白了
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
回复

回到 “归档贴”