查看積分策略說明發表回覆
Discuz! 代碼
提示插入
直接插入
說明訊息

插入粗體文本 插入斜體文本 插入下劃線 置中對齊 插入超級連結 插入信件位址 插入圖像 插入 flash 插入代碼 插入引言 插入列表
刪除線 直線分隔線 虛線分隔線
    
添加文字底框
內容 [字數檢查]:

表情符號

更多 Smilies
字型大小 |||
溫馨提示:本區開放遊客瀏覽。


文章關鍵字 : [功能說明]
(關鍵字可加強搜索準確性, 如關鍵字多於一組, 請以 , 作分隔, e.g. : 阿笨,shiuh,第一笨)

 關閉 URL 識別 | html 禁用
 關閉 表情符號 | 表情符號 可用
 關閉 Discuz! 代碼 | Discuz! 代碼 可用
使用個人簽名
接收新回覆信件通知
推薦放檔網絡空間

檔案(Torent, zip等)
  1. freedl
  2. multiupload
  3. btghost
  4. 便當狗
  5. mediafire
  6. pillowangel
圖片(JPG, GIF等)
  1. hotimg
  2. tinypic
  3. mousems2
  4. imageshack
  5. imm.io
>>>歡迎推薦好用空間


最新10篇文章回顧
Yves

 發表於 2011-8-14 01:33 PM


引用:

autoconf.h’: 沒有此一檔案或目錄
utsrelease.h’: 沒有此一檔案或目錄

大概是這兩個檔案的位置換了, 用find找看看換到哪邊去 ln回來就好
Ubuntu是換到include/generated/  link回來的指令如下
ln -s /usr/src/linux-headers-`uname -r`/include/generated/autoconf.h /usr/src/linux-headers-`uname -r`/include/linux/autoconf.h


Asiacast

 發表於 2011-8-6 08:22 PM


引用:
fungi寫到:
請問您有安裝 kernel source 嗎?


有喔!
我有執行 yum install kernel-devel-`uname -r` xinetd gcc gcc-c++ perl-devel perl-ExtUtils-Embed wget vim-enhanced 這一段指令


fungi

 發表於 2011-8-6 12:27 AM

請問您有安裝 kernel source 嗎?


Asiacast

 發表於 2011-8-5 05:01 PM

Fedora 14 最小安裝

VMware Server 2 安裝參考網頁資料
http://www.howtoforge.com/how-to ... sktop-kernel-2.6.35

網頁步驟中的檔案他顯示是
raducotescu-vmware-server-linux-2.6.3x-kernel-release-1.5-1-g71f8b66.tar.gz
但是我下載到的是
raducotescu-vmware-server-linux-2.6.3x-kernel-release-1.6-0-gbb26dce.tar.gz

不知道是不是這邊因為版本跟他不一樣,所以我下一個步驟執行就出現錯誤了

我執行到 sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh 這行指令
就無下再繼續了

安裝經過
[root@vms raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce]# sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
You have VMware Server archive:
        VMware-server-2.0.2-203138.i386.tar.gz
Checking for needed packages on Fedora
You do have the xinetd package...
You do have the kernel-headers package...
Installing kernel-devel...
Loaded plugins: langpacks, presto, refresh-packagekit
Adding zh_TW to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.i686 0:2.6.35.13-92.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================
Package                                 Arch                            Version                                      Repository                          Size
===============================================================================================================================================================
Installing:
kernel-devel                            i686                            2.6.35.13-92.fc14                            updates                            6.6 M

Transaction Summary
===============================================================================================================================================================
Install       1 Package(s)

Total download size: 6.6 M
Installed size: 23 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 6.6 M
kernel-devel-2.6.35.13-92.fc14.i686.rpm                                                                                                 | 6.6 MB     00:08
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : kernel-devel-2.6.35.13-92.fc14.i686                                                                                                     1/1

Installed:
  kernel-devel.i686 0:2.6.35.13-92.fc14

Complete!
You do have the gcc package...
Installing patch...
Loaded plugins: langpacks, presto, refresh-packagekit
Adding zh_TW to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package patch.i686 0:2.6.1-8.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================
Package                             Arch                               Version                                    Repository                             Size
===============================================================================================================================================================
Installing:
patch                               i686                               2.6.1-8.fc14                               updates                                97 k

Transaction Summary
===============================================================================================================================================================
Install       1 Package(s)

Total download size: 97 k
Installed size: 183 k
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 97 k
patch-2.6.1-8.fc14.i686.rpm                                                                                                             |  97 kB     00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : patch-2.6.1-8.fc14.i686                                                                                                                 1/1

Installed:
  patch.i686 0:2.6.1-8.fc14

Complete!
You do have the make package...
Extracting the contents of VMware-server-2.0.2-203138.i386.tar.gz
Found .tar file for vmci module
Found .tar file for vmmon module
Found .tar file for vsock module
Found .tar file for vmnet module
Extracting .tar files in order to apply the patch...
Untarring /home/sysadmin/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci.tar
Untarring /home/sysadmin/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmmon.tar
Untarring /home/sysadmin/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vsock.tar
Untarring /home/sysadmin/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet.tar
Testing patch...
Creating some simlinks for the newer kernels...
ln: creating symbolic link ‘/usr/src/linux-headers-2.6.35.13-92.fc14.i686.PAE/include/linux/autoconf.h’: 沒有此一檔案或目錄
ln: creating symbolic link ‘/usr/src/linux-headers-2.6.35.13-92.fc14.i686.PAE/include/linux/utsrelease.h’: 沒有此一檔案或目錄
Applying patch...
Preparing new tar file for vmci module
Preparing new tar file for vmmon module
Preparing new tar file for vsock module
Preparing new tar file for vmnet module
Checking that the compiling will succeed...
Trying to compile vmci module to see if it works
Performing make in /home/sysadmin/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci-only
Using standalone build system.
./autoconf/geninclude.c:19:28: 嚴重錯誤:linux/autoconf.h:沒有此一檔案或目錄
編譯插斷。
.././autoconf/geninclude.c:19:28: 嚴重錯誤:linux/autoconf.h:沒有此一檔案或目錄
編譯插斷。
Dependencies for driver.c
.././include/driver-config.h:42:5: 錯誤:#error "No Module support in this kernel.  Please configure with CONFIG_MODULES"
make[1]: *** [driver.d] Error 1
make: *** [deps] Error 2
There is a problem compiling the vmci module after it was patched.
[root@vms raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce]#


請問有人能告訴我! 是哪邊錯誤了呢!

感謝


miholee

 發表於 2011-7-24 03:52 PM

官方有提供.rpm檔案,用yum或rpm指令就能安裝了。
有遇到什麼問題麼?


Asiacast

 發表於 2011-7-20 10:45 PM

最近想要玩玩 VM-server,但是我只熟悉 Fedora,可惜不管我怎麼安裝都裝不起來,請問有朋友裝得起來嗎? 可否教教我





所在時區為 GMT+8, 現在時間是 2024-5-3 05:53 PM
清除 Cookies - 連絡我們 - TWed2k © 2001-2046 - 純文字版 - 說明
Discuz! 0.1 | Processed in 0.026493 second(s), 7 queries , Qzip disabled