LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2004, 01:47 PM   #1
daan0106
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake 10.0
Posts: 12

Rep: Reputation: 0
wine problem


Hello everyone,

Im a new linux user, been playing around with it since '98 but never gotten the time to get deeper into it.
Ive 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 cds 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
 
Old 06-19-2004, 02:48 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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.
 
Old 06-19-2004, 02:58 PM   #3
daan0106
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
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 cant 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"
 
Old 06-19-2004, 03:06 PM   #4
daan0106
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 06-20-2004, 11:43 AM   #5
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Rep: Reputation: 15
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? 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.
 
Old 06-20-2004, 06:07 PM   #6
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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.
 
Old 06-25-2004, 11:34 AM   #7
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Rep: Reputation: 15
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
 
Old 06-25-2004, 01:51 PM   #8
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 08:53 AM
Wine problem bungle_42 Linux - Software 2 10-22-2004 11:27 AM
problem with wine exigent Linux - Software 1 03-04-2004 07:59 AM
wine problem Please help~!~!~!~! demmylls Linux - Software 2 03-03-2004 03:20 PM
wine problem tylerb Linux - Software 0 02-16-2004 04:41 PM


All times are GMT -5. The time now is 04:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration