LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Virtual PC for linux (https://www.linuxquestions.org/questions/linux-software-2/virtual-pc-for-linux-251805/)

didi86 11-06-2004 10:52 AM

Virtual PC for linux - Problem with VMware-installation
 
Does anybody know of a software, you can use to emulate a second PC on linux? I'm looking for something like Microsoft Virtual PC 2004 for linux...

If there is a program like that, I could install Windows on it and use it to run programs that aren't ported to linux.....

XavierP 11-06-2004 11:01 AM

VMWare - this is asked an awful lot on LQ....... It's not free though, there is a cost.

leadazide 11-06-2004 11:05 AM

there's another emulator - Bochs - http://bochs.sf.net

it's free, but much slower than VMware

proudclod 11-06-2004 11:50 AM

Of course, outside of the emalator sphere, Wine, Cedega and Crossover are the holy trinity that will let you run lots of windows programs on linux.

Tinkster 11-06-2004 01:59 PM

http://fabrice.bellard.free.fr/qemu/

imho much better than bochs. Doesn't quite compare
to VMWare, but for a "gifted horse" :}


Cheers,
Tink

didi86 11-09-2004 09:25 AM

I finally managed to get VMware. Only that it doesen't start on my SuSE 9.1 64-Bit... When I try to run it, I get the Message
Quote:

VMware Workstation is installed, but it has not been (correctly) configured for your running kernel. To (re-) configure it, your system administrator must find and run "vmware-config.pl". For more information, please read the VMware Workstation documentation

When I try to run vmware-config.pl here is what I keep getting:
Quote:

DIDI-LINUX:~ # vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor done

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation 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? [/usr/src/linux-2.6.5-7.111/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 /usr/src/linux-2.6.5-7.111/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.111'
Makefile:438: .config: No such file or directory

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.111/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
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.5-7.111'
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.

Tinkster 11-09-2004 11:25 AM

And, did you follow the scripts great advise?

http://www.vmware.com/support/refere...les_linux.html


Cheers,
Tink

didi86 11-09-2004 03:30 PM

I did. It didn't get me any further though

didi86 11-10-2004 09:38 AM

Does anybody have an idea what these error messages mean???

medvedm 11-19-2004 07:47 PM

I was wondering if you ever resolved this problem? Not to mention, I have the exactly same problem.
M.

didi86 11-20-2004 04:13 AM

I haven't resolved it yet. It does run on my Laptop (SuSE 9.1 32-Bit), but I couldn't get it to run on my PC (SuSE 9.1 64-Bit) yet.

crazibri 11-25-2004 10:27 AM

Hey, try using Wine. I've been able to run Winzip, Adobe, AOL Communicator, mIRC, IE6, and more using it. See if that helps you any?

medvedm 11-26-2004 08:33 AM

I actually found the solution in another forum. Basically, you cd to the appropriate directory (/usr/bin/and the appropriate linux directory) and then run
make cloneconfig and make
As far as I understand, this will create the appropriate .config file and all appropriate objects. You also need to make sure that you have the kernel sources installed...The same thing works with Suse 9.2

Coproscefalo 11-26-2004 01:56 PM

Hi there !!!

Yes the solution given by medvedm is correct (but a bit slow because you will be building a new kernel), if you want to do this just do:

Code:

cd /usr/src/linux && make cloneconfig && make
However, since you just want to build the vmmon and vmnet modules for VMware.

1.- Go to the "/usr/src" directory and then you should find a folder called "linux-obj"
2.- Enter that folder and you should find a new folder depending your kernel architecture (in my case "i386")
3.- Then you should find another folder containing the kernel build type (in my case "default")
4.- And finally a folder called "scripts," just copy all the binaries to the original (/usr/src/linux/scripts) folder
5.- Run the "vmware-config.pl" again.

So basically the path is something like this:

Code:

/usr/src/linux-obj/<arch>/<build>/scripts
which in my case would be "/usr/src/linux-obj/i386/default/scripts"

Hope it helps


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