LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-25-2007, 11:12 AM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
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
 
Old 07-25-2007, 12:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
what are the "ideas" you're after? there's no reason vmware won't work under slackware per se.
 
Old 07-25-2007, 01:03 PM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
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
 
Old 07-25-2007, 01:28 PM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.
 
Old 07-29-2007, 12:57 PM   #5
pioniere
Member
 
Registered: Dec 2002
Location: Vancouver Island, Canada
Distribution: Slackware
Posts: 46
Blog Entries: 1

Rep: Reputation: 15
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!
 
Old 07-29-2007, 04:59 PM   #6
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
really? you got that error? i was about to install vmware also in my sw12 this week.. but i will try my luck first
 
Old 07-30-2007, 02:41 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.
 
Old 08-02-2007, 04:20 AM   #8
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
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 ?
 
Old 08-02-2007, 05:12 AM   #9
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
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#
 
Old 08-02-2007, 05:15 AM   #10
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
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
 
Old 08-02-2007, 05:33 AM   #11
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.
 
Old 08-02-2007, 05:46 AM   #12
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34

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.

 
Old 08-02-2007, 05:53 AM   #13
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
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

Last edited by ic_torres; 08-02-2007 at 06:11 AM.
 
Old 08-02-2007, 06:22 AM   #14
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
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#
 
Old 08-02-2007, 06:35 AM   #15
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Slackware 12 on VMWARE blacklabelrum Slackware 8 08-03-2007 07:14 PM
Installing vmware on Slackware 12 Mig21 Slackware 2 07-05-2007 04:21 AM
Installing slackware 10.0 through VMWare AglaSyS Linux - Newbie 3 09-05-2004 09:02 PM
Installing Slackware 9.0 in VMWare egh128 Slackware 4 09-01-2003 12:48 AM
Error installing VMWare on Slackware Foxypeaches Slackware 3 03-06-2003 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration