LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 飘风飘雪

WINE安装教程

[复制链接]
发表于 2002-11-5 22:50:36 | 显示全部楼层
我在MDK9中安装WINE-20021031,出现以下现象:
cd `dirname wmc/__depend__` && make depend
make[2]: Entering directory `/tmp/wine-20021031/tools/wmc'
../../tools/makedep -I. -I. -I../../include -I../../include  -C. lang.c mcl.c utils.c wmc.c write.c     mcy.y
make[2]: Leaving directory `/tmp/wine-20021031/tools/wmc'
cd `dirname wpp/__depend__` && make depend
make[2]: Entering directory `/tmp/wine-20021031/tools/wpp'
../../tools/makedep -I. -I. -I../../include -I../../include  -C. preproc.c wpp.c     ppy.y ppl.l
make[2]: Leaving directory `/tmp/wine-20021031/tools/wpp'
cd `dirname wrc/__depend__` && make depend
make[2]: Entering directory `/tmp/wine-20021031/tools/wrc'
../../tools/makedep -I. -I. -I../../include -I../../include  -C. dumpres.c genres.c newstruc.c readres.c utils.c wrc.c writeres.c     parser.y parser.l
make[2]: Leaving directory `/tmp/wine-20021031/tools/wrc'
../tools/makedep -I. -I. -I../include -I../include  -C. makedep.c fnt2bdf.c bin2res.c
make[1]: Leaving directory `/tmp/wine-20021031/tools'
cd `dirname unicode/__depend__` && make depend
make[1]: Entering directory `/tmp/wine-20021031/unicode'
../tools/makedep -I. -I. -I../include -I../include  -C. casemap.c compose.c cptable.c mbtowc.c string.c utf8.c wctomb.c wctype.c c_037.c c_042.c c_424.c c_437.c c_500.c c_737.c c_775.c c_850.c c_852.c c_855.c c_856.c c_857.c c_860.c c_861.c c_862.c c_863.c c_864.c c_865.c c_866.c c_869.c c_874.c c_875.c c_878.c c_932.c c_936.c c_949.c c_950.c c_1006.c c_1026.c c_1250.c c_1251.c c_1252.c c_1253.c c_1254.c c_1255.c c_1256.c c_1257.c c_1258.c c_10000.c c_10006.c c_10007.c c_10029.c c_10079.c c_10081.c c_20866.c c_20932.c c_28591.c c_28592.c c_28593.c c_28594.c c_28595.c c_28596.c c_28597.c c_28598.c c_28599.c c_28600.c c_28603.c c_28604.c c_28605.c c_28606.c
make[1]: Leaving directory `/tmp/wine-20021031/unicode'
./tools/makedep -I. -I. -I./include -I./include  -C.
make[1]: Entering directory `/tmp/wine-20021031/library'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/wine-20021031/library'
make[1]: Entering directory `/tmp/wine-20021031/ole'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/wine-20021031/ole'
make[1]: Entering directory `/tmp/wine-20021031/unicode'
make[1]: *** No rule to make target `../includ', needed by `wctype.o'.  Stop.
make[1]: Leaving directory `/tmp/wine-20021031/unicode'
make: *** [unicode] Error 2

Compilation failed, aborting install.
[watson@Watson tools]$

何解?
发表于 2002-11-5 22:53:34 | 显示全部楼层
请问liguojie兄,你的是什么系统,如何成功安装?
发表于 2002-11-5 23:04:16 | 显示全部楼层
我用的是rhlinux8.0,编译时好象挺顺利的,你是用的普通用户编译\安装的吧?
发表于 2002-11-6 00:01:22 | 显示全部楼层
编译了快30分钟了还没有完,要这么久吗?
早知道装个RPM包得了:
这里是RPM包下载:
http://wine.dataparty.no/
发表于 2002-11-6 00:26:43 | 显示全部楼层
编译完了,最后显示:(用了近一个小时)
*************************************************
*************************************************

Create local config file ~/.wine/config?
(yes/no) yes

Searching for an existing Windows installation... found.

Created /home/dreamrise/.wine/config using your existing Windows installation.
You probably want to review the file, though.

Checking for real Windows registry...
Windows registry found, will not install default Wine registry.


Installation complete for now. Good luck (this is still alpha software).
If you have problems with WINE, please read the documentation first,
as many kinds of potential problems are explained there.
发表于 2002-11-6 00:30:21 | 显示全部楼层
::我的config文件

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

[Drive C]
"ath" = "/win/c"
"Type" = "hd"
"Filesystem" = "vfat"

[Drive D]
"ath" = "/win/d"
"Type" = "hd"
"Filesystem" = "vfat"

[Drive E]
"ath" = "/mnt/cdrom"
"Type" = "cdrom"
"Device" = "/dev/cdrom"
"Filesystem" = "win95"

[Drive F]
"ath" = "/tmp"
"Type" = "hd"
"Filesystem" = "win95"

[Drive G]
"ath" = "${HOME}"
"Type" = "network"
"Filesystem" = "win95"

[wine]
"windows" = "C:\\windows"
"system" = "C:\\windows\\SYSTEM"
"path" = "C:\\windows\\system32\\dllcache;C:\\windows\\system32;C:\\windows\\system32\\inetsrv;C:\\windows\\system32\\wbem;C:\\windows\\$NtUninstallQ324096$;C:\\windows\\msagent\\intl;C:\\windows;C:\\windows\\system;C:\\windows\\system32\\Setup;C:\\windows\\ime\\imjp8_1;C:\\windows\\system32\\usmt;C:\\windows\\$NtUninstallQ327696$;C:\\windows\\msagent;C:\\windows\\pchealth\\helpctr\\Binaries;C:\\windows\\Downloaded Program Files;C:\\windows\\system32\\Adobe\\SVG Viewer;C:\\windows\\$NtUninstallQ309521$;C:\\windows\\system32\\spool\\drivers\\w32x86\\3;C:\\windows\\ime\\imjp8_1\\applets;C:\\windows\\system32\\oobe;C:\\windows\\AppPatch;C:\\windows\\Installer\\{6C31E111-96BB-4ADC-9C81-E6D3EEDDD8D3};C:\\windows\\$NtUninstallQ319733$;C:\\windows\\Driver Cache\\i386;C:\\windows\\Help;C:\\windows\\$NtUninstallQ315000$;C:\\windows\\system32\\ime\\unispim;C:\\windows\\WinSxS\\x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries_6595b64144ccf1df_6.0.0.0_x-ww_ff9986d7;C:\\windows\\$NtUninstallQ319580$;C:\\windows\\ime\\shared\\res;C:\\windows\\ime\\chtime\\Applets;C:\\windows\\$xpsp1hfm$\\q329048;C:\\windows\\ime\\imkr6_1;C:\\windows\\$NtUninstallQ318138$;C:\\windows\\system32\\Com;C:\\windows\\srchasst;C:\\windows\\$NtUninstallQ314147$;C:\\windows\\ime\\shared;C:\\windows\\ime;C:\\windows\\system32\\ime\\pintlgnt;C:\\windows\\system32\\ime\\tintlgnt;C:\\windows\\$xpsp1hfm$\\q329048\\update;C:\\windows\\$NtUninstallQ317277$;C:\\windows\\ime\\chsime\\applets;C:\\windows\\system32\\ime\\cintlgnt;C:\\windows\\ime\\imkr6_1\\Applets;C:\\windows\\WinSxS\\x86_Microsoft.Windows.CPlusPlusRuntime_6595b64144ccf1df_7.0.0.0_x-ww_2726e76a;C:\\windows\\system32\\npp;C:\\windows\\$xpsp1hfm$\\q329834\\update;C:\\windows\\Temp;C:\\windows\\$xpsp1hfm$\\q329834;C:\\windows\\system32\\Restore;C:\\windows\\$NtUninstallQ329048$;C:\\windows\\$NtUninstallQ324380$\\spuninst;C:\\windows\\system32\\ReinstallBackups\\0003\\DriverFiles\\i386;C:\\windows\\$NtUninstallQ320174$;C:\\windows\\system32\\mui\\0804;C:\\windows\\$NtUninstallQ309521$\\spuninst;C:\\windows\\Resources\\Themes\\Luna\\Shell\\Homestead;C:\\windows\\ime\\imkr6_1\\Dicts;C:\\windows\\Resources\\Themes\\Luna\\Shell\\NormalColor;C:\\windows\\$NtUninstallQ319733$\\spuninst;C:\\windows\\Downloaded Program Files\\3721;C:\\windows\\Resources\\Themes\\Luna\\Shell\\Metallic;C:\\windows\\$NtUninstallQ326830$\\spuninst;C:\\windows\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a;C:\\windows\\$NtUninstallQ311967$\\spuninst;C:\\windows\\$NtUninstallQ323172$\\spuninst;C:\\windows\\$NtUninstallQ315000$\\spuninst;C:\\windows\\system32\\wbem\\xml;C:\\windows\\Installer\\{57D62939-0E6C-45FA-B3AB-DBB31DC21456};C:\\windows\\$NtUninstallQ320174$\\spuninst;C:\\windows\\Help\\Tours\\mmTour;C:\\windows\\$NtUninstallQ323172$;C:\\windows\\$NtUninstallQ311889$\\spuninst;C:\\windows\\$NtUninstallQ318138$\\spuninst;C:\\windows\\system32\\ReinstallBackups\\0004\\DriverFiles\\i386;C:\\windows\\WinSxS\\x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries.Resources_6595b64144ccf1df_6.0.0.0_zh-CN_5e1fba9c;C:\\windows\\system32\\1033;C:\\windows\\WinSxS\\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.0.0_x-ww_8d353f13;C:\\windows\\inf;C:\\windows\\$NtUninstallQ324380$;C:\\windows\\$NtUninstallQ329048$\\spuninst;C:\\windows\\system32\\MsDtc\\Trace;C:\\windows\\$NtUninstallQ313450$\\spuninst;C:\\windows\\$NtUninstallQ314147$\\spuninst;C:\\windows\\$NtUninstallQ314862$\\spuninst;C:\\windows\\$NtUninstallQ315403$\\spuninst;C:\\windows\\$NtUninstallQ313450$;C:\\windows\\$NtUninstallQ311889$;C:\\windows\\pchealth\\UploadLB\\Binaries;C:\\windows\\Installer\\{350C97B5-3D7C-4EE8-BAA9-00BCB3D54227};C:\\windows\\$NtUninstallQ329834$\\spuninst;C:\\windows\\$NtUninstallQ319580$\\spuninst;C:\\windows\\$NtUninstallQ314862$;C:\\windows\\$NtUninstallQ324096$\\spuninst;C:\\windows\\$NtUninstallQ317277$\\spuninst;C:\\windows\\$NtUninstallQ327696$\\spuninst;C:\\windows\\system32\\2052;C:\\windows\\$NtUninstallQ326830$"
"temp" = "/tmp"


[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
;"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

; Be careful here, wrong DllOverrides settings have the potential
; to pretty much kill your setup.
[DllOverrides]
; some dlls you may want to change
"oleaut32"     = "builtin, native"
"ole32"        = "builtin, native"
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"shell"        = "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"
; you can specify applications too
; this one will apply for all notepad.exe
;"*notepad.exe" = "native, builtin"
; this one will apply only for a particular file
;"C:\\windows\\regedit.exe" = "native, builtin"
; default for all other dlls
"*" = "builtin, native"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"rivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"erfectGraphics" = "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" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use the take focus protocol
"UseTakeFocus" = "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 the Fonts topic in the Wine User Guide 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-"

; the TrueType font dirs you want to make accessible to wine
[FontDirs]
;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
;"dir2" = "/usr/share/fonts/truetype"
;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
;"dir4" = "/usr/share/fonts/TT"

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

[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"SpyExclude" = "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
; Where to find the global registries
;"GlobalRegistryDir" = "/etc";
; 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
; "eriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win95"

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

[Clipboard]
"ClearAllSelections" = "0"
"ersistentSelection" = "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"
#"Drivers" = "winearts.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"

;; sample AppDefaults entries
;[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" = "800x600"
;
;[AppDefaults\\sol.exe\\Version]
;"Windows" = "nt40"
;
;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
;; You can add an AppDefault entry like this for such cases.
;[AppDefaults\\pickygame.exe\\dsound]
;"EmulDriver" = "N"
发表于 2002-11-6 00:36:39 | 显示全部楼层
我的机器配置情况:
AMD ATHOLON 850
256 MB
一个 40 GB 装WINDOWS
一个 4  GB 装REDHAT 8.0
SAVAGE 4
CREATIVE CM6550 ( SB 168PCI )

操作系统情况:
WINXP 在 C:\WINDOWS
WIN98 在 C:\WIN98

分区情况:
40GB 分了两个FAT32分区
4 GB 分了一个EXT3分区、一个SWAP分区
两个FAT32挂在LINUX下位置为/win/c 和 /win/d
发表于 2002-11-6 01:03:55 | 显示全部楼层
目前已成功运行以下程序
editplus.exe
ultraedit.exe
notepad.exe
但是不能编辑中文文件


成功了50%;明天继续干!

POWER BY DREAMRISE
发表于 2002-11-6 17:10:37 | 显示全部楼层

已经上CS了,哈!!

已经上CS了,哈!!
发表于 2002-11-6 17:13:31 | 显示全部楼层
请问楼上 ,你指的是什么?
cs 什么压!::??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表