狼愛上貍

          我胡漢三又回來了

          Ubuntu7.04系統下安裝虛擬機VMware

          一、安裝依賴包

          sudo apt-get install libx11-6 libx11-dev libxtst6 xinetd

          sudo apt-get install linux-headers-`uname -r` build-essential

          二、從vmware官方網站下載最新版vmware-server for linux(ver:1.0.2)

          http://www.vmware.com/download/server/ 記得要注冊取得授權號碼喲

          三、解壓并安裝

          tar zxvf VMware-server-1.0.2-39867.tar.gz

          cd vmware-server-distrib

          sudo vmware-install.pl

          可以直接一路默認下去就好,但這不會安裝成功,會出現以下錯誤:

          Building the vmmon module.

          Using 2.6.x kernel build system.

          make: Entering directory `/tmp/vmware-config0/vmmon-only''

          make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

          make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic''

          CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o

          In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:

          /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 錯誤: expected declaration specifiers or ‘...’ before ‘compat_exit’

          /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 錯誤: expected declaration specifiers or ‘...’ before ‘exit_code’

          /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 警告: 在 ‘_syscall1’ 的聲明中,類型默認為 ‘int’

          make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] 錯誤 1

          make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] 錯誤 2

          make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic''

          make: *** [vmmon.ko] 錯誤 2

          make: Leaving directory `/tmp/vmware-config0/vmmon-only''

          Unable to build the vmmon module.

          For more information on how to troubleshoot module-related problems, please

          visit our Web site at "http://www.vmware.com/download/modules/modules.html" and

          "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

          Execution aborted.

          不要理它!我們去下載patch搞定

          四、下載并安裝patch包

          wget http://jaws.go2linux.org/archivos/vmware-any-any-update109.tar.gzcd vmware-any-any-update109sudo ./runme.pl

          接下來一路next就好(會出現一些警告錯誤,說有函數在使用前未初始化)

          (T002)


          traceback: http://linux.e800.com.cn/articles/2007/514/1179108976414775186_1.html


          posted on 2007-07-29 19:21 狼愛上貍 閱讀(382) 評論(0)  編輯  收藏 所屬分類: LINUX

          主站蜘蛛池模板: 渭源县| 商洛市| 呼图壁县| 兴安县| 洪湖市| 湘潭县| 隆林| 松溪县| 沙湾县| 台东县| 溧阳市| 仪征市| 界首市| 蕉岭县| 册亨县| 资中县| 泸定县| 大渡口区| 石渠县| 柳州市| 巴林左旗| 乌拉特前旗| 湖北省| 确山县| 六安市| 扎囊县| 静安区| 古蔺县| 鄂伦春自治旗| 大城县| 阳朔县| 五寨县| 綦江县| 湟源县| 河南省| 惠州市| 定安县| 新晃| 绥芬河市| 大冶市| 获嘉县|