顯示具有 wine 標籤的文章。 顯示所有文章
顯示具有 wine 標籤的文章。 顯示所有文章

2008年9月18日 星期四

Run .Net applications on Ubuntu

1. you'll have to install wine and mono, standard compliant .NET compatible set of tools.

sudo apt-get install wine mono

2. run .net applications as common win32 program

wine /path/filename

3. you may suffer this kind of problem related to gdiplus.dll like below

wine: Call from 0x7b844b20 to unimplemented function gdiplus.dll.GdipCreateFontFamilyFromName, aborting

wine: Unimplemented function gdiplus.dll.GdipCreateLineBrushI called at address 0x7b844940 (thread 0009), starting debugger...

4. download gdiplus.dll from www.dll-files.com and put it in .wine/drive_c/windows/system32 then run again

2007年7月6日 星期五

Fonts of wine disappear on CentOS

Install Microsoft's TrueType core fonts

1. Make sure you have the following rpm-packages installed
# rpm-build
# wget
# ttmkfdir
# cabextract

2. Set up an rpm build environment in your home directory by adding the line %_topdir %(echo $HOME)/rpmbuild to your $HOME/.rpmmacros and create the directories $HOME/rpmbuild/BUILD and $HOME/rpmbuild/RPMS/noarch

3.
# Build the binary rpm
rpmbuild -bb msttcorefonts-2.0-1.spec
# Install the newly built rpm (you will need to be root):
rpm -ivh $HOME/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
# Reload the X font server
/sbin/service xfs reload