scheduling 5.10.1-12 (doesn't build for me in Squeeze)

Niko Tyni ntyni at debian.org
Thu Apr 8 21:02:41 UTC 2010


On Wed, Apr 07, 2010 at 11:17:34PM +0200, Jeremiah Foster wrote:
 
> 	I cloned the git repo found on git.debian.org for what I believe to be 5.10.1-12 and tried to build. The build failed during make. The relevant error is below:
> 
> Making all in ext/Compress-Raw-Zlib
>  make all PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=dynamic
> make[1]: Entering directory `/home/jeremiah/code/perl/perl5.12/perl/ext/Compress-Raw-Zlib'
> cc -c  -I/usr/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.020\" -DXS_VERSION=\"2.020\" -fPIC "-I../.."  -DGZIP_OS_CODE=3  Zlib.c
> Zlib.xs:34:19: error: zlib.h: No such file or directory

You're missing zlib1g-dev. "apt-get build-dep perl" should help.

Build-Depends: file, cpio (>= 2.6-5), libdb4.7-dev, libgdbm-dev, netbase [!hurd-i386], gcc (>= 4:4.2), procps | hurd, zlib1g-dev | libz-dev, libbz2-dev

> This is kinda weird because I can see zlib.h in the right directory:
> 
> > find . -name zlib.h
> ./ext/Compress-Raw-Zlib/zlib-src/zlib.h

The package is explicitly configured not to use the bundled zlib as
per Debian policy section 4.13. See the debian/disable-zlib-bundling
branch/patch.
-- 
Niko



More information about the Perl-maintainers mailing list