Find the answer to your Linux question:
Results 1 to 8 of 8
Hi all, I am a bit of a newbie when it comes to linux, so any help would be greatly appreciated! I am trying to get vmware running on fedora ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Location
    Australia
    Posts
    4

    Fedora/Kernel/VMWare problem


    Hi all,
    I am a bit of a newbie when it comes to linux, so any help would be greatly appreciated!

    I am trying to get vmware running on fedora 8. Here is the output from attempting to install:

    -------------------------------------------

    [root@fedora include]# uname -r
    2.6.23.14-107.fc8

    [root@fedora include]# /usr/bin/vmware-config.pl
    Making sure services for VMware Workstation are stopped.

    Stopping VMware services:
    Virtual machine monitor [ OK ]

    Configuring fallback GTK+ 2.4 libraries.

    In which directory do you want to install the mime type icons?
    [/usr/share/icons]

    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]

    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] /lib/modules/2.6.23.14-107.fc8/build/include

    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.23.14-107.fc. 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]

    -------------------------------------------------

    If i try :

    ------------
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.23.14-107.fc8-x86_64

    The path "/usr/src/kernels/2.6.23.14-107.fc8-x86_64" is an existing directory,
    but it does not contain at least one of these directories "linux", "asm", "net"
    as expected.
    --------------

    Not sure as I've installed GCC, headers, etc, and the headers appear to be the same version as that actual kernel, but vmware doesnt think so... If anyone know what I am doing wrong/need to know, that would be fantastic. Thanks in advance!

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hiya rebound,
    Welcome to the forums.
    If you look at the error you have here, the answer seems to be here also.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.23.14-107.fc8-x86_64

    The path "/usr/src/kernels/2.6.23.14-107.fc8-x86_64" is an existing directory,
    but it does not contain at least one of these directories "linux", "asm", "net"
    as expected.
    I think you need to point the location to /usr/src/kernels/2.6.23.14-107.fc8-x86_64/include
    Let us know how it goes.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Location
    Australia
    Posts
    4
    Hi MikeTBob,
    Same problem unfortunately :S

    --------

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.23.14-107.fc8-x86_64/include

    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.23.14-107.fc. Even if the module were to
    compile successfully, it would not load into the running kernel.

    ----------
    Any idea whats going on?
    Thanks!

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Try installing kernel-devel if you haven't already,
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  6. #5
    Just Joined!
    Join Date
    Feb 2008
    Location
    Australia
    Posts
    4
    I think it is installed:
    ------------
    [root@fedora include]# uname -r
    2.6.23.14-107.fc8
    [root@fedora include]#
    [root@fedora include]# yum install kernel-devel
    fedora 100% |=========================| 2.1 kB 00:00
    updates 100% |=========================| 2.3 kB 00:00
    Setting up Install Process
    Parsing package install arguments
    Package kernel-devel - 2.6.23.14-107.fc8.x86_64 is already installed.
    Resolving Dependencies
    --> Running transaction check
    ---> Package kernel-devel.x86_64 0:2.6.23.1-42.fc8 set to be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================== ===========================
    Package Arch Version Repository Size
    ================================================== ===========================
    Installing:
    kernel-devel x86_64 2.6.23.1-42.fc8 fedora 4.9 M

    Transaction Summary
    ================================================== ===========================
    Install 1 Package(s)
    Update 0 Package(s)
    Remove 0 Package(s)

    Total download size: 4.9 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/1): kernel-devel-2.6.2 100% |=========================| 4.9 MB 00:06
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test


    Transaction Check Error:
    package kernel-devel-2.6.23.14-107.fc8.x86_64 (which is newer than kernel-devel-2.6.23.1-42.fc8.x86_64) is already installed

    Error Summary
    -------------

    [root@fedora include]#
    ------------

    I'd prefer to not have to do a reinstall, but its looking like I think i'll have no choice

  7. #6
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by rebound View Post
    I'd prefer to not have to do a reinstall, but its looking like I think i'll have no choice
    I'd wait a day or two before doing that, unless you really need to. Sometime these YUM errors just resolve themselves. It's pretty weird. Besides that, someone else may come along and tell you how to fix it. I know nothing about VMWare. Sorry I couldn't be more help.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  8. #7
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    276
    What vmware version are you installing?

    Are you using x86_64? (uname -m)

    If so, it should be /usr/src/kernels/2.6.23.1-42.fc8-x86_64/include

    Note: directorty /lib/modules/2.6.23.14-107.fc8/build should be a link to /usr/src/kernels/2.6.23.14-107.fc8.x86_64.

    I will try to uninstall the kernel-devel (use rpm -e) and then reinstall it. You must install the same kernel-devel version of your kernel (in your case kernel-devel-2.6.23.14-107.fc8.x86_64.rpm)

  9. #8
    Just Joined!
    Join Date
    Feb 2008
    Location
    Australia
    Posts
    4
    OK, FINALLY got it working. I spent ages ensuring kernel header/devel etc all were matching. Ended up reinstalling with i386 version, but i think the problem ended up being:
    'yum install gcc-c++'

    Compiled with warnings, but I think that is normal.

    Thanks everyone so much for your help! Thank god that nightmare is over!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •