Re: [問題] vmware player可裝vmware tool ?

看板Linux作者 (說好的性福呢?)時間14年前 (2011/08/12 09:45), 編輯推噓0(004)
留言4則, 1人參與, 最新討論串2/2 (看更多)
我的狀況是這樣的, uanme -r 2.6.38-8-generic ubuntu 11.04 其實之前出錯的是在ubunt 64-bits 現在在安裝32-bits的版本.. 我有下載vmware-tool-distru, 版本是7.8.5 (請問最新的版本是多少呢 ??) sudo ./vmware-install.pl 安裝到What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] 我已經有apt-get install build-essential 那我也有嘗試選擇路徑, 底下是我的資訊 ls /usr/src linux-headers-2.6.38-8 linux-headers-2.6.38-8-generic linux-source-2.6.38 因為我的uname -r後面有代 generic, 因此我選擇了 linux-headers-2.6.38-8-generic 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.38-8/include/ The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.38-8-generic). Even if the module were to compile successfully, it would not load into the running kernel. 然後好像網上又說要下載vmware-any-any-update117, 因此我下載後安裝 sudo ./runme.pl 但出現了 Unable to open the installer database /etc/vmware/locations in read-mode. Execution aborted. 很腦殘的去改變 /etc/vmware/locations的屬性為777 還是一樣... 請問我現在要怎樣找到我的C header呢? thanks! ※ 引述《pilipalabon (說好的性福呢?)》之銘言: : 嘗試了很久, 也上網抓了vmware的套件但就是裝不成功. : 請問有人是使用vmware player但可以安裝vmware tool的嗎? : 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 192.72.220.129 ※ 編輯: pilipalabon 來自: 192.72.220.129 (08/12 09:51)

08/12 09:55, , 1F
如果有更新過了 不是在上面選單選Install VMware Tools
08/12 09:55, 1F

08/12 09:56, , 2F
掛載後解壓縮到硬碟 執行"sudo ./vmware-install.pl"就好?
08/12 09:56, 2F

08/12 09:58, , 3F
剛找到的 應該是你問的問題吧 http://tinyurl.com/3l359gk
08/12 09:58, 3F

08/12 09:59, , 4F
我好像沒裝過11.04 會裝不上去嗎
08/12 09:59, 4F
因為我是在公司proxy下, 因此選擇 Install VMware Tool會出現 The update server could not be found. Check youir Internet settings or contact your system administrator. 我有對vmware player設定proxy的資訊, 但一樣是上面的訊息. 另外那篇不是我po的, 謝謝. ※ 編輯: pilipalabon 來自: 192.72.220.129 (08/12 10:14) 剛剛有將C header找到了, autoconf.h也ok, 可是接下來又碰到 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.38-8-generic/include/ Extracting the sources of the vmmemctl module. Building the vmmemctl module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmmemctl-only' make -C /usr/src/linux-headers-2.6.38-8-generic/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' CC [M] /tmp/vmware-config0/vmmemctl-only/backdoorGcc32.o In file included from /tmp/vmware-config0/vmmemctl-only/backdoor.h:29:0, from /tmp/vmware-config0/vmmemctl-only/backdoorGcc32.c:45: /tmp/vmware-config0/vmmemctl-only/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined CC [M] /tmp/vmware-config0/vmmemctl-only/os.o In file included from /tmp/vmware-config0/vmmemctl-only/os.c:51:0: /tmp/vmware-config0/vmmemctl-only/compat_wait.h:78:13: error: conflicting types for ‘poll_initwait’ include/linux/poll.h:72:13: note: previous declaration of ‘poll_initwait’ was here make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] Error 1 make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic' make: *** [vmmemctl.ko] Error 2 make: Leaving directory `/tmp/vmware-config0/vmmemctl-only' Unable to build the vmmemctl module. 然後一路上都是碰到 Unable to build the vmhgfs module. Unable to build the vmxnet module. Unable to build the vmblock module. Unable to build the vmci module. etected X.org version 7.9.1. No drivers for X.org version: 7.9.1. Skipping X configuration because X drivers are not included. Starting VMware Tools services in the virtual machine: Switching to guest configuration: done Guest operating system daemon: done Virtual Printing daemon: done The configuration of VMware Tools 7.8.5 build-156735 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 enable advanced X features (e.g., guest resolution fit, drag and drop, and file and text copy/paste), you will need to do one (or more) of the following: 1. Manually start /usr/bin/vmware-user 2. Log out and log back into your desktop session; and, 3. Restart your X session. If the virtual printer feature is enabled, you will need to restart the CUPS service to make use of this feature. Enjoy, --the VMware team 雖然到最後會這樣子的訊息, 但是我可沒Enjoy, 因為/mnt/hgfs下也是沒東西.. 謝謝 ※ 編輯: pilipalabon 來自: 192.72.220.129 (08/12 10:34) 我都這樣, 每次自己稿都搞不出名堂... 問問題才會思考過程.. 這次也不例外, 我想可能是我的 vmware-tool-dirstru太舊了.. 剛剛下載 8.6.4 版.. 果然, 一路順通阿, 終於可以順利分享了!! 附上下載頁面 http://www.rei3.com/archives/8259.html 是要下載 VMware Tools -- windows tools-linux-8.4.6.exe.tar 執行後不會有反應, 但在去按vmware-player的Install VMware Tools 時就不會有錯誤了, 取而代之的是會跑出 VMware Tool的CD內容.. 在來就是是一路通順了~~爽!! ※ 編輯: pilipalabon 來自: 192.72.220.129 (08/12 10:48)
文章代碼(AID): #1EH8NCNU (Linux)
文章代碼(AID): #1EH8NCNU (Linux)