LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wine and RedHat 9.1 (https://www.linuxquestions.org/questions/linux-software-2/wine-and-redhat-9-1-a-65691/)

dude_228 06-15-2003 12:30 AM

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

zmedico 06-15-2003 01:33 AM

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.

DrOzz 06-15-2003 11:46 AM

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...

dude_228 06-15-2003 12:51 PM

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

DrOzz 06-15-2003 07:39 PM

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?

dude_228 06-15-2003 07:51 PM

yes
but the command to install a exe file
from console
thx

dude_228 06-16-2003 03:33 PM

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

DrOzz 06-16-2003 03:51 PM

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"

dude_228 06-16-2003 05:15 PM

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

DrOzz 06-16-2003 06:56 PM

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>

dude_228 06-16-2003 07:34 PM

still aint working
same erroh
ehelp me plz!!

dude_228 06-16-2003 07:34 PM

still aint working
same erroh
ehelp me plz!!

DrOzz 06-16-2003 07:36 PM

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

dude_228 06-16-2003 07:59 PM

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

DrOzz 06-16-2003 08:09 PM

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...


All times are GMT -5. The time now is 05:40 PM.