LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-17-2007, 06:24 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,902

Rep: Reputation: 73
Installing VMWare on Lenny?


I was wondering if anyone has ever been able to install VMWare server on a Debian (testing) host? I have Debian Lenny at home and want to be able to load a virtual Linux machine to test and break applications w/o impacting my home machine 1st. Seems very logical however I went to VMWare's site and downloaded the latest version 1.0.3 and then extracted the tarball as seen below and from there I am very lost. I can't find much documentation on getting VMWare running on Debian so if anyone has any feedback or help, I would really appreciate it!

Code:
tunafish:/home/cwilliams/downloads/vmware-server-distrib# ls -l
total 368
drwxr-xr-x  2 cwilliams cwilliams   4096 2007-04-12 23:24 bin
drwxr-xr-x  2 cwilliams cwilliams   4096 2007-04-12 23:24 doc
drwxr-xr-x  3 cwilliams cwilliams   4096 2007-04-12 23:24 etc
-r--r--r--  1 cwilliams cwilliams 339962 2007-04-12 23:24 FILES
drwxr-xr-x  2 cwilliams cwilliams   4096 2007-04-12 23:24 installer
drwxr-xr-x 17 cwilliams cwilliams   4096 2007-04-12 23:24 lib
drwxr-xr-x  3 cwilliams cwilliams   4096 2007-04-12 23:24 man
drwxr-xr-x  2 cwilliams cwilliams   4096 2007-04-12 23:24 sbin
lrwxrwxrwx  1 cwilliams cwilliams     23 2007-07-17 19:15 vmware-install.pl -> bin/vmware-uninstall.pl
drwxr-xr-x  5 cwilliams cwilliams   4096 2007-04-12 23:24 vmware-vix
tunafish:/home/cwilliams/downloads/vmware-server-distrib# cd installer/
tunafish:/home/cwilliams/downloads/vmware-server-distrib/installer# ls
services.sh
tunafish:/home/cwilliams/downloads/vmware-server-distrib/installer# sh services.sh
services.sh: line 172: vmware_product_name: command not found
Warning: Unable to find 's main database /etc/vmware/locations.
PS - The README file that came in the tarball is super generic and refers me to a site that really just does not help.
 
Old 07-17-2007, 07:09 PM   #2
angryfirelord
Member
 
Registered: Dec 2005
Posts: 498

Rep: Reputation: 59
http://www.howtoforge.com/debian_etc...e_server_howto
You could also alien the rpms into debs and install it that way.
 
Old 07-18-2007, 02:50 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Make sure to have kernel source, issue command to start installation process:
Code:
./vmware-install.pl
 
Old 07-18-2007, 02:55 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
More info here:
http://www.linuxquestions.org/questi...d.php?t=570238
 
Old 07-18-2007, 12:50 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,902

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by angryfirelord
http://www.howtoforge.com/debian_etc...e_server_howto
You could also alien the rpms into debs and install it that way.
I got all the way through the guide until it said it had to build something based on the kernel and I knew that was going to be ugly.

Sure enough...

Code:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.21-2-686/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-2-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.21-2-686'
  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-headers-2.6.21-2-686'
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.
I made sure my kernel has the kernel headers and it does...

Code:
cwilliams:/tmp/vmware-server-distrib# apt-get install linux-headers-2.6.21-2-686
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-2.6.21-2-686 is already the newest version.
Any suggestions?
 
Old 07-18-2007, 01:56 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Although I downloaded the vmware-any-any-patch, I never had to use it. I googled your error and found this link:
http://www.go2linux.org/installing-v...rver-on-feisty
 
  


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
Lenny vs Etch kz_chopper Debian 3 07-14-2007 06:51 PM
Apt-get lenny? Bjorne Debian 7 05-17-2007 09:33 AM
etch upgrade to lenny StargateSteve Debian 8 04-12-2007 03:11 PM
hello Im lenny lenny123 Linux - Hardware 2 06-25-2006 08:04 PM
VMWare - Installing VMWare Tools Nightmare jerkmonkee Linux - Newbie 2 11-14-2004 05:52 PM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration