Installing Wine 1.5.21 on CentOS 6.3 (64 bit)
$ yum -y install libX11-devel freetype-devel flex bison
$ cd /tmp
$ wget http://garr.dl.sourceforge.net/project/wine/Source/wine-1.5.21.tar.bz2
$ tar -xvf wine-1.5.21.tar.bz2 -C /tmp/
$ cd wine-1.5.21/
$ ./tools/wineinstall
-------If you use 64 bit system, you may got this error message---------------------------------
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries. Configure failed, aborting install.
----------------------------------------------------------------------------------------------------------------------
On 64 bit system you can build only wine-x64 version. So run:
$ ./configure --enable-win64
$ winecfg
Running Wine, example as follow:
$ wine notepad
$ wine notepad.exe
$ wine c:\\windows\\notepad.exe