openSUSE Forums > Applications » Can only half-install VMware... then get missing file

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-Oct-2009, 23:43
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 12
ph33linz hasn't been rated much yet
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.
Reply With Quote
  #2 (permalink)  
Old 04-Oct-2009, 23:49
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,863
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
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
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #3 (permalink)  
Old 05-Oct-2009, 00:23
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 12
ph33linz hasn't been rated much yet
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
Reply With Quote
  #4 (permalink)  
Old 05-Oct-2009, 00:38
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,863
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
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!
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #5 (permalink)  
Old 05-Oct-2009, 02:04
Christian Riechers
Guest
 
Posts: n/a
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
Reply With Quote
  #6 (permalink)  
Old 06-Oct-2009, 00:45
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 12
ph33linz hasn't been rated much yet
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
Reply With Quote
  #7 (permalink)  
Old 06-Oct-2009, 00:50
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,863
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
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
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #8 (permalink)  
Old 06-Oct-2009, 01:41
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 12
ph33linz hasn't been rated much yet
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.
Reply With Quote
  #9 (permalink)  
Old 06-Oct-2009, 02:49
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,863
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Can only half-install VMware... then get missing file

please post result for

Code:
uname -a
then

Code:
rpm -qi kernel-source
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #10 (permalink)  
Old 07-Oct-2009, 00:30
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 12
ph33linz hasn't been rated much yet
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
Reply With Quote
Reply
Page 1 of 3 1 23

Bookmarks

Tags
fail, install, patch, vmware, vmware-config.pl


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2