Package Details: mingw-w64-zlib 1.2.11-1

Git Clone URL: (read-only, click to copy)
Package Base: mingw-w64-zlib
Description: A compression/decompression Library (mingw-w64)
Upstream URL:
Licenses: custom:zlib
Submitter: ekpyron
Maintainer: xantares
Last Packager: xantares
Votes: 44
Popularity: 0.20
First Submitted: 2012-03-22 22:55
Last Updated: 2017-01-16 18:01

Latest Comments

1 2 Next › Last »

svkampen commented on 2020-12-17 17:17

Oh, also, the sed command in build() uses -ie where it should probably use -i -e; the e is interpreted as a suffix instead of the -e flag.

svkampen commented on 2020-12-17 17:13

Building this fails for me:

Using ar
Checking for x86_64-pc-linux-gnu-gcc...
Checking for shared library support...
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.11 with x86_64-pc-linux-gnu-gcc.
Checking for size_t... No.
Checking for long long... Yes.
Failed to find a pointer-size integer type.
** ./configure aborting.

As you can see, it also seems to use the wrong compiler binary (the host gcc).

Adding CC=${_arch}-gcc before the ./configure command makes it build successfully.

Edric commented on 2015-05-13 15:40

Had the same problem, in the configure.log i seen it was trying to compile with native gcc and it was not installed. Installed gcc ... no more problem...

ekpyron commented on 2014-11-27 11:57


Do you maybe have some weird CFLAGS set in /etc/makepkg.conf? Anyways I also never saw that error before, but I updated the PKGBUILD to not only override the CFLAGS during make, but also during ./configure - maybe that solves your problem?

beda121 commented on 2014-11-26 09:25

I cannot compile it:

Using ar
Checking for x86_64-unknown-linux-gnu-gcc...
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.

Never seen this before.

ekpyron commented on 2014-10-30 14:53


I changed the flags, but I don't think it's a good idea to force the use of cmake as long as the package can be built without it.

xantares commented on 2014-10-30 14:37

could you use these flags:"-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
instead of "-DNO_FSEEKO -Wall -O3", (why -DNO_FSEEKO?)

else there's a cmake build system, maybe we could use that? (correct flags are set in mingw-cmake)

xantares commented on 2014-10-30 14:36

could you use these flags:"-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
instead of "-DNO_FSEEKO -Wall -O3"

else there's a cmake build system, maybe we could use that

ekpyron commented on 2014-02-06 07:20

It's fixed, thank you.

xantares commented on 2014-02-05 10:53

dll should be 755:
install -m755 -t "${pkgdir}/usr/${_arch}/bin" zlib1.dll