LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   VmWare-Player install (http://www.linuxquestions.org/questions/slackware-14/vmware-player-install-529023/)

fullgore 02-14-2007 11:10 AM

VmWare-Player install
 
At my slack11 I tried to install the vmware-player 1.0.3 with vmware-install.pl script but the second question is asking about the directory that contains the ini scripts but the script does not accept the /etc/rc.d/ directory because the script is looking for any ini script called rc0.d to rc6.d.

Clues???

echowarpt 02-14-2007 12:26 PM

If I remember correctly I just created those directories for the install, then moved the resulting rc.vmware script (might be called something different) into /etc/rc.d

acummings 02-14-2007 01:24 PM

http://www.cs.ucr.edu/~jbyrne/vmware.htm

That howto is similar to the answers to this same question that are located in the vmware forums at the vmware web site. (lot of Slackware info used to be likely still is at user forums of vmware web site).

--
Alan.

thekid 03-05-2007 09:15 AM

Can anyone tell me what this means and how to fix it? I performed the steps exactly as the above posted HOWTO stated. I am running kernel 2.6.20.1, which I compiled myself. Thanks!

Code:

root@keith:/usr/local/bin# ./vmware-config.pl --compile
Making sure services for VMware Player 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]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

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

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.20.1/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.20.1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/home/keith/downloads/kernels/linux-2.6.20.1'
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:80:
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: error: syntax error before "compat_exit"
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to `int' in declaration of `_syscall1'
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: function declaration isn't a prototype
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: '_syscall1' declared `static' but never defined
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 `/home/keith/downloads/kernels/linux-2.6.20.1'
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.


acummings 03-05-2007 06:22 PM

I'm not certain. But (for whatever reason) it could not build a needed kernel module.

You're running a late kernel. It used to be that in such a case, a patch is needed which allows vmware to run with such kernel.

Mentioned patch used to be found for download on vmware help/support www forums, such patch shared there by a developer.

I'd check at those forums and vmware to see specifically which kernels are supported. If your kernel is too new then you'll need something (patch) otherwise the police inside will not allow to go on unsupported kernel.

In the past, I had to do just such a patch (too new a 2.6.xx kernel back then) and it worked.

But it's been a while.

I'm looking forward to when I'll have the time to do it again with late 2.6 kernel.

So, if this is what you find -- or -- whatever you discover that remedies -- please post back here and share what worked as it'll help me keep up to date. Thanks.

--
Alan.

acummings 03-05-2007 06:32 PM

In file included from
/tmp/vmware-config2/vmmon-only/linux/driver.c:80:


Just after that line -- it appears the vmware module builder doesn't like the syntax that's in some of the (what is it kernel header) source code

So, I don't know what the answer is. But I'd try to check into whether yours is a supported kernel or not and if not then is there a patch to allow it to go.

--
Alan.

raska 03-05-2007 07:03 PM

Quote:

Originally Posted by thekid
Can anyone tell me what this means and how to fix it? I performed the steps exactly as the above posted HOWTO stated. I am running kernel 2.6.20.1, which I compiled myself. Thanks!...

You need to update your vmware install.
Download this one, unpack it. Run the runme.pl file in it. Let it run the vmware-config.pl thing when it finishes. It should work after that.

thekid 03-06-2007 12:37 PM

Quote:

Originally Posted by raska
You need to update your vmware install.
Download this one, unpack it. Run the runme.pl file in it. Let it run the vmware-config.pl thing when it finishes. It should work after that.

Thanks! This fixed the problem!

thekid 03-06-2007 12:52 PM

So besides those on the VMware homepage, are there any other "appliances" to be had?


All times are GMT -5. The time now is 05:55 PM.