Hello David, On Tue, Nov 08, 2011 at 09:45:25AM +0100, David Guibert wrote: > > I'd like to see a clearer explanation of the zlib error. The zlib release is > > from more than one year ago. Isn't cmake broken instead of zlib? > > Zlib is broken. Its header file unfortunately duplicates function > declarations when the functions are changed to > 64 bits and when the large file support is activated.
But it worked until now. > At work, I googled quickly to find a fix. I found the luatex link, but > today a deeper search shows that other distrib patch zlib: > - Gentoo > (http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch?revision=1.3&view=markup), They say: try to unbreak over-eager LFS logic in zlib header. Which I don't really understand, as it changes ifdef to ifndef. > - Slackware also > (http://slackware.cs.utah.edu/pub/slackware/slackware-current/source/l/zlib/). Their comment says: The issue stems from misuse of zlib by other libraries, but there's no other good place to put this fix. >From this, I think it is not a zlib problem. Zlib worked in nixpkgs for more than one year. Regards, Lluís. _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev