![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Virtualization For questions on VMWare, VirtualBox, Xen, QEMU and other virtualization software. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2008
Beans: 15
|
Error message when trying to install vmware server on kubuntu 8.04
I have just installed kubuntu 8.04 and trying to install vmware server 1.05 with "sudo ./vmware-install.pl". Before I ran this command I installed linux headers, build-essential, but I am getting the following error message (that vmmon module cannot be built.
Code:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.24-16-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:48:
/tmp/vmware-config2/vmmon-only/./include/vm_basic_types.h:161: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config2/vmmon-only/linux/driver.c:147: warning: initialisation from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:151: warning: initialisation from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config2/vmmon-only/linux/driver.c:1659: error: ‘struct mm_struct’ has no member named ‘dumpable’
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
Victor Warner. |
|
|
|
|
|
#2 |
|
Skinny Soy Caramel Ubuntu
![]() Join Date: Nov 2005
Location: flying a cubicle
Beans: 690
Ubuntu 9.04 Jaunty Jackalope
|
Re: Error message when trying to install vmware server on kubuntu 8.04
Have you already applied the 116 any-any patch?
http://www.bauer-power.net/2008/04/i...buntu-804.html |
|
|
|
|
|
#3 |
|
I Ubuntu, Therefore, I Am
![]() Join Date: Feb 2007
Location: Cameron Park CA USA
Beans: 3,465
Ubuntu 9.10 Karmic Koala
|
Re: Error message when trying to install vmware server on kubuntu 8.04
From:
http://ubuntuforums.org/showthread.php?t=770873 Installing VMWare Server in Hardy This is a cleaned up copy of the instructions for installing the VMWare Server from tar.gz found at http://ubuntuforums.org/showthread.php?t=613976 with a correction thanks to forrestallen. Since the Hardy Beta forums are now locked I thought it might be best to make a copy here to allow further discussion if needed. First install the packages needed by vmware. Code:
sudo apt-get install build-essential linux-headers-`uname -r` sudo apt-get install xinetd Code:
sudo apt-get install ia32-libs next download vmware server and expand it out somewhere Code:
tar -xvzf VMware-server-1.0.5-80187.tar.gz Code:
cd vmware-server-distrib sudo ./vmware-install.pl grab the any to any patch 116 from http://uruz.org/files/vmware-any-any-update-116.tgz Code:
wget http://uruz.org/files/vmware-any-any-update-116.tgz tar -xvzf vmware-any-any-update-116.tgz cd vmware-any-any-update116 sudo ./runme.pl Code:
sudo vmware-config.pl once installed I received an error trying to launch vmware so I cheated and copied the libraries over, which seems to have resolved that issue. Code:
sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0 For 64 bit users there is one additional step in order to allow vmware console to launch: Code:
sudo ln -s /usr/lib32 /usr/l32 sudo sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders sudo sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9 if you get an error like this at the end of the compile step: Code:
Unable to get the last modification timestamp of the destination file /etc/vmware/ssl/rui.key Code:
sudo touch /etc/vmware/ssl/rui.key sudo touch /etc/vmware/ssl/rui.crt Let us know how you are doing.
__________________
Regards, frank, at http://yantrayoga.typepad.com/noname/ Homebuilt Intel E8400 4.0GHz, 1.7TB raid5 | Dell laptop E1505n & Mini 10n | Shuttle AMD 64 3200+ VMware Player/Server w/ WinXP Guest runs Xara Xtreme Pro, Paint Shop Pro, and InDesign CS. |
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2008
Beans: 15
|
Re: Error message when trying to install vmware server on kubuntu 8.04
Following the suggestions worked. Thank you very much for the help.
Victor Warner. |
|
|
|
|
|
#5 |
|
I Ubuntu, Therefore, I Am
![]() Join Date: Feb 2007
Location: Cameron Park CA USA
Beans: 3,465
Ubuntu 9.10 Karmic Koala
|
Re: Error message when trying to install vmware server on kubuntu 8.04
It's amazing how many little details are required to get everything to work right. More needed to get USB support, eh?
It's a normal miracle to have virtualization and Linux work so well.
__________________
Regards, frank, at http://yantrayoga.typepad.com/noname/ Homebuilt Intel E8400 4.0GHz, 1.7TB raid5 | Dell laptop E1505n & Mini 10n | Shuttle AMD 64 3200+ VMware Player/Server w/ WinXP Guest runs Xara Xtreme Pro, Paint Shop Pro, and InDesign CS. |
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2007
Beans: 34
Ubuntu 7.10 Gutsy Gibbon
|
Re: Error message when trying to install vmware server on kubuntu 8.04
thanks a million for this! it worked beautifully!
|
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2007
Location: Lincoln, Nebraska
Beans: 20
Ubuntu Karmic Koala (testing)
|
Re: Error message when trying to install vmware server on kubuntu 8.04
Hello, thanks for the guide and clarification on the information that is floating around. I have completed the steps that you've listed and gotten this result at the end of runme.pl:
The configuration of VMware Server 1.0.5 build-80187 for Linux for this running kernel completed successfully. Now when I go to applications > Other > VMWare Server Console, the program appears to load in the task bar and after about 10-12 seconds disappears and does not load. Any advice? The output of runme.pl notes that the virtual machine monitor is loaded. Should I be able to use this gui? |
|
|
|
|
|
#8 | |
|
I Ubuntu, Therefore, I Am
![]() Join Date: Feb 2007
Location: Cameron Park CA USA
Beans: 3,465
Ubuntu 9.10 Karmic Koala
|
Re: Error message when trying to install vmware server on kubuntu 8.04
Quote:
See what happens. If that works, then try the GUI again. It should work from the GUI. That's the way to setup the guest.
__________________
Regards, frank, at http://yantrayoga.typepad.com/noname/ Homebuilt Intel E8400 4.0GHz, 1.7TB raid5 | Dell laptop E1505n & Mini 10n | Shuttle AMD 64 3200+ VMware Player/Server w/ WinXP Guest runs Xara Xtreme Pro, Paint Shop Pro, and InDesign CS. |
|
|
|
|
|
|
#9 |
|
Skinny Soy Caramel Ubuntu
![]() Join Date: Nov 2005
Location: flying a cubicle
Beans: 690
Ubuntu 9.04 Jaunty Jackalope
|
Re: Error message when trying to install vmware server on kubuntu 8.04
Did you already run these two commands?
Code:
sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0 |
|
|
|
|
|
#10 |
|
Skinny Soy Caramel Ubuntu
![]() Join Date: Nov 2005
Location: flying a cubicle
Beans: 690
Ubuntu 9.04 Jaunty Jackalope
|
Re: Error message when trying to install vmware server on kubuntu 8.04
[disregard this post, cause i can't find how to delete it]
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|