LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2003, 01:30 AM   #1
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Rep: Reputation: 15
wine and RedHat 9.1


ive download these rpms installed them
ive created all thhe wine required files
for the fake drive....
tried to run a exe file
wine shows there
but nuttin happens
what am i doing wrong plz help me thx

runing redhat 9.1
with latest rpm of wine

ive followed everything on this page
http://www.winehq.com/?page=howto

Configuration

In order to run Wine needs some files and directories.
First you must create a virtual ('fake') windows drive
The following directories must exist in your $HOME directory:

.wine/

.wine/c_drive
.wine/c_drive/Windows
.wine/c_drive/Windows/Fonts
.wine/c_drive/Windows/Start Menu/Programs
.wine/c_drive/Windows/System
.wine/c_drive/Windows/System32
.wine/c_drive/Windows/Temp
.wine/c_drive/Program Files
.wine/c_drive/Program Files/Common Files


After this copy the following files from wine-YYYYMMDD/documentation/samples to $HOME/.wine/Windows:

system.ini
win.ini
All applications will be installed on this fake Windows drive. Refered to C: inside of Windows applications.

Wine also needs a configuration file. Copy the file config from wine-YYYYMMDD/documentation/samples to $HOME/.wine.

The Wine configuration file


The config file is pretty self explanatory, just take a look at it. The only thing you probably have to change is the mountpoint of the cdrom drive.
You can get more information by typing:

man wine.conf

Last edited by dude_228; 06-15-2003 at 01:36 AM.
 
Old 06-15-2003, 02:33 AM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Re: wine and RedHat 9.1

Quote:
Originally posted by dude_228
runing redhat 9.1
Hey, isn't redhat 9.0 the latest?

If you installed the rpm from sourceforge you can just copy the /usr/share/wine-c directory and use that.

Last edited by zmedico; 06-15-2003 at 03:45 PM.
 
Old 06-15-2003, 12:46 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well d00d, i'll tell ya i've had the problem before and various others have too...my best advice is to use the program winetools and let it make the fake windows directory for you.

WineTools

i followed all the directions to a "T" when trying to manually set up the directory but it would never work for me either...once i fired up winetools and told it to make the fake drive it worked like a charm...you can also download a perl script called "winecheck" which i dont' have a link handy for it, but it scans everything for you and tells you how accurate your wine setup is and what your missing, or what you did wrong...
 
Old 06-15-2003, 01:51 PM   #4
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Original Poster
Rep: Reputation: 15
hey
ive done what u told me
with the wine tools
but now i select the install application
i select an exe file
then it it goes away once i select install
 
Old 06-15-2003, 08:39 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
hey i didn't tell ya to install stuff with winetools (heheh) i just said setup your fake windows with it...
no but on a serious note, i have personally never tried using wine tools for installing things, i just do it from command line..so i can't help ya there...
but did winetools help you fix your fake windows folder?
 
Old 06-15-2003, 08:51 PM   #6
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Original Poster
Rep: Reputation: 15
yes
but the command to install a exe file
from console
thx
 
Old 06-16-2003, 04:33 PM   #7
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Original Poster
Rep: Reputation: 15
when i go to the kernel and type in
wine
or ./filetoinstall.exe
it says
wine: chdir to /tmp/.wine-root/server-308-cfd2 : No such file or directory

plz help me
 
Old 06-16-2003, 04:51 PM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
ok lets put it this way...lets just pretend you want to install microsoft office2000 from cd...

all you have to do is the following:
either A)
go to /mnt/cdrom and issue command "wine setup.exe"
or B)
from where ever you are in the terminal you can issue the full command "wine /mnt/cdrom/setup.exe"
 
Old 06-16-2003, 06:15 PM   #9
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DrOzz
ok lets put it this way...lets just pretend you want to install microsoft office2000 from cd...

all you have to do is the following:
either A)
go to /mnt/cdrom and issue command "wine setup.exe"
or B)
from where ever you are in the terminal you can issue the full command "wine /mnt/cdrom/setup.exe"
]

ive tried so
ive got the same error
as beofre

what can i do
is there anyways to start wine config
or where is it located
any config files
what am i doing wrong
ive installed the latest wine
from both .tar.gz
and rpm
gone worked
plz help me thnx

p.s. ive used the wine tools
to create the virtualk drive

it says $HOME/wine

aslo can i ee a sample of yur wine.conf plz
thank you

Last edited by dude_228; 06-16-2003 at 06:26 PM.
 
Old 06-16-2003, 07:56 PM   #10
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
i am not sure if thats the config options your looking for, but this is what i am posting...

[Drive C]
"Path" = "/home/user/.wine/c"
"Type" = "hd"
"Label" = "DriveC"
"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" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "c:\\windows\\temp"
"Path" = "c:\\windows;c:\\windows\\system;e:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

# <wineconf>
 
Old 06-16-2003, 08:34 PM   #11
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Original Poster
Rep: Reputation: 15
still aint working
same erroh
ehelp me plz!!
 
Old 06-16-2003, 08:34 PM   #12
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Original Poster
Rep: Reputation: 15
still aint working
same erroh
ehelp me plz!!
 
Old 06-16-2003, 08:36 PM   #13
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
ok lets kinda start fresh again...tell me the exact command you are issuing, and tell the exact error you are getting once you issue the command
 
Old 06-16-2003, 08:59 PM   #14
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Original Poster
Rep: Reputation: 15
it says wine: chdir to /tmp/.wine-root/server-308-cfd2 : No such file or directory

anything i try to run
i go to console and type in
wine
it says wine: chdir to /tmp/.wine-root/server-308-cfd2 : No such file or directory

or i go to /mnt/cdrom
wine setup.exe
it says wine: chdir to /tmp/.wine-root/server-308-cfd2 : No such file or directory
 
Old 06-16-2003, 09:09 PM   #15
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
ok i am going out right now, but i am going to ask a couple more questions and i'll respond to them in a couple hours, but to mean it seems wine is incorrectly setup..cause if you just type wine by itself in the console it should tell you that it needs arguments, and hows you a list....but anyways:
how did you install wine (tar.gz or rpm)?
what distro are you using?
sorry if you answered these questions before but i am in a hurry and i don't have time to read through to see if you said that stuff already...
 
  


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
When will there be Wine on RedHat 9? Oliver Webb Linux - General 15 09-04-2003 04:54 PM
Wine On RedHat 9 Born^Dead Linux - Software 9 07-31-2003 11:29 AM
RedHat 9 and Wine jimmmac Linux - Software 4 07-10-2003 01:58 PM
WINE on Redhat 8.0 fahad Linux - Software 2 04-02-2003 02:42 PM
Redhat 7.2 and WINE Dave Johnston Linux - General 4 11-01-2001 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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