LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-23-2003, 12:38 AM   #1
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Rep: Reputation: 15
wine problem


hello i have a prob well of course cause thats what this site is for n e way i installed the wine rpm for mnk 9.2 and when i try to start it it says no such file or directory and it says

Warning: no valid DOS drive found, check your configuration file.
Warning: could not find wine config [Drive x] entry for current working director y /home/lil; starting in windows directory.
Invalid path L"c:\\windows" for L"windows" directory: does not exist.
Perhaps you have not properly edited your Wine configuration file (/home/lil/.wi ne/config)

what is the config file and what do i need to do please help and show me what to do. thanks in advance
 
Old 11-23-2003, 03:17 AM   #2
bem
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
hi,
you must change config in file
#vi ~/.wine/config
(sorry for my english)
bye
 
Old 11-23-2003, 03:22 AM   #3
jamie_barrow
Member
 
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
Your configuration file (/home/lil/.wine/config) is basically what sets up your 'Windows installation' on your computer, like it tells wine the directories in your linux machine that wine should use as 'drives'.

Go to http://www.winehq.org and look around for more information about Wine. They have a documentation part of their website which is at http://www.winehq.org/site/documentation which might help you with your problem.
 
Old 11-23-2003, 03:23 AM   #4
bem
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
the same things ;D
 
Old 11-23-2003, 03:58 AM   #5
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Original Poster
Rep: Reputation: 15
thank you this helps alot
 
Old 11-23-2003, 04:09 AM   #6
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Original Poster
Rep: Reputation: 15
now when i try to install klitekpp243.exe i get this

[lil@localhost]$ wine install klitekpp243.exe
Could not stat /home/lil/.wine/${HOME} (No such file or directory), ignoring drive Y:
wine: cannot find 'install'
 
Old 11-23-2003, 04:18 AM   #7
bem
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
please retype [drive y], in this section, in your's config file (./wine/config)
 
Old 11-23-2003, 04:30 AM   #8
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Original Poster
Rep: Reputation: 15
i had to config the config file so it wouldnt read drive y i deleted it now i get this message

[lil@localhost My Documents]$ wine klitekpp243e.exe
Could not load graphics driver 'x11drv'
err:module:LdrInitializeThunk Main exe initialization failed, status c0000142
 
Old 11-23-2003, 04:44 AM   #9
bem
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
this's another problem, and because you deleted this drive?
for example in my config
[Drive H]
"Path"="/media/floppy"
"Label"="floppy"
"Type"="cdrom"
"FS"="win95"
;"Device"="/dev/floppy"


write this your's type y

P.S. download the last version of wine
 
Old 11-23-2003, 02:40 PM   #10
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Original Poster
Rep: Reputation: 15
i just did that now i get
[lil@localhost My Documents]$ wine klitekpp243e.exe
Could not stat /media/floppy (No such file or directory), ignoring drive Y:
Could not load graphics driver 'x11drv'
err:module:LdrInitializeThunk Main exe initialization failed, status c0000142
 
Old 11-23-2003, 03:07 PM   #11
BongFish
Member
 
Registered: Jun 2003
Location: England
Distribution: Slack 9
Posts: 141

Rep: Reputation: 15
to make things easier for yourself you could try use a GUI wine configure program such as winesetuptk.
 
Old 11-23-2003, 03:16 PM   #12
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Original Poster
Rep: Reputation: 15
i have that and the driver x11drv still shows up
 
Old 11-23-2003, 03:31 PM   #13
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Original Poster
Rep: Reputation: 15
this is my config file show me what to do k.

WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx" (Unix path for drive root)
;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx" (drive label, at most 11 characters)
;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;; This is the FS Wine is supposed to emulate on a certain
;; directory structure.
;; Recommended:
;; - "win95" for ext2fs, VFAT and FAT32
;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;; DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;

[Drive A]
"Type" = "floppy"
"Path" = "/mnt/floppy"
"Label" = "/mnt/floppy"
"Device" = "/dev/floppy/0"

[Drive C]
"Path" = "/home/lil/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/lil/.wine/fake_windows"
"Filesystem" = "win95"

[Drive D]
"Type" = "cdrom"
"Path" = "/mnt/cdrom"
"Label" = "/mnt/cdrom"
"FileSystem" = "win95"
"Device" = "/dev/scsi/host0/bus0/target0/lun0/cd"

[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FileSystem" = "win95"

[Drive Y]
"Path" = "/x11drv"
"Type" = "hd"
"Device" = ""
"Filesystem" = "win95"

[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"
"FileSystem" = "win95"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;Y:\\"
"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>

[DllOverrides]
; default for all other dlls
"*" = "builtin, native, so"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "N"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"

[fonts]
;Read documentation/fonts before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"

[parallelports]
"Lpt1" = "/dev/lp0"

[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"

[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win95"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files

[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

# </wineconf>

#########################################
# Application dependent sections follow #
#########################################

[AppDefaults\\_INS5576._MP\\x11drv]
; Lotus Notes R5 installer
; I'm quite not sure this will run on some other machine than mine, but it
; can't hurt
"Managed" = "N"
"Desktop" = "N"

[AppDefaults\\nlnotes.exe\\x11drv]
"Desktop" = "800x600"

[AppDefaults\\notes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nlnotes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nhldaemn.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

and :bem: i set it up the way you told me and i got an error message saying its ignoring drive y but when i delete it i dont get the error message now i get the x11drv error and wont start.
 
Old 11-23-2003, 03:48 PM   #14
lil213
Member
 
Registered: Oct 2003
Location: la mesa
Distribution: Mandrake Linux, Red Hat, Fedora,Gentoo,Elx,Lycoris,lorma, Suse, Slackwkare basiclly all.
Posts: 62

Original Poster
Rep: Reputation: 15
scratch the config file i uninstalled that version now i have the latest version now i get an error message when about to load about i need windows version 4.01212 or later do i need the dll for this
 
  


Reply



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 07:53 AM
Wine problem bungle_42 Linux - Software 2 10-22-2004 10:27 AM
problem with wine exigent Linux - Software 1 03-04-2004 06:59 AM
wine problem Please help~!~!~!~! demmylls Linux - Software 2 03-03-2004 02:20 PM
wine problem tylerb Linux - Software 0 02-16-2004 03:41 PM

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

All times are GMT -5. The time now is 03:42 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
Open Source Consulting | Domain Registration