1.ubuntuä¸å®è£
wine
ubuntuä¸å®è£ wine
Ubuntuå®è£ wineä¸è¬ä½¿ç¨ä¸¤ç§æ¹å¼ï¼æºç ç¼è¯æè ä»ç½ç»æºå®è£ ã æºç ç¼è¯å®è£ ç¸å¯¹æ¯è¾ç¨³å®ï¼é度快ãæçé«ï¼ä½æ¯éè¦æ¶é´ç¼è¯ï¼ç¸æ¯ä¸åéçæºå®è£ ï¼å ååéçç¼è¯ç¡®å®å¾é¿ãæºå®è£ æ¯å«äººå·²ç»å¸®ä½ ç¼è¯å¥½çäºï¼ä½æ¯å®è£ 以ååºç°åéå¥æªé®é¢çå çè¾é«ãä¸è¬æ¥è¯´æ¯è¿æ ·ï¼æ以è¿æ¯ç¼è¯å®è£ æ¯è¾å¥½ã
ç¼è¯å®è£ æ让人头ççæ¯è§£å³å çä¾èµæ§é®é¢ãå®è£ wineä½ éè¦å®è£ ä¸é¢çå ï¼åªè¦ä½ çubuntuè½å¤ä¸ç½ï¼æå¯ç¨çå®è£ æºï¼é£å°±å¯ä»¥æ¯è¾è½»æ¾äºã
1ãæå¼ç»ç«¯ï¼è¾å ¥
代ç :
sudo apt-get install flex bison
代ç :
sudo apt-get install build-essential
代ç :
sudo apt-get install gcc libc6-dev fakeroot libglib1.2-dev libglib2.0-dev libltdl3-dev libmad0-dev libmng-dev libodbcinstq1c2 libogg-dev libpng-dev libqt3-headers libqt3-mt-dev libvorbis-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxtrap-dev libxtst-dev libxv-dev libxxfdga-dev qt3-dev-tools render-dev unixodbc-dev x-dev xproto-record-dev xproto-trap-dev xproto-video-dev xproto-xfdga-dev xlibs-dev fontforge flex bison libxext6
æ示è¾å ¥å¯ç æ¶è¾å ¥å¯ç ï¼è¾å ¥æ¶å±å¹ä¸ä¼åºç°æåï¼ç¡®è®¤è¾å ¥æ£ç¡®åæå车就å¯ä»¥äºã注ææ¯ä¸ªå çååä¹é´è¦æç©ºæ ¼ã
2ãä¸è½½ææ°çWineçæºç å ï¼ææ°çæ¯1.1.0ï¼æå å¥æ³¨éï¼å½æ¶ä»åæ¶è¿æ¯1.0æ£å¼åå¸çç)
åºç°å¯¹è¯æ¡åï¼ç¹å»installï¼ç¨åºä¼èªå¨ä¸è½½å®è£ geckoï¼å¤§æ¦éè¦åéï¼å®è£ æåä¼åºç°googleçä¸æ主页ã
4ãä¸æ设置
è¿ä¸ªæ¹æ³çä¸æ设置ï¼å¯ä»¥è§£å³CS1.6çä¸ææ¾ç¤ºï¼å¯ä»¥å®å ¨æ¾ç¤ºã
æä¸é¢è¿æ®µä»£ç å¦å为zh.reg ï¼ç¶åå¨ç»ç«¯ä¸é¢è¾å ¥ï¼âregedit zh.regâ ä»Windowsç®å½ä¸çFontséçsimsun.ttcå¤å¶å°/home/user/.wine/drive_c/windows/fontséé¢ã
代ç :
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="simsun"
"Arial CE,源码php论坛源码免费"="simsun"
"Arial CYR,"="simsun"
"Arial Greek,"="simsun"
"Arial TUR,"="simsun"
"Courier New"="simsun"
"Courier New CE,"="simsun"
"Courier New CYR,"="simsun"
"Courier New Greek,"="simsun"
"Courier New TUR,"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,"="simsun"
"Times New Roman CYR,"="simsun"
"Times New Roman Greek,"="simsun"
"Times New Roman TUR,"="simsun"
"Tms Rmn"="simsun"
5ãé¨åDLL设置
å°çå®windowsä¸çsystemæ件夹ï¼C:\WINDOWS\systenmï¼éå¤å¶ mfc.dll,msvcp.dll,riched.dll,riched.dllè¿å 个æ件å°/home/user/.wine /drive_c/windows/systemæ件éï¼éè¦è¦çæ¶ç¡®å®ãå ¶ä»dllæ件ä¸è¦é便è¦çï¼è¦åå¤ä»½ã
6ãå¦æç¼è¯å®è£ éä¸åºç°ç±»ä¼¼ä¸é¢çé误ï¼æ¤æ®µè±è¯æ¯å ä¸ºä½ æ²¡æå®è£ ç¸å ³çdevelæ¯æï¼å¦ææ¯ç¨gonmeæ¡é¢çï¼è¯·å¨æ¡é¢è¾å ¥ï¼sduo apt-get install gnome-devel ä¸è½½å®è£ å®åå次æ§è¡ç¼è¯å®è£ wineå³å¯ã
configure: WARNING: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need to install
development packages of Xlib/Xfree at the very least