LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-25-2007, 10:46 AM   #1
skylimit
Member
 
Registered: Nov 2006
Location: England
Distribution: Slackware, Ubuntu feisty
Posts: 41

Rep: Reputation: 15
Running vmware server on WINE


Hello guys,


Just wondering if anyone's got vmware running on WINE as I've had no success getting it to work at the moment.

Thanks for any replies.

ps. if so how? I successfully installed it the normal way you install a .exe program in windows. On clicking it, it shows 'starting' then disappears.

Last edited by skylimit; 11-25-2007 at 10:48 AM.
 
Old 11-25-2007, 10:49 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Why not just use the native Linux version of vmware server?
 
Old 11-25-2007, 12:40 PM   #3
skylimit
Member
 
Registered: Nov 2006
Location: England
Distribution: Slackware, Ubuntu feisty
Posts: 41

Original Poster
Rep: Reputation: 15
vmware server wont install after running vmware-config.pl script

I have tried installing the native version but always get stuck at a particular point. Basically when I run the vmware-config.pl script I get to a point where it says:

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

At this point I accept the default path above but then get this:

"The path /usr/src/linux/include is an existing directory, but does not contain a linux subdirectory as expected".

Anyone know how to fix this problem please?

thanks in advance!
 
Old 11-25-2007, 07:31 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Do you have the kernel source packages installed which are needed? What distro are you trying to install on? Don't waste your time with Wine and then VMware, fix a simple problem instead of creating bigger hula hoop to jump through to get something so trivial fixed.

You may also need the vmware-any-any patch as well. The most recent is this one: http://knihovny.cvut.cz/ftp/pub/vmwa...date114.tar.gz

You can browse to http://knihovny.cvut.cz/ftp/pub/vmware/ and look for the package listed that is like vmware-any-any-updateXXX.tar.gz where XXX is the most recent number.
 
Old 11-26-2007, 01:09 PM   #5
skylimit
Member
 
Registered: Nov 2006
Location: England
Distribution: Slackware, Ubuntu feisty
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks but I've installed vmware-any-any.....and when I try to run the 'runme.pl' script it prompts me to run the vmware-config.pl script first. This brings me back to same problem of /usr/src/include/linux path not found.

Is there a way around this please?
Thanks

ps. I'm trying to do this on Ubuntu Feisty.

Last edited by skylimit; 11-26-2007 at 01:11 PM.
 
Old 11-26-2007, 01:23 PM   #6
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
Well, I've installed the VMware many times in Redhat boxes and never got any trouble.

I think you should read the software documentation, maybe you can find something related to this error message.
 
Old 11-26-2007, 02:17 PM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Perhaps this howto will be of some use? There may be a step you've inadvertently omitted.

http://www.howtoforge.com/ubuntu_fei...e_server_howto

edit: perhaps this is the problem and its solution:
Quote:
Originally Posted by the_howto
Note: As of right now VMware Server won't compile correctly on Feisty without patching the vmmon file.

Patch information can be found here: http://www.vmware.com/community/thre...76957&tstart=0

The patch can be downloaded here: http://ftp.cvut.cz/vmware/vmware-any...date109.tar.gz

Last edited by pwc101; 11-26-2007 at 02:18 PM.
 
Old 11-26-2007, 05:18 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by skylimit View Post
Thanks but I've installed vmware-any-any.....and when I try to run the 'runme.pl' script it prompts me to run the vmware-config.pl script first. This brings me back to same problem of /usr/src/include/linux path not found.

Is there a way around this please?
Thanks

ps. I'm trying to do this on Ubuntu Feisty.
Run vmware-install.pl, when it asks to run the vmware-config.pl, answer no, apply the any-any patch by running the runme.pl script, during this, it should prompt to run the vmware-config.pl, say yes.

And were assuming you have the kernel headers installed which are needed to run VMware?

Last edited by trickykid; 11-26-2007 at 05:22 PM.
 
Old 11-27-2007, 02:04 PM   #9
skylimit
Member
 
Registered: Nov 2006
Location: England
Distribution: Slackware, Ubuntu feisty
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks guys I followed the link pasted by pc101 (http://www.howtoforge.com/ubuntu_fei...e_server_howto) but still no success.


Below is what I get during install:

Code:
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.20-16-386/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-386'
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
/tmp/vmware-config3/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]’:
/tmp/vmware-config3/vmmon-only/common/task_compat.h:2491: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function
/tmp/vmware-config3/vmmon-only/common/task_compat.h:2492: warning: ‘sysenterState
Then when I try running the vmserver I get this:

Code:
britten@brutforce:~/Desktop/vmware-any-any-update114$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
britten@brutforce:~/Desktop/vmware-any-any-update114$
Any help appreciated.
many thanks

ps. It also says :"This module loads perfectly" and stuff but I still cant figure out why it's not working..

Last edited by skylimit; 11-27-2007 at 02:06 PM.
 
Old 11-27-2007, 08:01 PM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Y'know, that concept ... of "VMWare" running on "Wine" ... just don't make no sense!

You see, VMWare is a tool that is designed to emulate hardware. In other words, its job is to make "an operating system," such as Windows or Linux or whatever, "think it's really running on 'real' hardware." VMWare expects you to have an actual copy of that operating system to run on that "hardware."

On the other hand, Wine is a tool that is designed to make a Windows application-program believe that it is running under the Microsoft Windows environment ... by making all of the "system calls" that such a program expects to issue, actually work like they are supposed to. Wine tries to make a "Windows" program run correctly even though an actual copy of "the Windows operating system" is nowhere to be found.

Apples and oranges, my good human...
 
Old 11-28-2007, 01:44 AM   #11
skylimit
Member
 
Registered: Nov 2006
Location: England
Distribution: Slackware, Ubuntu feisty
Posts: 41

Original Poster
Rep: Reputation: 15
thanks for the reply sundial but my recent post should have shown that I've deviated from the "vmware on WINE" concept. I'm now trying to install vmware server on Ubuntu Feisty..

any help please?

Thanks
 
Old 11-28-2007, 07:55 AM   #12
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Building for VMware Server 1.0.0.
Perhaps you should download the latest version, they're actually on 1.0.4 now.

Quote:
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
Looks to me like your missing some dependencies or versions not compatible, like libpng or libcairo or both.
 
  


Reply



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
problems running ms server 03 in vmware server fakie_flip General 3 10-31-2007 03:16 PM
Running VMware Server on Windows XP, Guest OS is Debian. Problems! PiLLeN Linux - General 1 09-04-2006 07:58 PM
Running VMware Server on Windows XP, Guest OS is Debian. Problems! PiLLeN General 1 09-04-2006 05:10 PM
VMWARE server on Linux running windows XP statyk Linux - Software 2 09-04-2006 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:29 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
Open Source Consulting | Domain Registration