LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems with windows programs in linux (QEMU, WINE, or linux alternative) (http://www.linuxquestions.org/questions/linux-software-2/problems-with-windows-programs-in-linux-qemu-wine-or-linux-alternative-354643/)

bulldogzerofive 08-18-2005 03:10 PM

problems with windows programs in linux (QEMU, WINE, or linux alternative)
 
I am trying to run a windows program (a dictionary called Le Petit Larousse 2005) under Ubuntu (Ubuntu is an ancient african word meaning "I could not handle Slackware"). I have tried three approaches, but I hit loggerheads on all of them and i need some help.

1. I have a qemu virtual machine with WinXP loaded on it. This seems the most promising approach. The problem is, i cannot get past the disk's anti-piracy protection. Namely, it lets me install everything just fine, but when i enter the disk key it replies that the key does not match the disk (it works under windows without emulation, by the way). I think that this has something to do with the way qemu builds the emulated CD drive and passes it to windows; the emulated CD drive makes the disk look like a copy to the program. I have messed with this a little bit, but since everything appears to be working to qemu the problem has no log file. I tried making an iso image of the original cd and mounting that as the CDROM, but that did not even load, and i think it would take me back to the original problem anyway. I tried copying the successfully installed file from windows into the emulator image, but the copy protection must reside somewhere else because it brought back the same error. The only other thing i could think of was to excute qemu with root privleges (bad idea i know but it supposedly gives the emulator more hardware visibility). Does anyone know how to:
a. Execute Qemu so that the nested OS can read the device directly rather than through the emulator?, or
b. get around the disk's copy protection? It uses something called protect.dll (aIso by the way, I legally own the original licensed disks for both XP and LP2005... i don't want pirate anything here, just use what i already own)

2. Linux alternatives: dictd is exactly the kind of framework i am looking for, but i can not find any decent english-french dictionary databases for it (or german-english or german-french for that matter). If anybody can tell me where to find decent dictionary databases, i would love to scrap the whole windows thing. google has not been helpful. i am willing to pay for them. The freedict database won't cut it, by the way... it is a good basic start but my wife is a professional translator and needs something more robust.

3. WINE (WINE is a recursive acronym for Wine Is a Nasty freakin hEadache). I have worked on this for many many hours but i am too stupid to configure wine to do anything practical. Can't install the program in question or run the successfully installed copy on my windows partition. If anybody knows where to find an install/configure/use guide for the complete moron (i am not really a noob anymore just stupid) i would appreciate it.

To anybody who is still reading my little tirade, thank you.:Pengy: :Pengy: :Pengy:

sls 08-18-2005 06:14 PM

Hi

The easiest way to setup wine is to use winetools

http://www.von-thadden.de/Joachim/WineTools/

For Ubuntu add the following to /etc/apt/sources.list

deb http://www.linex.org/sources/linex/debian sarge linex

Then do

Code:

apt-get update
Then

Code:

apt-get install winetools
Them from console run

Code:

wt2
Follow the instructions and it will setup a fake windows directory.

Would suggest from the menu install dcom98 and you may need to install Internet Explorer as some Win programs need it.

Sls

nenyo 08-18-2005 06:49 PM

if your using mandiva then you'll have to use urpmi. try and find a sort of add/remove software setup in the main menu. search wine. install it with the "install" button.

if its not there (it should be) go to the easyurpmi website and follow the instructions there.

you'll also need a wine.conf. if you have the source tarball then you should have an example of this in the documentation section of the files. if not then you should be able to find one at winehq. if you use winetools it will automaticaly make a wine.conf for you. make sure you have the right version of wine to use with winetools though (recomended on there site).

hope this helps. good luck


All times are GMT -5. The time now is 11:37 PM.