Начальные условия:
Linux Mandrake 2.4.22-21mdk
Wine 20030813
Программа - простейшая (но очень полезная!) (SNMPVIEW, если интересно)
Раньше все запускалось. Пока не сдох винт.
Сейчас Wine мне любезно сообщает:
wine snmpview.exe
err:module:import_dll Module (file) kernel32.dll (which is needed by Z:\home\snmpview20-3\snmpview.exe) not found
Не пойму, какого черта ему надо?
Wine - нормально и полностью установлен, в юсерском Home есть каталог .wine со всем причитающимся барахлом. И конфигом тоже (диск Z: взялся именно оттуда). Там же в Windows\System и System32 лежит и kernel32.dll 0-й длины. В /usr/lib, /usr/lib/wine и /usr/lib/wine/wine лежит kernel32.dll.so (862472 байт)
Я уже эти kernel* куда только не клал, начиная с текущего каталога. Даже wine-вский конфиг пересобрал winesetuptk-0-73 не надеясь на прямоту всоих рук. Результат один.... (см.выше)
Вразумите, плззззз, что я делаю неправильно?
Далее конфиг. Если вдруг кому-то станет интересно.....
[Drive A]
"Type" = "floppy"
"Path" = "/mnt/floppy"
"Label" = "/mnt/floppy"
"Device" = "/dev/floppy/0"
[Drive C]
"Path" = "/home/helpdesk/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/helpdesk/.wine/fake_windows"
"Filesystem" = "win95"
[Drive D]
"Type" = "cdrom"
"Path" = "/mnt/cdrom"
"Label" = "/mnt/cdrom"
"FileSystem" = "win95"
"Device" = "/dev/ide/host0/bus1/target0/lun0/cd"
[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FileSystem" = "win95"
[Drive Y]
"Type" = "network"
"Path" = "${HOME}"
"Label" = "Home"
"FileSystem" = "win95"
[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"
"FileSystem" = "win95"
[wine]
[Drive A]
"Type" = "floppy"
"Path" = "/mnt/floppy"
"Label" = "/mnt/floppy"
"Device" = "/dev/floppy/0"
[Drive C]
"Path" = "/home/helpdesk/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/helpdesk/.wine/fake_windows"
"Filesystem" = "win95"
[Drive D]
"Type" = "cdrom"
"Path" = "/mnt/cdrom"
"Label" = "/mnt/cdrom"
"FileSystem" = "win95"
"Device" = "/dev/ide/host0/bus1/target0/lun0/cd"
[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FileSystem" = "win95"
[Drive Y]
"Type" = "network"
"Path" = "${HOME}"
"Label" = "Home"
"FileSystem" = "win95"
[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"
"FileSystem" = "win95"
[wine]
[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;Y:\\"
"GraphicsDriver" = "x11drv"
"ShellLinker" = "wineshelllink"
# <wineconf>
[DllOverrides]
; default for all other dlls
"kernel32" = "native"
"*" = "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]
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-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]
[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"
[registry]
"LoadGlobalRegistryFiles" = "Y"
"LoadHomeRegistryFiles" = "Y"
"LoadWindowsRegistryFiles" = "Y"
"WritetoHomeRegistryFiles" = "Y"
"SaveOnlyUpdatedKeys" = "Y"
[Tweak.Layout]
"WineLook" = "Win95"
[Console]
[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]
"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"