LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wine problem (https://www.linuxquestions.org/questions/linux-newbie-8/wine-problem-195383/)

daan0106 06-19-2004 12:47 PM

wine problem
 
Hello everyone,

I´m a new linux user, been playing around with it since '98 but never gotten the time to get deeper into it.
I´ve recently installed Mandrake 10.0 on my system and minus some small details it's running great.

For the last few days my goal was to install wine.
I downloaded some rpms from sourceforge and installed it, it dumped most of the stuff in the root of /usr/bin but i didnt get it to work.
I searched a lot of help, tutorials, howto's but i usualy never get further then the first 2 steps, im always doing something wrong it seems.

A few posts down someone asked a similair question, and i found out that the wine rpms are located on the 2nd mandrake disk (doh).
Anyhow, i installed the 2 wine rpms on the 2nd mandrake disk but nothing happend.
When i goto /root/windows/winXP/WINDOWS to open notepad.exe i got an error.
Seemed wine wasnt configured yet, from all the searches and reading i understood that u need to configure wine.cfg and add the windows path.
However /usr/bin doesnt have the wine.cfg - only a winecfg~ but it doesnt hold much info.

I got wine rpms from the internet, mandrake cd´s tar,gz etc - all do different things, install stuff in dirrerent dir's and all come with different tutorials.

My question is,

Isnt there just a simple step by step howto/tutorial on howto install wine that comes with mandrake 10.0 ?
Because i simple lack the linux knowlege to link things together, just need to do it step by step a few times, the process would probaly also help with other programs.

thx in advance!

Daan

b0uncer 06-19-2004 01:48 PM

after running wine and told to change your config, try to search the config file from the home dir of the user you run it with...like if you had a user called tommie then the file might be in

/home/tommie/.wine/config

or, to see if it's there, do

cat $home/.wine/config

when you're logged in as that user. or then search it (I assume you've updated your slocate database after installing wine):

locate wine | grep conf

and see what you get...edit that file, it's quite simple, and you should be fine.

daan0106 06-19-2004 01:58 PM

thx!

I found my wine.cfg there.
I'm logged in as root.
/root/.wine/wine.cfg

there is also /root/.wine/drive_c

so i edited the wine.cfg and added /root/.wine/drive_c/windows at some places, also the temp dir and system.

i goto /root/.wine/drive_c/windows and tryed to load notepad.exe

[root@daan windows]# wine notepad.exe
Line 69: Malformed value '"Path" = "/root/.wine/drive_c/windows'
wine: cannot find 'notepad.exe'
[root@daan windows]#

I figure i made an error somewhere in the wine.cfg - just can´t find what it is.

This is part of my wine.cfg;

;;
[Drive A]
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Device" = "/dev/fd0"

[Drive C]
"Path" = "/root/.wine/drive_c"
"Type" = "hd"
"Label" = "Windows"
"Filesystem" = "win95"

[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"

[Drive E]
"Path" = "/tmp/winetmp-%USER%"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "%HOME%"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

;[Drive Z]
;"Path" = "/"
;"Type" = "hd"
;"Label" = "Root"
;"Filesystem" = "win95"


[wine]
"Windows" = "/root/.wine/drive_c/windows"
"System" = "/root/.wine/drive_c/windows/system"
"Temp" = "/root/.wine/drive_c/windows/temp"
"Path" = "/root/.wine/drive_c/windows
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"

# [wineconf]

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

daan0106 06-19-2004 02:06 PM

errrr

I feel like a total newbie now :P I just noticed that all the files in /root/.wine/drive_c/ are 0 kb

I have windows XP as dual boot,

the mount point is in /root/windows/winXP
Should i re-direct it to there? Got no clue

Astropicachu 06-20-2004 10:43 AM

Hi people,

I've tried to install RPMs before but never with success. Yesterday I was trying to install wine for the 10^10th time, and I downloaded it from the net,( wine-20040615-mdkdebug.i586.rpm.) and this time as soon as I clicked on the RPM it installed itself pronto. But now when I try to start wine, in KDE, the "the sand clock" cursor thingy comes on rotating and then it stops and nothing happens. Does anyone knows how to solve this problem?:confused: I was reading all the previous stuff and I never had the impression that it was THAT COMPLICATED. I see you coming up with mounting points and all that stuff?... Is it really that complicated...?
I also been looking for a stright forward example of an RPM or source code installation but it seems that rather than doing that, some people still think its easier to come up with replies like "RTFM", which I really think is so presumptuous...
Anyway does anyone has a helping hand on this matter?
Thanks in advance.

mhearn 06-20-2004 05:07 PM

You need to run it from the command line, like "wine appname.exe".

If you are using the latest release, just do that as your user. The first time you do that it will setup ~/.wine and its contents for you.

You cannot at this time launch Wine straight from the GUI, that's not how it's meant to be used. Just use Konsole instead.

Finally do not use a pre-existing Windows XP drive, not even for test apps. Instead, download the program you want to run, and then run it from wherever you downloaded it to. For instance:

cd ~/Desktop/Downloads
wine setup.exe

would be how I'd do it. I'll repeat: do not go to your windows drive and run programs from there.

Astropicachu 06-25-2004 10:34 AM

Thanks a lot mike, I didn't know that... Well, I don't know a million things, (yeah, right, should I be so lucky), anyway, bit by bit, the objective is getting closer to that horizon of omniscience. Whao, am I a poet or what?...
Thanks again mike.
All the best.
-antonio

mhearn 06-25-2004 12:51 PM

I'll let you in on a secret - I'm not omniscient either, you just got lucky - I'm a professional Wine developer working for CodeWeavers. Sometimes I troll these boards looking for wine related posts and answer what I can. Good luck! I know stock Wine can be frustrating some time, if you get disillusioned try the Crossover demo. We put a lot of effort into polishing it up to make Wine really shine.

have fun


All times are GMT -5. The time now is 11:01 AM.