History Of Ticket a39f4ac2fa55a646
  1. Ticket change [313ff0e68c] (rid 1924) by anonymous on 2015-01-30 05:44:44:

    1. Change comment to:

      configure script of zlib 1.2.8 fails and says "Please use win32/Makefile.gcc instead." when $(uname -s) matches with MINGW* or mingw* by case statement of /bin/sh.

      And default Makefile which will be used in this case also says same warnng, but make does not return error. So kitcreator script guesses wrong.

      For example,  I succeeded to build zlib by following.
      (awk line resolves another problem. Because Makefile.gcc resets CC and RC by self.)

          case $(uname -s 2> /dev/null) in
              MINGW* | mingw*)
                  # use win32/Makefile.gcc instead.
                  echo "Running: awk '{if($1~/^[RC]C$/&&$2~/^=/)$2="?"$2;print}' win32/Makefile.gcc > Makefile"
                  awk '{if($1~/^[RC]C$/&&$2~/^=/)$2="?"$2;print}' win32/Makefile.gcc > Makefile

                  echo "Running: ${MAKE:-make}"
                  ${MAKE:-make} || exit 1

                  echo "Running: BINARY_PATH=${INSTDIR}/bin INCLUDE_PATH=${INSTDIR}/include LIBRARY_PATH=${INSTDIR}/lib ${MAKE:-make} install"
                  BINARY_PATH=${INSTDIR}/bin INCLUDE_PATH=${INSTDIR}/include LIBRARY_PATH=${INSTDIR}/lib ${MAKE:-make} install
                  # If we are building for KitDLL, compile with '-fPIC'
                  if [ "${KITTARGET}" = "kitdll" ]; then
                      CFLAGS="${CFLAGS} -fPIC"
                      export CFLAGS

                  # We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
                  # script and will puke
                  echo "Running: ./configure --prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --static"
                  ./configure --prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --static

                  echo "Running: ${MAKE:-make}"
                  ${MAKE:-make} || exit 1

                  echo "Running: ${MAKE:-make} install"
                  ${MAKE:-make} install

    2. Change foundin to "0.9.2"
    3. Change login to "anonymous"
    4. Change severity to "Critical"
    5. Change status to "Open"
    6. Change title to "could not build zlib in mingw"
    7. Change type to "Build Problem"
  2. Ticket change [03552350c8] (rid 1944) by mistachkin on 2015-03-26 02:02:04:

    1. Change icomment to:

      There is an issue with building zlib using MinGW. Using a modified version of your patch, I am able to build zlib. However, the "awk" line caused problems for me here (i.e. complaints about being unable to locate the "cc" command).

    2. Change login to "mistachkin"
    3. Change mimetype to "text/x-fossil-plain"
    4. Change priority to "Immediate"
    5. Change resolution to "Open"
    6. Change subsystem to "Tcl"
  3. Ticket change [1512da93bb] (rid 1949) by mistachkin on 2015-03-26 04:41:20:

    1. Change icomment to:

      This issue should now be fixed on the 'winZlib128' branch.

    2. Change login to "mistachkin"
    3. Change mimetype to "text/x-fossil-plain"
    4. Change status to "Review"
  4. Ticket change [b3c19bddb1] (rid 1962) by mistachkin on 2015-03-30 23:54:47:

    1. Change icomment to "Fixed on trunk via check-in [9ad5a7514f35a5a2]."
    2. Change login to "mistachkin"
    3. Change mimetype to "text/x-fossil-plain"
    4. Change resolution to "Fixed"
    5. Change status to "Closed"