jinfeng_wang

          G-G-S,D-D-U!

          BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
            400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks
          http://ubuntuforums.org/archive/index.php/t-25258.html

          =============QUESTION===============

          I did a very large check on the forum and tried several solutions but nothing worked yet I just can't get VMware to install.

          It stops at:

          What is the location of the directory of C header files that match your running
          kernel? [/usr/src/linux/include]

          I tried to give other directorys and installed and downloaded linux-headers-2.6.10-5 and linux-headers-2.6.10-5 but no go, I point to that dir but still no go :) Please help me !! thnx





          In which directory do you want to install the application's icon?
          [/usr/share/pixmaps]

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

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

          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? [/usr/src/linux/include] /usr/include/linux/

          The header files in /usr/include are generally for C libraries, not for the
          running kernel. If you do not have kernel header files in your /usr/src
          directory, you probably do not have the kernel-source package installed. Are yousure that /usr/include contains the header files associated with your running
          kernel? [no]

          What is the location of the directory of C header files that match your running
          kernel? [/usr/src/linux/include] /usr/include/

          The header files in /usr/include are generally for C libraries, not for the
          running kernel. If you do not have kernel header files in your /usr/src
          directory, you probably do not have the kernel-source package installed. Are yousure that /usr/include contains the header files associated with your running
          kernel? [no] yes

          The directory of kernel headers (version 2.6.0-test7) does not match your
          running kernel (version 2.6.10-5-686). Even if the module were to compile
          successfully, it would not load into the running kernel.

          What is the location of the directory of C header files that match your running
          kernel? [/usr/src/linux/include]

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


          =============ANSWER===============
          I fixed the problem via this way:



          You need to install the headers for the release of the kernel you have installed. To find this out you can type

          >> uname -r

          to get the header you can apt-get install them,

          >> sudo apt-get install linux-headers-`uname -r`

          or select the appropriate package in synaptic.

          Note: you'll also need gcc etc which if you don't have already you can get with

          >> sudo apt-get install build-essential

          After installation the vmware installer should just pick up the right place and not require anything but the defaults.

          If it's still being stupid, the path to include can be found in /lib/modules/<<module release number>>/build/include

          Cheers.

          posted on 2007-03-08 09:29 jinfeng_wang 閱讀(1494) 評論(1)  編輯  收藏 所屬分類: ZZLinux

          評論

          # re: Ubuntu Can't Install VMware (zz)[未登錄] 2007-05-19 19:11 Kent
          That's vmware problems...
          go to

          http://ftp.cvut.cz/vmware/

          download the file called

          vmware-any-any-updatexxx.tar.gz

          then, in $vmware-config.pl, you will find
          ...
          ...
          ...
          What is the location of the directory of C header files that match your running
          kernel? [/lib/modules/2.6.20-15-386/build/include]
          ...
          ...

          the [/lib/modules/2.6.20-15-386/build/include] could be different.  回復(fù)  更多評論
            

          主站蜘蛛池模板: 田阳县| 佛坪县| 长宁区| 亳州市| 克什克腾旗| 平南县| 宾川县| 托里县| 静海县| 梅河口市| 闽清县| 杨浦区| 辛集市| 竹北市| 朔州市| 客服| 达日县| 苍溪县| 凤阳县| 伊春市| 芮城县| 喜德县| 调兵山市| 桂林市| 南靖县| 景宁| 平乐县| 措美县| 湖州市| 富民县| 静宁县| 嘉义县| 盘锦市| 洪湖市| 永仁县| 始兴县| 旺苍县| 柘城县| 淅川县| 太和县| 鹿泉市|