Wine에서 confg 파일 설정좀 봐 주시길...
wine_20041201 버전을 내려받아 컴파일 해서 설치했습니다.
순전히 아래아 한글을 리눅스에서 돌리기 위함인데, 잘 안되는군요.
wine설치는 별다른 오류 메시지 없이 잘 되었습니다.
설정파일은 아래와 같습니다.
예제에 보니까 파일시스템을 win95하는 식으로 되어 있어서 win98로 했는데 잘못된 걸까요?
vfat <---- 이런 식으로 해야하나요?
--------------
WINE REGISTRY Version 2
[WINE]
"Windows" = "c:\\windows"
"GraphicsDriver" = "x11drv"
"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"System" = "c:\\windows\\system"
"Temp" = "c:\\temp"
"Path" = "c:\\windows;c:\\windows\\system;c:\\;c:\\hnc\Hwp"
"Profile" = "c:\\windows\\profiles\\deulbool"
"ShellLinker" = "wineshelllink"
[Drive A]
"Path" = "/media/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Serial" = "87654321"
"Device" = "/dev/fd0"
[Drive C]
"Path" = "/c"
"Type" = "hd"
"Label" = "windows"
"Filesystem" = "win98"
[Drive D]
"Path" = "/media/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win98"
"Device" = "/dev/cdrom"
# [wineconf]
[Version]
"Windows" = "winxp"
"DOS" = "6.22"
[DllOverrides]
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"comdlg32" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"shdocvw" = "builtin, native"
"advapi32" = "builtin, native"
"msvcrt" = "native, builtin"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"d3drm" = "native, builtin"
"d3dxof" = "native, builtin"
"dpnhpast" = "native, builtin"
"*notepad.exe" = "native, builtin"
"C:\\windows\\regedit.exe" = "native, builtin"
"/mnt/hdc1/hnc/Hwp/hwp.exe" = "native, builtin"
"*" = "builtin, native"
[x11drv]
"AllocSystemColors" = "100"
"PrivateColorMap" = "N"
"PerfectGraphics" = "N"
"Managed" = "Y"
"UseDGA" = "Y"
"UseXVidMode" = "Y"
"UseXRandR" = "Y"
"UseTakeFocus" = "Y"
"DXGrab" = "N"
"DesktopDoubleBuffered" = "N"
[fonts]
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"
"Default" = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"
"DefaultFixed" = "-*-gulim-medium-r-normal--*-120-*-*-*-*-ksc5601.1987-0"
"DefaultSerif" = "-*-kodig-medium-r-normal--*-120-*-*-*-*-ksc5601.1987-0"
"DefaultSansSerif" = "-*-*-medium-r-normal--*-120-*-*-*-*-ksc5601.1987-0"
[FontDirs]
"dir1" = "/usr/X11R6/lib/X11/fonts/TTF"
"dir2" = "/usr/share/fonts/ko/hanyang"
[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "/dev/lp0"
[ports]
"read" = "0x779,0x379,0x280-0x2a0"
"write" = "0x779,0x379,0x280-0x2a0"
[registry]
"LoadGlobalRegistryFiles" = "Y"
"SaveOnlyUpdatedKeys" = "Y"
[Clipboard]
"ClearAllSelections" = "0"
"UsePrimary" = "0"
[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/enscript"
"3" = "/usr/X11R6/lib/X11/fonts/Type1"
[WinMM]
"Drivers" = "wineoss.drv" ; default for most common configurations
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"
[dsound]
"HELmargin" = "5"
"HELqueue" = "5"
"SndQueueMax" = "28"
"SndQueueMin" = "12"
"HardwareAcceleration" = "Emulation"
"DefaultPlayback" = "0" ; use first device (/dev/dsp)
"DefaultPlayback" = "1" ; use second device (/dev/dsp1)
"DefaultPlayback" = "2" ; use third device (/dev/dsp2)
"DefaultCapture" = "0" ; use first device (/dev/dsp)
"DefaultCapture" = "1" ; use second device (/dev/dsp1)
"DefaultCapture" = "2" ; use third device (/dev/dsp2)
[AppDefaults\\_INS5576._MP\\x11drv]
"Desktop" = "1024x768"
[AppDefaults\\iexplore.exe\\DllOverrides]
"shlwapi" = "native"
"rpcrt4" = "native"
"ole32" = "native"
"shdocvw" = "native"
"wininet" = "native"
"shfolder" = "native"
"shell32" = "native"
"shell" = "native"
"comctl32" = "native"
[AppDefaults\\setup.exe\\x11drv]
"Desktop" = "1024x768"
[AppDefaults\\sol.exe\\Version]
"Windows" = "nt40"
# [/wineconf]
==================
설정파일이야 어쨌든 wine을 설치해서
windows xp가 깔린 하드드라이브 파티션을 마운트하여
아래아 한글이 있는 폴더들을 통째로 /c로 복사했습니다.
그리고, $ wine /c/Hwp/hwp.exe 를 입력했더니
MFC32.dll 파일을 요구해서.. /c/windows/system 아래에 넣어 줬습니다.
그리고 다시 $ wine /c/Hwp/hwp.exe 를 입력했더니
아래와 같은 오류 메시지가 뜨는군요..
무엇이 문제일까요?
아래아 한글 돌리기 위해 wine설치했는데 참 어렵군요.
------------------------
$ wine /c/Hwp/hwp.exe
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on write access to 0x00000001 in 32-bit code (0x
18005550).
In 32 bit mode.
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:18005550 ESP:457bf944 EBP:457bfd68 EFLAGS:00210216( - 00 -RIAP1)
EAX:00000000 EBX:619babc0 ECX:00003a43 EDX:457bfc58
ESI:1807456f EDI:457bfc5b
Stack dump:
0x457bf944: 00000001 00000001 18000000 485c3a43
0x457bf954: 485c7077 4c42636e 642e3031 00006c6c
0x457bf964: 00480048 00480048 00480048 00480048
0x457bf974: 00480048 00480048 00480048 00480048
0x457bf984: 00480048 00480048 00480048 00480048
0x457bf994: 00480048 00480048 00480048 00480048
Backtrace:
=>1 0x18005550 HncAppendBackSlash+0x7e0 in hncbl10 (0x457bfd68)
2 0x1800434d HncGetUserCP+0x7ed in hncbl10 (0x457bfd70)
3 0x180084b1 HENCreate+0x8b1 in hncbl10 (0x457bfd7c)
4 0x18060bbf EntryPoint+0x50 in hncbl10 (0x457bfd9c)
5 0x23c2a0fa call_dll_entry_point+0x12 in ntdll (0x457bfdb4)
6 0x23c2cbc1 MODULE_InitDLL+0x1f1(lpReserved=0x1) [/home/Downloads/wine-200412
01/dlls/ntdll/loader.c:741] in ntdll (0x457bfe38)
7 0x23c2cce2 process_attach+0x86 [/home/Downloads/wine-20041201/dlls/ntdll/loa
der.c:814] in ntdll (0x457bfe58)
8 0x23c2cd44 process_attach+0xe8 [/home/Downloads/wine-20041201/dlls/ntdll/loa
der.c:806] in ntdll (0x457bfe74)
9 0x23c2d0c1 LdrInitializeThunk+0x2fd(main_file=0x18, unknown2=0x0, unknown3=0
x0, unknown4=0x0) [/home/Downloads/wine-20041201/dlls/ntdll/loader.c:1902] in nt
dll (0x457bff20)
10 0x314108f1 start_process+0x99(arg=0x0) [/home/Downloads/wine-20041201/dlls/
kernel/process.c:1036] in kernel32 (0x457bfff4)
11 0x5cb9062d wine_mmap_is_in_reserved_area+0x65(addr=0x0, size=0x0) [/home/Do
wnloads/wine-20041201/libs/wine/mmap.c:466] in libwine.so.1 (0x00000000)
0x18005550 HncAppendBackSlash+0x7e0 in hncbl10: movb $0x0,0x1(%eax)
Wine-dbg>
MFC42.DLL가 없다는 소리같네요~
MFC42.DLL를 다운받으셔서 fake-windows의 system폴더에 넣어 주시면 될꺼예요~
-----------------------------------------------
Think Different~!
결국, 한글2002 포기하고 한글97 깔았습니다...
mfc42.dll을 요구해서..이상하다 했더니....
한글2002는 wine에서 안된다는 결론을 내렸습니다....
한글 97 기능강화판은 깔리는군요...
아쉬운 대로 한글97을 돌리기로 했습니다..
==========================
내일을 위한 오늘에 살자!
댓글 달기