DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I was wondering if anyone has had any successful experience getting Vmware Server 2.0 installed on Lenny? I am being asked to get this up and running and I know the Ubuntu tutorial works great but I can't find anything on Lenny. When I did a Google search, I only find Etch guides and I thought maybe they're the same but I was unable to find a critical package needed called 'build-essentials' via apt-get.
Does anyone know how I can get VMware Server 2.0 installed on Lenny and or what is required?
I am trying to do the same thing. I need to get VMWare 2 installed on Lenny. I just reinstalled Lenny so I have a fresh start. One of the problems I was running into is the installation would stop after it started asking for header files. I am new to Linux and am not sure what it is referring too. I have seen in other how too forms that you must install 'linux-headers-`uname -r`' and I have yet to get that to run.
I found the right command:
and got the source files to install. Now when I run the VMWare installer it makes it through that part of the install, but closes out right after that. I know its not complete because it did not ask if I want the VMs to reside in a special directory, which I do, and it never asked for the key.
If anyone has any insight, I would really appreciate it.
I used Midnight Commander to find the vmware-install.pl and just hit enter to run it. I believe I was running it correctly because it did say it was creating directories and files. I also saw the license agreement.
After it asks where the header files are I just pressed enter and it ran something really quick and went back to midnight commander. After, I cant find anything to start VMWare and like I said before, it never asked where I want the VMs to be stored or asked for the key.
None of the pre-built vmmon modules for VMware Server 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.
Your kernel was built with "gcc" version "4.1.3", while you are trying to use
"/usr/bin/gcc" version "4.3.2". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3.2" anyway? [no] yes
What is the location of the directory of C header files that match your running
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.26-1-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
/tmp/vmware-config0/vmmon-only/Makefile:106: *** Inappropriate build environment: you wanted to use gcc version 4.3.2 while kernel attempts to use gcc version 4.1.3.
/tmp/vmware-config0/vmmon-only/Makefile:108: *** For proper build you'll have to replace gcc-4.1 with symbolic link to /usr/bin/gcc. Stop.
make: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/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/go/unsup-linux-products" and
Thanks so much. That did the trick. If you don't mind, could you please explain what that did? I would like to get to the point where I am very good at troubleshooting linux fixing problems myself and things like this are nice to understand what the fix did.
basically your kernel was compiled using gcc-4.1 and your vmware compile was failing because it wanted to be compiled with the same version of gcc that was used to compile your the kernel. You can have more than one version of gcc installed at a time. the export command just set an environmental variable telling the system to use gcc-4.1 as the default compiler. that is not a permanent switch and can be changed at will. that temp change would also disappear if you were to reboot the system.
You would need this same trick to get the nVidia drivers to compile on your system at this time. (that's why I learned how to do it originally)