Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Can only half-install VMware... then get missing file

  1. #1

    Default Can only half-install VMware... then get missing file

    Ok, so to start off i'm quite a n00b with Linux... I know some commands and what not, and I can do some stuff with it.
    So this is my first post here after basically lurking for information, which mostly helped me out, but i'm still having problems =/
    After first trying YasT2 to install VMWare, and that not working, I tried using the method outlined on this page:
    Install VMware server 2 in Suse / openSUSE 11 & USB support
    I can get to a certain point, starting most of the installation process, and then I get this:

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

    (I hit enter)

    The path "/usr/src/linux/include" is a kernel header file directory, but it
    does not contain the file "linux/version.h" as expected. This can happen if
    the kernel has never been built, or if you have invoked the "make mrproper"
    command in your kernel directory. In any case, you may want to rebuild your
    kernel.

    What should I do? I patched the vmware-config.pl file with the text file that I made and that seemed to work okay... so i'm not sure why this is happening.

    I know there was another post on this similar issue, which I read, but there didn't seem to be an answer to that, or the thread was forgotten due to the large amount of threads here.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Can only half-install VMware... then get missing file

    For noobs, I recommend Virtual Box.

    Linux_Downloads - VirtualBox

    This page may be of help too for some of the dependency needs and setup commands.
    VirtualBox Installation - openSUSE
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Can only half-install VMware... then get missing file

    Actually, I tried getting VirtualBox with YasT2 and it looks like it installed... it shows up in the application list on the Application menu. However, when I try to start it, it looks like it's trying to launch with a cursor animation going for it, then nothing happens. It never really starts up. I dunno what's going on :- S

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Can only half-install VMware... then get missing file

    I refer you again to this:
    VirtualBox Installation - openSUSE

    Go through it step by step
    If you plan to use what is available through the repos you want to add this one:
    Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.1

    Note this part:
    Prerequisites for VirtualBox downloads

    Whether you use binaries or installing from source you have to install the following packages first:

    • kernel-source
    • kernel-syms
    • Xalan-c
    • Xerces-c
    • gcc
    • make

    Then:
    Next, create the required kernel module by executing the command from su terminal:
    Code:
    /etc/init.d/vboxdrv setup
    Then:
    Post-Installation

    Though VirtualBox will start after you've just installed it, there are a few other necessary steps to complete before you can really get the most out of VirtualBox. These include:

    • Making sure that the vboxdrv driver is loaded.

    In the terminal (as root), execute the following command:
    modprobe vboxdrv

    • Add your user to the vboxusers group:

    groupmod --add-user <login> vboxusers
    Or open YaST -> Security and Users -> UserManagement, and edit your user and add them to the vboxusers group. To do this, select your user name, click on Edit, switch to the Details tab and check the vboxusers check box.
    Remember that this takes effect the next time that user logs in. If the user was logged in at the time you added him to the group, need need to log out and in again.
    You should then be able to run VirtualBox just fine!
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Christian Riechers NNTP User

    Default Re: Can only half-install VMware... then get missing file

    On 10/05/2009 06:46 AM, ph33linz wrote:
    >
    > Ok, so to start off i'm quite a n00b with Linux... I know some commands
    > and what not, and I can do some stuff with it.
    > So this is my first post here after basically lurking for information,
    > which mostly helped me out, but i'm still having problems =/
    > After first trying YasT2 to install VMWare, and that not working, I
    > tried using the method outlined on this page:
    > 'Install VMware server 2 in Suse / openSUSE 11 & USB support'
    > (http://opensuse.swerdna.org/susevmwareserver.html)
    > I can get to a certain point, starting most of the installation
    > process, and then I get this:
    >
    > What is the location of the directory of C header files that match your
    > running
    > kernel? [/usr/src/linux/include]
    >
    > (I hit enter)
    >
    > The path "/usr/src/linux/include" is a kernel header file directory,
    > but it
    > does not contain the file "linux/version.h" as expected. This can
    > happen if
    > the kernel has never been built, or if you have invoked the "make
    > mrproper"
    > command in your kernel directory. In any case, you may want to rebuild
    > your
    > kernel.
    >
    > What should I do? I patched the vmware-config.pl file with the text
    > file that I made and that seemed to work okay... so i'm not sure why
    > this is happening.
    >
    > I know there was another post on this similar issue, which I read, but
    > there didn't seem to be an answer to that, or the thread was forgotten
    > due to the large amount of threads here.
    >
    >


    Try to also install the 'linux-kernel-headers' package with Yast in
    addition to the packages mentioned in the article.

    --
    Christian

  6. #6

    Default Re: Can only half-install VMware... then get missing file

    Ok, so when I try to run the /etc/init.d/vboxdrv setup command I get this:

    /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel module done
    Recompiling VirtualBox kernel module failed
    (Look at /var/log/vbox-install.log to find out what went wrong)


    Looking at /var/log/vbox-install.log....

    Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.

    This seems kinda wierd seeing as VirtualBox shows as installed and I can open it currently... but just can't start a virtual machine without getting an error saying that I need to run /etc/init.d/vboxdrv setup

  7. #7
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Can only half-install VMware... then get missing file

    Please run this in a su terminal

    Code:
    zypper up kernel-source
    then try again the VB setup
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  8. #8

    Default Re: Can only half-install VMware... then get missing file

    hmmmm...

    So I tried that, and this is what it came back with:

    zypper up kernel-source
    Loading repository data...
    Reading installed packages...
    No update candidate for 'kernel-source'.
    Resolving package dependencies...
    Nothing to do.

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Can only half-install VMware... then get missing file

    please post result for

    Code:
    uname -a
    then

    Code:
    rpm -qi kernel-source
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10

    Default Re: Can only half-install VMware... then get missing file

    uname -r
    2.6.27.7-9-pae


    uname -a
    Linux linux-td1h 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux


    rpm -qi kernel-source
    Name : kernel-source Relocations: /usr/src
    Version : 2.6.27.29 Vendor: openSUSE
    Release : 0.1.1 Build Date: Sun 16 Aug 2009 04:13:52 AM MDT
    Install Date: Sun 04 Oct 2009 02:35:33 PM MDT Build Host: rinck
    Group : Development/Sources Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
    Size : 309251954 License: GPL v2 only
    Signature : RSA/8, Sun 16 Aug 2009 04:27:25 AM MDT, Key ID b88b2fd43dbdc284
    Packager : Submitting Bug Reports - openSUSE
    URL : The Linux Kernel Archives
    Summary : The Linux Kernel Sources
    Description :
    Linux kernel sources with many fixes and improvements.



    Authors:
    --------
    Linus Torvalds <torvalds@osdl.org>

    see /usr/src/linux/CREDITS for more details.

    Source Timestamp: 2009-08-15 17:53:59 +0200
    GIT Revision: 8a413546901c407e96f7fba18574cceeb40452af
    GIT Branch: SLE11_BRANCH
    Distribution: openSUSE 11.1

Page 1 of 3 123 LastLast

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
  •