title: How to install libuuid in MinGW/MSYS?
body: <p>I want to compile a Linux C++ application in MinGW/MSYS. However, when I use <code>./configure --host=i586-mingw32msvc</code>, it complains that <strong>libuuid</strong> is not available.</p>
  
  <p>After googling for a long time, it seems that there is no such package in MinGW repository. So i have downloaded <strong>uuid-dev</strong> source package from Launchpad and try to build it in MinGW/MSYS. However, when i use <code>./configure --host=i586-mingw32msvc</code>, it complains that <strong>ncurses or ncursesw</strong> selected but library is not found.</p>
  
  <p>It seems that there is no such package in MinGW. So i have downloaded <strong>libncurses5.dev</strong> package from Launchpad and try to build it in MinGW/MSYS. When i try to use <code>./configure --host=i586-mingw32msvc</code>, everything seems fine. But, when i run make, it shows a lot of error messages.</p>
  
  <p>Since building <strong>uuid-dev</strong> is unsuccessful, i try to build <strong>e2fsprogs</strong> package in MinGW/MSYS. When i use <code>./configure --host=i586-mingw32msvc</code>, everything seems fine. However, when i try to run make, it shows a lot of error messages.</p>
  
  <p>Appreciate if anyone can show me how to install <strong>libuuid</strong> in MinGW/MSYS. Thanks.</p>