在64位元環境下編譯安裝wine 32bit/64bit

  ubuntu升上9.10後,wine就變得怪怪的,安裝時只能裝套件管理程式的wine 1.2,卻無法安裝主要的wine,從軟體中心安裝也會出現相依性錯誤,只裝1.2的話,運行部份程式又會出錯,最後只好自己手動編譯wine了。

Error appearing in Ubuntu Software Center:

Error appearing in Synaptic

[Download source code]
http://sourceforge.net/projects/wine/files/Source/Download source code,Currently the latest version is 1.1.33
After download is complete,Right-click to extract

[Compile/Install for 32bit Wine]
● Preparations
wget http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh
sudo sh install-wine-deps.sh
These are the environment packages needed to compile 32-bit Wine

● Compile/Install
./configure
make depend
make
sudo make install
The 'make' process takes about half an hour

● Run
wine "檔案名稱",例如:wine notepad

●移除
sudo make uninstall wine

【編譯/安裝 for 64bit wine】
● Compile/Install
./configure –enable-win64
make depend
make
sudo make install
make同樣會花很久的時間

●運行/移除
同32位元說明

  雖然最後我的問題還是沒有解決但還是把花了一個早上研究的結果給紀錄一下另外要說明的是若是安裝64位元的wine將只能執行64位元的win程式,If you run the 32-bit version, you will get an error message。


[Related Links]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.