LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing VMWARE on slackware (https://www.linuxquestions.org/questions/linux-newbie-8/installing-vmware-on-slackware-572189/)

ic_torres 07-25-2007 11:12 AM

installing VMWARE on slackware
 
hello group just wanted to ask. .

i found this site : http://www.cs.ucr.edu/~jbyrne/vmware.htm

any ideas? i am planning to install my downloaded vmware in my slack12.0 BTW, the vmware came from :

www.register.vmware.com

acid_kewpie 07-25-2007 12:45 PM

what are the "ideas" you're after? there's no reason vmware won't work under slackware per se.

ic_torres 07-25-2007 01:03 PM

Quote:

Originally Posted by acid_kewpie
what are the "ideas" you're after? there's no reason vmware won't work under slackware per se.

sir im just asking if the site regarding vmware i posted will work? thanks :)

pwc101 07-25-2007 01:28 PM

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).

I just installed it yesterday, and it works fine.

pioniere 07-29-2007 12:57 PM

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! :Pengy:

ic_torres 07-29-2007 04:59 PM

really? you got that error? i was about to install vmware also in my sw12 this week.. but i will try my luck first :D

pwc101 07-30-2007 02:41 AM

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.

ic_torres 08-02-2007 04:20 AM

hi guys. . is there something wrong here? i just FOLLOWED THE ABOVE SITE I POSTED ON MY FIRST INQUIRY:

Quote:

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin] /etc/init.d/

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d] /etc

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/etc/sbin]

The path "/etc/sbin" does not exist currently. This program is going to create
it, including needed parent directories. Is this what you want? [yes] yes

In which directory do you want to install the library files?
[/etc/lib/vmware]

The path "/etc/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/etc/man]

The path "/etc/man" does not exist currently. This program is going to create
it, including needed parent directories. Is this what you want? [yes]

In which directory do you want to install the documentation files?
[/etc/doc/vmware]

The path "/etc/doc/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

Unable to get the access rights of source file "./vmware-vix/bin".

Execution aborted.

root@darkstar:/home/icey/vmware-server-distrib# ls -l vmware-vix/
total 0
drwxr-xr-x 2 root root 88 2007-04-13 11:24 doc/
drwxr-xr-x 2 root root 104 2007-04-13 11:24 include/
drwxr-xr-x 2 root root 160 2007-04-13 11:24 lib/
root@darkstar:/home/icey/vmware-server-distrib#

root@darkstar:/home/icey/vmware-server-distrib# ls
FILES bin/ doc/ etc/ installer/ lib/ man/ sbin/ vmware-install.pl@ vmware-vix/
root@darkstar:/home/icey/vmware-server-distrib#




where have i gone wrong here ? :(

ic_torres 08-02-2007 05:12 AM

3rd ATTEMPT

Quote:

root@darkstar:/home/icey/vmware-server-distrib# ./vmware-install.pl
A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Server.

inetd: no process killed
Stopping VMware services:
Virtual machine monitor done

The removal of VMware Server 1.0.3 build-44356 for Linux completed
successfully. Thank you for having tried this software.

Installing the content of the package.

In which directory do you want to install the binary files?
[/etc/init.d]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc] /etc/rc.d

What is the directory that contains the init scripts?
[/etc/init.d] /etc/rc.d


In which directory do you want to install the daemon files?
[/etc/sbin]

The path "/etc/sbin" does not exist currently. This program is going to create
it, including needed parent directories. Is this what you want? [yes]

In which directory do you want to install the library files?
[/etc/lib/vmware]

The path "/etc/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/etc/man]

The path "/etc/man" does not exist currently. This program is going to create
it, including needed parent directories. Is this what you want? [yes]

In which directory do you want to install the documentation files?
[/etc/doc/vmware]

The path "/etc/doc/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

Unable to get the access rights of source file "./vmware-vix/bin".

Execution aborted.

root@darkstar:/home/icey/vmware-server-distrib#


ic_torres 08-02-2007 05:15 AM

Quote:

Originally Posted by pwc101
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).

as the bold text in my 3rd attempt post .. i followed your suggestion BUT still. . it does not continue

pwc101 08-02-2007 05:33 AM

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.

/etc is *not* for binaries. From the Filesystem Hierarchy Standard:
Quote:

No binaries may be located under /etc.
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.

ic_torres 08-02-2007 05:46 AM


this is the FIRST ATTEMPT. .. so meaning the DEFAULT directory was to be FOLLOWED?


Quote:

In which directory do you want to install the binary files?
[/usr/bin]
/etc/init.d/

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
/etc

What is the directory that contains the init scripts? -- should have answred /etc/rc.d RIGHT?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/etc/sbin]

The path "/etc/sbin" does not exist currently. This program is going to create
it, including needed parent directories. Is this what you want? [yes] yes

In which directory do you want to install the library files?
[/etc/lib/vmware]

The path "/etc/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/etc/man]

The path "/etc/man" does not exist currently. This program is going to create
it, including needed parent directories. Is this what you want? [yes]

In which directory do you want to install the documentation files?
[/etc/doc/vmware]

The path "/etc/doc/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

Unable to get the access rights of source file "./vmware-vix/bin".

Execution aborted.



ic_torres 08-02-2007 05:53 AM

i will have another try

GOT THE SAME ERROR :

Quote:

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-config0/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-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or '...' before 'compat_exit'
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or '...' before 'exit_code'
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to 'int' in declaration of '_syscall1'
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/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-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/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

root@darkstar:/home/icey/vmware-server-distrib#


i am now downloading anyupdate113.tar.gz . .. il update my post asap

ic_torres 08-02-2007 06:22 AM

these were the last lines of my updates

Quote:

Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Installing the VMware VmPerl Scripting API.

The installation of the VMware VmPerl Scripting API succeeded.

Unable to copy the source file /etc/vmware/pam.d/vmware-authd to the
destination file /etc/pam.d/vmware-authd.

Execution aborted.

root@darkstar:/home/icey/vmware-any-any-update113#


pwc101 08-02-2007 06:35 AM

Yeah, I got that too I think. You just need to make the directory /etc/pam.d/, and then re-run the install script.


All times are GMT -5. The time now is 06:48 PM.