LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   running wine slackware 9.1 (http://www.linuxquestions.org/questions/slackware-installation-40/running-wine-slackware-9-1-a-199868/)

dpajares 07-01-2004 07:36 AM

running wine slackware 9.1
 
I have installed wine 20040615 from soruce code.

wine
wine: creating configuration directory '/root/.wine'...
err:module:load_builtin_dll failed to load .so lib for builtin L"x11drv.dll": libXxf86dga.so.1: cannot open shared object file: No such file or directory
Could not load graphics driver 'x11drv'
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\rundll32.exe" failed, status c0000142
wine: wineprefixcreate failed while creating '/root/.wine'.
root@pcdamianlx:~# wineserver: could not save registry branch to /root/.wine-sKzVRU/system.reg : No such file or directory
wineserver: could not save registry branch to /root/.wine-sKzVRU/userdef.reg : No such file or directory
wineserver: could not save registry branch to /root/.wine-sKzVRU/user.reg : No such file or directory

allend 07-02-2004 10:34 AM

If you want to run Wine I suggest that you download the precompiled binaries for Slackware from
http://www.winehq.com/site/download

You will need to follow the directions in the README file from Step 5.

Some tips ( based on my experience with wine-20040408):

The vital registry entries can be added using /usr/bin/regedit

The Slackware tools to process SGML files are:
docbook2html (use this with the -u option), docbook2ps, docbook2ps, docbook2txt
(I could not get the 'make doc' script to run successfully, but the documentation can be unpacked manually. Otherwise just use the WineHQ website.)

You will need to be running XFree4.4.0 or later.
The file libXxf86dga.so.1 is in this release and as your post shows that this file is missing it suggests that you may need to upgrade your Xwindows.

I hope this helps.

dpajares 07-05-2004 03:57 PM

well , i download a install the binari.
But i have te same error. whe run wine.
it is my config
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]
"Path" = "/mnt/fd0"
"Type" = "floppy"
"Label" = "Floppy"
"Serial" = "87654321"
"Device" = "/dev/fd0"

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

[Drive D]
"Path" = "/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"

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

[Drive F]
"Path" = "/mnt/jcb-servidor/sys"
"Type" = "network"
"Device" = "//jcb-servidor/sys"
"Filesystem" = "win95"

[Drive R]
"Path" = "/"
"Type" = "network"
"Label" = "Root"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\Windows"
"System" = "c:\\Windows\\System"
"Tmp" = "X:\\"
"Path" = "c:\\Windows;c:\\Windows\\System"
"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
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"
# <wineconf>

[DllDefaults]
"EXTRA_LD_LIBRARY_PATH" = "${HOME}/wine/cvs/lib"
"DefaultLoadOrder" = "native, builtin, so"

[DllOverrides]
"commdlg" = "native, builtin"
"comdlg32" = "native, builtin"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "native, builtin"
"commctrl" = "native, builtin"
"wsock32" = "builtin"
"winsock" = "builtin"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dsound" = "builtin, native"
"mmsystem" = "builtin"
"winmm" = "builtin"
"msvcrt" = "builtin, native"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "builtin, native"
"mcianim.drv" = "builtin, native"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
"wnaspi32" = "builtin"
"icmp" = "builtin"

[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 800x600 for Wine
;"Desktop" = "800x600"
; Use XFree86 DGA extension if present
"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"

[fonts]
;Read documentation/fonts before adding aliases
"Resolution" = "96"
"Default" = "-adobe-times-"

[windows]
"device" = "Wine PostScript Driver,WINEPS,LPT1:"

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

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

[devices]
"Wine PostScript Driver" = "WINEPS,LPT1:"

[psdrv]
"ppdfile" = "/var/spool/lpd/lp1/lw2nt.ppd"

[spooler]
;*"LPT1:" = "|gs -sDEVICE=bjc800 -sOutputFile=/tmp/fred -q -"*
;:"LPT2:" = "|lpr"

[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"

# </wineconf>

wen run fox aplication with normail user
wine lcompras
err:module:load_builtin_dll failed to load .so lib for builtin L"x11drv.dll": libXxf86dga.so.1: cannot open shared object file: No such file or directory
Could not load graphics driver 'x11drv'
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\mnt\\jcb-servidor\\sys\\APLICAR\\COMPRAS\\WIN\\mcompras.exe" failed, status c0000142
damian@pcdamianlx:~$ cd .wine/
damian@pcdamianlx:~/.wine$ vi config
skipping 1 old session file
reading config

Please Helme.
Regards, Damian.

allend 07-06-2004 08:48 AM

Hi Damian,

Please check whether you have this file.
/usr/X11R6/lib/libXxf86dga.so.1

If not then I think that you will need to upgrade your Xwindows system.
I had to upgrade to XFree86 4.4.0 to run Wine-20040408.
If you are running KDE you can check what version you are running by:
K -> System -> Info Center -> X Server
otherwise check the /var/log directory for XFree86.0.log or similar and look in that


I have not tried the latest Wine release, but it may require the latest Xwindows.

Regards,

David

uengin 04-13-2006 08:28 PM

wine error & Xwin > v4
 
Hi,
if you get that error, just find and install this slack pack:

X11-libs-6.9.0-5.i386.tgz

Google it, and pronto, enjoy:)


All times are GMT -5. The time now is 03:32 PM.