FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 24
  1. #1
    Join Date
    May 2010
    Posts
    3

    Installing VMware Tools in Fedora 13 Guest

    I'm trying to install the vmware tools in Fedora 13.
    I've run the following commands as root:

    yum install gcc -y
    yum install kernel-devel -y

    ./vmware-install.pl
    ...

    when it asks for the location of the directory of the C header files that match my running kernel I entered:
    /usr/src/kernels/2.6.33.4-95.fc13.i686/include

    but vmware-install.pl says:
    The path to "/usr/src/kernels/2.6.33.4-95.fc13.i686/inc" is not valid..

    Anyone an idea?

  2. #2
    Join Date
    Jun 2009
    Posts
    19

    Re: Installing VMware Tools in Fedora 13 Guest

    Same problem here. I think VMWare Tools might not be ready for the 2.6.33.4-95 kernel just yet.

  3. #3
    Join Date
    Sep 2007
    Posts
    9

    Re: Installing VMware Tools in Fedora 13 Guest

    This is what I did;
    yum install kernel-headers kernel-devel gcc

    Worked fine.

  4. #4
    Join Date
    May 2010
    Posts
    3

    Re: Installing VMware Tools in Fedora 13 Guest

    After installing all the pending updates it now works for me too.
    Thanks!

  5. #5
    Join Date
    Jan 2006
    Location
    USA
    Posts
    275

    Re: Installing VMware Tools in Fedora 13 Guest

    All I did was install the rpm that was in the vmware tool folder. Everything is working fine.

  6. #6
    Join Date
    May 2010
    Posts
    2

    Re: Installing VMware Tools in Fedora 13 Guest

    Perhaps because I installed 64-bit version, but I had to do one tiny little step more. :-) This with VMWare 6.5.4

    cd /usr/src/kernels/2.6.33.4-95.fc13.x86_64/include
    cp -p generated/utsrelease.h linux/utsrelease.h

    The vmware-config-tools.pl is looking for define UTS_RELEASE within either version.sh or utsrelease.h under ./linux/ Unfortunately it wasn't there yet.

  7. #7
    Join Date
    Jun 2010
    Posts
    4

    Re: Installing VMware Tools in Fedora 13 Guest

    This is happening to me too, using kernel 2.6.33.5-112.fc13.i686 ..
    gcc, kernel-devel, kernel-headers, gcc-c++ all of them installed and up-to-date. The whole system is up-to-date right now, however vmware refuses the directory:

    The path "/usr/src/kernels/2.6.33.5-112.fc13.i686/include/" is not valid.
    Would you like to change it? [yes]

    Anyone else? Any solution?
    Thanks

  8. #8
    Join Date
    May 2010
    Posts
    2

    Re: Installing VMware Tools in Fedora 13 Guest

    Did you also copy the missing/misplaced include file?

    (Having just updated the kernel I am getting the original messages, so have copied them below as I workaround the problem)

    = = = First I get:

    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.33.5-112.fc13.x86_64/include

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


    = = = Then over in another session at
    /usr/src/kernels/2.6.33.5-112.fc13.x86_64/include


    [Tom@tlsf13a include]$ find . -iname '*relea*'
    ./config/kernel.release
    ./generated/utsrelease.h
    [Tom@tlsf13a include]$ sudo cp -p generated/utsrelease.h linux/

    = = = Then back in first session:

    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.33.5-112.fc13.x86_64/include

    Extracting the sources of the vmmemctl module.

    = = = and the vmware-config-tools.pl runs ....
    (well, all but vmci builds ... :-/ )

  9. #9
    Join Date
    Mar 2007
    Posts
    4

    Re: Installing VMware Tools in Fedora 13 Guest

    I had the same problem on i686, the above solution corrected the problem-Thanks

  10. #10
    Join Date
    Jun 2010
    Posts
    2

    Re: Installing VMware Tools in Fedora 13 Guest

    Did anyone get the official vmware tools installed with latest fedora 13 kernel 2.6.33.5-112.fc13.x86_64 ?! I also tried without success the following: http://www.r71.nl/kb/technical/265-f...d-error-vmware

    ...but after I get the include directory accepted I get compile errors for every module...

    Code:
    [root@fds13a ~]# vmware-config-tools.pl 
    
    Stopping VMware Tools services in the virtual machine:
       Guest operating system daemon:                          [  OK  ]
    None of the pre-built vmmemctl modules for VMware Tools is suitable for your 
    running kernel.  Do you want this program to try to build the vmmemctl 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? 
    [/lib/modules/2.6.33.5-112.fc13.x86_64/build/include] 
    
    Extracting the sources of the vmmemctl module.
    
    Building the vmmemctl module.
    
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config12/vmmemctl-only'
    make -C /lib/modules/2.6.33.5-112.fc13.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
      CC [M]  /tmp/vmware-config12/vmmemctl-only/backdoorGcc64.o
    In file included from /tmp/vmware-config12/vmmemctl-only/backdoor.h:29,
                     from /tmp/vmware-config12/vmmemctl-only/backdoorGcc64.c:38:
    /tmp/vmware-config12/vmmemctl-only/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
      CC [M]  /tmp/vmware-config12/vmmemctl-only/os.o
    In file included from /tmp/vmware-config12/vmmemctl-only/os.c:51:
    /tmp/vmware-config12/vmmemctl-only/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
    include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here
    make[2]: *** [/tmp/vmware-config12/vmmemctl-only/os.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config12/vmmemctl-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
    make: *** [vmmemctl.ko] Error 2
    make: Leaving directory `/tmp/vmware-config12/vmmemctl-only'
    Unable to build the vmmemctl module.
    Could also someone anyone enligthen me about the difference between

    /lib/modules/2.6.33.5-112.fc13.x86_64/build/include/
    /usr/src/kernels/2.6.33.5-112.fc13.x86_64/include/

    I tried with Vmware Server 2.0.2 and its shipped VMwareTools-7.7.6-203138.i386.rpm. Is there a newer version available? I only found this site: http://packages.vmware.com/tools ...and apparently some 8.0.2 is the latest?! At least the RHEL-rpms cannot be installed because of libc.so.6 missing / dependancy...
    Last edited by volkerb; 4th June 2010 at 10:12 PM.

  11. #11
    Join Date
    Jun 2010
    Posts
    4

    Re: Installing VMware Tools in Fedora 13 Guest

    I still can't make it accept my kernel c header files...

    " The path "/usr/src/kernels/2.6.33.5-112.fc13.i686/include" is not valid. "

    I've already copied generated/utsrelease.h to linux/utsrelease.h ...

    I'm running VMware Workstation 7.1 with the default VMware Tools...

  12. #12
    Join Date
    Jun 2010
    Posts
    2

    Re: Installing VMware Tools in Fedora 13 Guest

    To make the perl script accept the include path it was helpful for me to add the define for UTS_RELEASE to the version.h file (like posted here), but then the compile did not work.

    Copying the utsrelease.h had also NO effect for me. Apparently the perl script looks in the version.h file.

    Maybe also try the following?
    ln -s /usr/src/kernels/2.6.33.5-112.fc13.i686 /usr/src/linux

    And also add the UTS_RELEASE to both version.h files? Why are both there in the first place?
    /lib/modules/`uname -r`/build/include/linux/version.h
    /usr/src/kernels/`uname -r`/include/linux/version.h

  13. #13
    Join Date
    Jun 2010
    Posts
    1

    Re: Installing VMware Tools in Fedora 13 Guest

    I'm having the same problem, and the workarounds here haven't worked for me either. I haven't had time to look at the vmware config script to see if there's a way to force a workaround there.

  14. #14
    Join Date
    Jun 2010
    Posts
    1

    Re: Installing VMware Tools in Fedora 13 Guest

    Copying the utsrelease.h for me didn't have any effect also, but the problem can be easily solved by fooling vmware-config-tools.pl into thinking that the path you typed is correct anyway. In order to do so, open the /usr/bin/vmware-config-tools.pl and search for getValidKernelHeadersPath , under that you will see a while(1) { ......
    just remove the while(1) keyword without removing the brackets. Afterward your file should look something like this :

    ....
    sub getValidKernelHeadersPath {
    my $kh_path = shift;
    my $modconfig = shift;
    my $appLoaderArgs = shift;
    my $answer;
    my $query;
    my $default;

    {
    if (system("$modconfig --validate-kernel-headers \"$kh_path\" " .
    "$appLoaderArgs >/dev/null 2>&1") == 0) {
    $query = "The path \"$kh_path\" appears to be a valid path to the " .
    "kernel headers of the running kernel.";
    $default = 'no';
    } else { .......
    .....

    you can now save and manually run vmware-config-tools.pl and when asked for kernel headers select yes for changing and give the correct path (in my system /usr/src/kernels/2.6.33.5-124.fc13.i686/include/), it will then compile correctly.

  15. #15
    Join Date
    Jul 2004
    Posts
    3

    Re: Installing VMware Tools in Fedora 13 Guest

    All these problems suck... it is really time to replace all closed source virtualization technology with open source technology because then such issues can be fixed by the community.

    So ok, I got my machine to accept the path, but now I am missing vmware-config-tools.pl ... where do I get this? I did not come with vmware Server 2.0.2
    Last edited by MarkyGoldstein; 21st June 2010 at 07:20 PM.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Problem installing/configuring VMware Tools in F13 beta guest
    By Ijan in forum Fedora 13 Development Branch
    Replies: 0
    Last Post: 21st April 2010, 12:36 AM
  2. Installing VMware Tools in Fedora 12 Guest
    By tcwan in forum Guides & Solutions (Not For Questions)
    Replies: 4
    Last Post: 21st March 2010, 10:10 PM
  3. Installing VMWare Tools on Fedora 8
    By jmacdonagh in forum Using Fedora
    Replies: 13
    Last Post: 13th December 2007, 08:55 PM
  4. Installing Fedora core 5 as guest in VMware workstation 5.5 running on windows XP pro
    By holmen in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 30th September 2006, 11:56 AM

Tags for this Thread

Posting Permissions

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