Install wine1.5


sudo apt-build --reinstall install wine # wine1.5
錯誤訊息:
E: The value 'apt-build' is invalid for APT::Default-Release as such a release is not available in the sources
apt-build version 0.12.42
雖然有錯誤訊息,不過編譯完的檔案放在 /var/cache/apt-build/repository/
自己再用 dpkg -i 手工安裝就好。
原因看來似乎是apt-build的bug? from here

# Get cpu information
cat /proc/cpuinfo
AMD Phenom(tm) II X4 945 Processor -> amdfam10
File: /etc/apt/apt-build.conf
build-dir = /var/cache/apt-build/build
repository-dir = /var/cache/apt-build/repository
Olevel = -O2
mtune = -march=amdfam10
options = " -pipe -mmmx -msse -msse2 -msse3 -msse4a -m3dnow -mpopcnt -fomit-frame-pointer -mabm -combine"
make_options = " -j4"
依照這樣的設定,大約15分鐘就可以編譯完成。比起我之前的編譯設定,速度實在是快很多啊。
參考文章:

沒有留言:

張貼留言