Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!

Notices

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.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

You don't need to do what it says on that site. Just download the .tar.gz, unpack it, and run the install script (vmware-install.pl) as root, and then follow the instructions. If you're kernel is 2.6.21.5, then you'll probably also need vmware-any-any-update112.tar.gz from http://platan.vc.cvut.cz/ftp/pub/vmware/

Pay attention during the setup to make sure you point the installer to the correct directory for the rc.0-rc.6 directories (/etc/rc.d) and the init scripts themselves (also /etc/rc.d).

Hello pwc101, I also have Slackware 12.0, and tried installing VMWare Server today, following the guidelines you suggest. When I ran vm-config.pl, this happened:

Code:

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.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.21.5-smp/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-config3/vmmon-only'
make -C /lib/modules/2.6.21.5-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.21.5'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:80:
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or '...' before 'compat_exit'
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or '...' before 'exit_code'
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to 'int' in declaration of '_syscall1'
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/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.

According to your post, yours went flawlessly. Can you tell me what I am doing wrong, or make any suggestions as to how to fix it? Even better, maybe you could write a brief 'how-to' for Slackware users. Thanks!

I think you need to download the vmware-any-any-update112.tar.gz patch for newer kernels from here: http://platan.vc.cvut.cz/ftp/pub/vmware/. If I remember correctly, you extract that archive, and run another .pl script as root, and it patches the partially installed vmware, and then you can rerun the vmware setup to build the kernel modules.

I don't know why you're trying to install everything into /etc. The only thing I changed during setup was the path to the "What is the directory that contains the init scripts?" question to /etc/rc.d. The rest was pretty much the defaults.

I don't know how you've ended up with all your answers being preceded by /etc (/etc/sbin, /etc/lib/vmware, /etc/man, /etc/doc/vmware), but that's not how it was for me. I think you may have to input paths manually now. But whatever you do, you don't want the binaries in /etc.

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.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.21.5-smp/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".