Problem with SDL-1.2.13 installation

Hi All,

I am trying to setup QEMU on Windows XP. I have followed the below steps for
the same:================================================

1.Install MinGW-5.1.4.exe

  • Which MinGW package do you wish to install? --> Candidate

  • Select the type of install --> Minimal

2.Install MSYS-1.0.10.exe

3.Unpack msysCORE-1.0.11-20080826 and overwrite them at c:\msys\1.0\

4.Execute C:\msys\1.0\postinstall\pi.bat and setup c:/MinGW

Now doubleclick msys icon and check it runs good.

5.Install msysDTK-1.0.1.exe

6.Unpack bash-3.1-MSYS-1.0.11-snapshot.tar.bz2 and overwrite them at

7.Unpack MSYS-1.0.11-20090105-dll.tar and overwrite them at c:\msys\1.0\

Now, run msys and below is excuted in msys shell.

  1. tar -C /MinGW -xzvf directx-devel.tar.tar

  2. Install SDL-1.2.13.tar.tar

tar xzvf SDL-1.2.13.tar.tar

cd SDL-1.2.13

./configure --prefix=/MinGW && make && make install

  1. Install zlib-1.2.3.tar.gz

tar xzvf zlib-1.2.3.tar.gz

cd zlib-1.2.3

./configure --prefix=/MinGW && make test && make install


Currently, I am facing problem with the installation of SDL. When i
run the command ./configure --prefix=/MinGW && make && make install
in the SDL-1.2.13 folder, i get “sh.exe – Application error” 6 or 7
times followed by the below error:

“checking build system type… config.guess: cannot create a temporary
directory in /tmp
configure: error: cannot guess build type; you must specify one”

Could some one please help me to resolve this problem ?