From: Charles W. <cwi...@us...> - 2008-03-28 13:36:08
|
Atsushi SAKAI wrote: > Is there any latest zlib source code packages for MSYS available? Yes. You've already found it. > I am trying to create msys-z.dll on MSYS. > So I use the code zlib-1.2.3-MSYS-1.0.11-1-src.tar.bz2. Are you SURE you want msys-z.dll? This is a zlib library that requires the GPL'ed msys-1.0.dll to operate. Which means that any client code that uses msys-z.dll must be released under the GPL. (and, zlib-1.2.3-MSYS-1.0.11-1.tar.bz2 already provides msys-z.dll). Most people shouldn't concern themselves with MSYS components; they should be regarded as TOOLS useful for building *mingw* (that is, native win32) items. Unless you want to help create those tools. I think it is more likely that you really want a native version of zlib (e.g. libz.dll) as the other correspondent suggested. Google 'zlib mingwPORT'. That having been said, to compile MSYS components, you need several things. First, you have to install the files in the MSYS System Builder Technology Preview: msysDVLPR-1.0.0-alpha-1 release category, including: msysDVLPR-1.0.0-alpha-1.tar.gz and updating with autoconf-2.61-MSYS-1.0.11-1.tar.bz2 automake-1.10-MSYS-1.0.11-1.tar.bz2 libtool1.5-1.5.25a-20070701-MSYS-1.0.11-1.tar.bz2 termcap-20050421-MSYS-1.0.11-1.tar.bz2 Secondly, you have to launch msys.bat with the argument "MSYS". This will set the appropriate environment variables and set your PATH so that the msysDVLPR gcc (a variant of gcc-2.95.3) appears in your PATH before the mingw gcc-3.4.5. THEN the msys-build-zlib script inside zlib-1.2.3-MSYS-1.0.11-1-src.tar.bz2 will work for you. -- Chuck |