Re: VMWare package
>There are 2 potential "gotchas" that I'm aware of...
You are exactly right! Read on....
> 1) The kernel headers need to *exactly* match your running kernel. If
> your using a distribution kernel, there should be a matching
> kernel-headers-* package that you can install. If you compile your
> own, be sure to hang onto the headers after building. The easiest way
> to do this is to use make-kpkg, and have it generate a kernel-headers
> package for you.
I have a Debian 3.0 install with the 2.4.18-bf2.4 kernel and I just did an
apt-get install kernel-headers-2.4.18-bf2.4 then did an ln -s to make:
linux -> kernel-headers-2.4.18-bf2.4
So I tell the vmware script that my kernel headers are in
/usr/src/linux/include Is that right?
> 2) The VMware modules must be built using the same GCC version as the
> kernel. In practice, this probably only affects unstable at the
> moment, due to the GCC 3.2 transition.
This is where I am clueless. Vmware install script says this:
------------------------
Setup is unable to find the "make" program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by
hand? [yes]
What is the location of the "make" program on your machine?
--------------------------
I say it is in /usr/bin/gcc but the install fails.
This is what dpkg -l shows for gcc:
ii gcc 2.95.4-14 The GNU C compiler.
ii gcc-2.95 2.95.4-11woody1 The GNU C compiler.
ii gcc-3.0-base 3.0.4-7 The GNU Compiler Collection (base package).
I remember last week doing and apt-get gcc something, but I was frustrated
and just grabbing anything which just makes it worse.
Here is my embarassing failure:
Building the vmmon module.
gcc: auto-build: No such file or directory
gcc: HEADER_DIR=/usr/src/linux/include: No such file or directory
gcc: CC=/usr/bin/gcc: No such file or directory
gcc: GREP=grep: No such file or directory
Unable to build the vmmon module.
Here is my /usr/src/linux/include:
steelhead:/usr/src/linux/include# ls -al
total 112
drwxr-xr-x 25 root root 4096 Feb 10 20:36 .
drwxr-xr-x 3 root root 4096 Feb 10 20:36 ..
lrwxrwxrwx 1 root root 8 Feb 12 18:35 asm -> asm-i386
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-alpha
drwxr-xr-x 19 root root 4096 Feb 10 20:36 asm-arm
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-cris
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-generic
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-i386
drwxr-xr-x 3 root root 4096 Feb 10 20:36 asm-ia64
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-m68k
drwxr-xr-x 12 root root 4096 Feb 10 20:36 asm-mips
drwxr-xr-x 9 root root 4096 Feb 10 20:36 asm-mips64
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-parisc
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-ppc
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-s390
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-s390x
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-sh
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-sparc
drwxr-xr-x 2 root root 4096 Feb 10 20:36 asm-sparc64
drwxr-xr-x 270 root root 8192 Feb 10 20:36 config
drwxr-xr-x 12 root root 12288 Feb 10 20:36 linux
drwxr-xr-x 2 root root 4096 Feb 10 20:36 math-emu
drwxr-xr-x 4 root root 4096 Feb 10 20:36 net
drwxr-xr-x 2 root root 4096 Feb 10 20:36 pcmcia
drwxr-xr-x 2 root root 4096 Feb 10 20:36 scsi
drwxr-xr-x 2 root root 4096 Feb 10 20:36 video
steelhead:/usr/src/linux/include#
Thanks for any tips!
Reply to: