Debian Lenny + VMware Server 2

I can get it (vmware) to compile (on debian lenny) without vmon using the two export workarounds(ie export CC=). Can't connect to the server with anything other than a browser. Maybe I am out of touch with VMware but I am hoping to use the client server management application and I am assuming vmon not compiling is the problem (based on the error message). From what I have read I take it is some type of kernel problem in which a method is missing or something like that. So I can only connect to vmware server with firefox... which I am not diggin all that much. It is working spotty for me.

I looked at the current supported host list on the vmware site and debian is not listed so I decided to give suse a try. Suse is a painful transition. The footprint of my host system just multiplied by some unspecified factor in both space and resource use. Since I had to install a desktop using the suse install image I downloaded I figured I might as well install a vnc server. So now I am sitting here trying to figure out what package dependencies are required for fluxbox (have installed binutils gcc make xorg-x11 XFree86-devel xlibs-dev x-window-system-dev x11-devel gcc-c++ libstdc++.... and I am still missing a required x window systel library and header). I haven't gotten to vmware on suse yet so I don't even want to think about the problems I will run into there.

Anyway I would love a lenny + vmware 2 guide if it is possible to use the vmware server console or newer version of it (can't recall what newer version is called now). Then I can get back to a small console only host footprint and be in my nice cozy familiar debian console only environment and stop pulling my hair out over suse.

I actually tried the one you linked first but it still did not compile and I needed the GXX=.

It also appears I am slightly out of touch with VMware as the server console is kind of depreciated but you can still use their other tools to manage a vmware server without using the browser with a good install.

It might be that getting this to compile is not doable but in my experience... anything is possible with linux.

Since some of my info was spotty I did a clean install of lenny to cut and paste the exact error. I was wrong when i cited the vmmon module. It is named vsock. It will not compile whether I use a symlink or export CC= methods. Everything else does compile. Some of what I have read is on this so far is a little beyond my linux skill level with regards to kernel specific methods. Can this be solved or not to use VM Infastructure Client or are we limited to the browser based management?

Here it is:

None of the pre-built vsock modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vsock module for
your system (you need to have a C compiler installed on your system)? [yes]

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host. The rest of this software provided by VMware Server is designed to work
independently of this feature. If you wish to have the VSOCK feature you can
install the driver by running vmware-config.pl again after making sure that
gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution's
installation CD.
[ Press the Enter key to continue.]

Actually what the vsock is affecting is my bridge networking. Which makes sense now as I re-read the error message again and re-familiarize myself with vmware. I am now recalling external networking issues with version 1 and the any-any patch but I don't know if that will work with version 2.

Now that I have become familiar with the web interface it's ok. Not a fast performer though. Sometimes it takes quite a while to populate the page or read a directory from the datastore.

So with all of the modules but vsock I can load a virtual machine, power it up, but no bridged networking.

I also tried the symlink method in falko's tutorial and it did not compile vsock using that method either.

The only thing I have on this box is a basic debian lenny install, openssh server, and vmware.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

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-4.1". 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.26-1-486/build/include]

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.

It seems i will need to scrap debian as the host os. Does anyone have a suggestion on a supported host os on the vmware list that will have a small footprint?

and I am using vmware server 2 file:
VMware-server-2.0.0-122956.i386.tar.gz

which I am assuming is version 122956

I posted the note about tools because I was going to use the ISP Config appliance and in order to get tools to compile on the guest os it will also need to be patched the same way the server is patched.