LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 04-27-2010, 10:30 AM   #1
lunitix
LQ Newbie
 
Registered: Apr 2010
Distribution: Debian
Posts: 16

Rep: Reputation: 2
Cannot install Vmware server on debian 64bit


Hello everybody,

I am trying to set up vmware server 2 to a debian system and I am getting the following error while running vmware-install.pl :

vmware-install.pl: 8: use: not found
vmware-install.pl: 17: use: not found
vmware-install.pl: 18: no: not found
vmware-install.pl: 21: my: not found
vmware-install.pl: 23: my: not found
vmware-install.pl: 25: Syntax error: "(" unexpected


Any ideas what might be wrong ?
Also the system has already vmplayer installed .

Thank you

Last edited by lunitix; 04-30-2010 at 05:43 AM. Reason: solved
 
Old 04-27-2010, 10:56 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Did you open vmware-install.pl on windows at all ? .. might be the old <CR><LF> issue
 
Old 04-28-2010, 04:02 AM   #3
lunitix
LQ Newbie
 
Registered: Apr 2010
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 2
Not sure what you mean but apparently these errors are kind of bogus ...
Meaning that yesterday I tried again to run vmware-install.pl and it gave me different error about modules already existing or something .So I uninstalled vmware-player and run it again .

It seems it got installed but it now gives other errors similar to the situation described here :
http://blog.tuinslak.org/2010/03/vmw...kernel-2-6-33/

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

new Error (while running vmware-config.pl:

The path "/usr/src/linux/include" is a kernel header file directory, but it
does not contain the file "linux/autoconf.h" as expected. This can happen if
the kernel has never been built, or if you have invoked the "make mrproper"
command in your kernel directory. In any case, you may want to rebuild your
kernel.




It looks like a kernel thing. I have a custom build kernel as:

# uname -r
2.6.33.1

# ls /usr/src
linux
linux-2.6.33.1
linux-headers-2.6.33.1

And I say that the first errors are kinda bogus because is you run again vmware-install.pl it now gives them again .It has to be because it conflicts with things already installed (?) probably.

Thank you

Last edited by lunitix; 04-28-2010 at 04:07 AM.
 
Old 04-28-2010, 10:04 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Bit tricky with you having a custom kernel, the VMware setup is trying to compile it's modules - usually you would install kernel-devel and all would be ok.

Try finding 'autoconf.h', maybe it will be under /usr/src/linux-2.6.33.1/include ...
 
Old 04-29-2010, 03:46 AM   #5
lunitix
LQ Newbie
 
Registered: Apr 2010
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 2
here's were it is
/usr/src$ find ./ -name "autoconf.h" -print

./linux-headers-2.6.33.1/include/generated/autoconf.h
./linux-2.6.33.1/debian/linux-headers-2.6.33.1/usr/src/linux-headers-2.6.33.1/include/generated/autoconf.h
./linux-2.6.33.1/include/generated/autoconf.h

but what to do next ?

Thank you !
 
Old 04-29-2010, 08:54 AM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
I'm not sure... none of those directories look correct. The path to mine is as follows:

/usr/src/kernels/2.6.31.5-127.fc12.i686/include/linux/autoconf.h

so the path I tell VMware is:

/usr/src/kernels/2.6.31.5-127.fc12.i686/include

Somehow you need to regenerate/rebuild you kernel headers so they appear in a similar structure, sorry.. I won't be any help as I haven't built a custom kernel in over 10 years
 
Old 04-30-2010, 05:20 AM   #7
lunitix
LQ Newbie
 
Registered: Apr 2010
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 2
Well this part got fixed rather simply .I found somewhere (can recall the page exactly ) that you can simply softlink the location of the autoconf.h file because vmware installer looks it elsewhere.

Inside /usr/src/linux-2.6.33.1/include/linux I did

# ln -s ../generated/autoconf.h .

and I got passed the previous error ...

Anyway I managed to get it installed !

I looked more closely again to the blog mentioned earlier and used the script described there and found here:

http://radu.cotescu.com/2010/01/19/h...dora-opensuse/

Great job from Radu Cotescu and many thanks !


Anyway it is the smae story each time with vmware products ...Personally I have turned to VirtualBox since a couple of years already for many reasons ...one of which I could not accept going all over again the same path each time to get vmware products installed (looking for files in the wrong path , vmware-any-any to get it installed and a lot more ) .I had to look again into vmware because unfortunately a custom Redhat machine (old kernel) from a Vendor solution could not "see" the memory assigned to it in VirtualBox ...


Thank you for your time and help @kbp

Cheers !
 
Old 04-30-2010, 05:42 AM   #8
lunitix
LQ Newbie
 
Registered: Apr 2010
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 2
And a newbie question How do I changed the title of the trhead to Solved ?


....ah never mind I found it ....the advanced option in edit ....lol

Last edited by lunitix; 04-30-2010 at 05:44 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VmWare 7 64bit install / remove problem ripp3r Slackware 15 04-27-2010 03:17 PM
LXer: How To Install VMware Server 1.0.x On A Debian Lenny Desktop LXer Syndicated Linux News 0 03-25-2009 08:30 PM
LXer: How To Install VMware Server On Debian 4.0 (Etch) LXer Syndicated Linux News 0 04-26-2007 10:46 PM
Problems installing VMWare Server on CentOS 4.3 64bit shawn_t Linux - Server 3 11-27-2006 06:21 PM
LXer: How To Install VMware Server On Debian Sarge LXer Syndicated Linux News 0 11-01-2006 06:54 PM


All times are GMT -5. The time now is 01:45 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