Robin Roevens
2001-Sep-21 09:21 UTC
Wine-20010824 problems with wineinstall and loading windows DLL's
Hi I am running Slackware Linux 8.0 with Kernel 2.4.5 and perl 5.6.1. I have my windows partition(D:) mounted at /windows and my fat startuppartition(C:) at /dos. Windows itself is found in /windows/windows. I tried installing Wine-20010824 using wineinstall and these are the problems I had: - When wineinstall was searching for existing windows installations it said: 'Windows was not found on your system, so I asume you want a Wine-only installation. Am I correct?' -> So I checked what wineinstall did to find the windows partition, it calls wineconf, and checking wineconf I found out it only checked my /dos partition, not the /windows partition. fyi: in my fstab these 2 partitions are defined as this: --- /dev/hda2 /dos vfat uid=1000,gid=100,exec,dev,suid,rw 1 1 /dev/hda5 /windows vfat uid=1000,gid=100,exec,dev,suid,rw 1 1 --- To let wineinstall do his job I edited it a bit by adding the parameters '-windir /windows/windows -sysdir D\\WINDOWS\\SYSTEM' to the call to wineconf. Now wineinstall completed successfully (If I didn't add the -sysdir parameter wineinstall found the windows partition but in the ~/.wine/config file it places "system" = "D:\\SYSTEM" instead of "D:\\WINDOWS\\SYSTEM". And couldn't wineisntall get the registery) fyi2: when running wineconf I get these messages: --- Name "main::RCS_ID" used only once: possible typo at ./wineconf line 7. Name "main::DOS2Device" used only once: possible typo at ./wineconf line 230. Name "main::Device2DOS" used only once: possible typo at ./wineconf line 227. Name "main::DOSpathdir" used only once: possible typo at ./wineconf line 294 WINE REGISTRY Version 2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config. <snip> --- Is this all a bug? Does wine expect windows to be at a C drive or is the problem that it is just not tested with windows on a D drive? Finaly Wine got installed like I wished and this is the ~/wine/config file: --- WINE REGISTRY Version 2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config [Drive C] "Path" = "/dos" "Type" = "hd" "Filesystem" = "vfat" [Drive D] "Path" = "/windows" "Type" = "hd" "Filesystem" = "vfat" [Drive E] "Path" = "/cdrom" "Type" = "cdrom" "Filesystem" = "win95" [Drive F] "Path" = "/tmp" "Type" = "hd" "Filesystem" = "win95" [Drive G] "Path" = "${HOME}" "Type" = "network" "Filesystem" = "win95" [wine] "windows" = "D:" "system" = "D:\\WINDOWS\\SYSTEM" "path" = "D:\\windows\\system;D:\\windows\\Vbox\\Installers\\Symantec TBYB_Norton AntiVirus 2001 for Win9xMe_7_en-us\\Nav9xME;D:\\windows;D:\\Program Files\\Norton AntiVirus;D:\\Program Files\\Netscape\\Netscape 6\\components;D:\\Program Files\\icq;D:\\windows\\sysbckup;D:\\Program Files\\Netscape\\Netscape 6;D:\\windows\\system\\viewers;<snap: my whole partition-directory-structure is listed here>" "temp" = "/tmp" [DllOverrides] "commdlg" = "builtin, native" "comdlg32" = "builtin, native" "ver" = "builtin, native" "version" = "builtin, native" "shell" = "builtin, native" "shell32" = "builtin, native" "shfolder" = "builtin, native" "shlwapi" = "builtin, native" "lzexpand" = "builtin, native" "lz32" = "builtin, native" "comctl32" = "builtin, native" "commctrl" = "builtin, native" "advapi32" = "builtin, native" "crtdll" = "builtin, native" "mpr" = "builtin, native" "winspool.drv" = "builtin, native" "ddraw" = "builtin, native" "dinput" = "builtin, native" "dsound" = "builtin, native" "opengl32" = "builtin, native" "msvcrt" = "native, builtin" "rpcrt4" = "native, builtin" "msvideo" = "builtin, native" "msvfw32" = "builtin, native" "mcicda.drv" = "builtin, native" "mciseq.drv" = "builtin, native" "mciwave.drv" = "builtin, native" "mciavi.drv" = "native, builtin" "mcianim.drv" = "native, builtin" "msacm.drv" = "builtin, native" "msacm" = "builtin, native" "msacm32" = "builtin, native" "midimap.drv" = "builtin, native" ; default for all other dlls "*" = "native, builtin, 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" = "N" ; Use a desktop window of 640x480 for Wine ;"Desktop" = "640x480" ; Use XFree86 DGA extension if present ; (make sure /dev/mem 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" "Com3" = "/dev/ttyS2" "Com4" = "/dev/modem" [parallelports] "Lpt1" = "/dev/lp0" [ppdev] ;; key: io-base of the emulated port ;; value : parport-device{,timeout} ;; timeout for auto closing an open device ( not yet implemented) ;"378" = "/dev/parport0" ;"278" = "/dev/parport1" ;"3bc" = "/dev/parport2" [spooler] "FILE:" = "tmp.ps" "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" --- Wine should be ready to use now, not? So I started my first Wine app: winamp, it worked well so I tried a bigger application. But whatever application I tried which uses other DLL's than the standard system DLL's failed because Wine claimes not to find the desired DLL(s), even if those DLL's are located in the same directory as the executable or when they are installed in the windows\system dir. Does anybody know a solution? Robin
gerard patel
2001-Sep-21 12:22 UTC
Wine-20010824 problems with wineinstall and loading windows DLL's
On Fri, 21 Sep 2001 14:21:54 GMT, Robin Roevens <Robin.Roevens@yucom.be> wrote: <snip>>Name "main::RCS_ID" used only once: possible typo at ./wineconf line 7. >Name "main::DOS2Device" used only once: possible typo at ./wineconf line >230. >Name "main::Device2DOS" used only once: possible typo at ./wineconf line >227. >Name "main::DOSpathdir" used only once: possible typo at ./wineconf line 294 >WINE REGISTRY Version 2 >;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config. ><snip>Please list the complete fstab file and the full output of wineconf - you cut the interesting part. <snip>>[wine] >"windows" = "D:"<snip>>So I started my first Wine app: winamp, it worked well so I tried a >bigger application. But whatever application I tried which uses other >DLL's than the standard system DLL's failed because Wine claimes not to >find the desired DLL(s), even if those DLL's are located in the same >directory as the executable or when they are installed in the >windows\system dir.the windows=d: line is wrong: it is the path to the windows *directory*, not the windows partition; you should set it to "windows"="d:\windows" The rest seems correct and Wine should find dlls; to find what happens, run with -debugmsg +module,+dosfs,+file - from the traces you will be able to figure out where Wine is trying to find the application dlls. Gerard