php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56811 doesn't compile with zlib 1.2.2
Submitted: 2006-01-31 12:41 UTC Modified: 2006-01-31 14:00 UTC
From: indeyets at gmail dot com Assigned: mike (profile)
Status: Closed Package: pecl_http (PECL)
PHP Version: 5.1.1 OS: FreeBSD 5.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: indeyets at gmail dot com
New email:
PHP Version: OS:

 

 [2006-01-31 12:41 UTC] indeyets at gmail dot com
Description:
------------
ZLIB 1.2.2 and earlier doesn't have Z_FIXED constant. it appeared in some newer version.
This should be added to requirements or, maybe, some other compression-strategy should be chosen for earlier versions.

Actual result:
--------------
 gcc -I. -I/tmp/tmpyNiIaV/pecl_http-0.21.0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-0.21.0/include -I/var/tmp/pear-build-root/pecl_http-0.21.0/main -I/tmp/tmpyNiIaV/pecl_http-0.21.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpyNiIaV/pecl_http-0.21.0/http_encoding_api.c  -fPIC -DPIC -o .libs/http_encoding_api.o
/tmp/tmpyNiIaV/pecl_http-0.21.0/http_encoding_api.c: In function `_http_encoding_deflate':
/tmp/tmpyNiIaV/pecl_http-0.21.0/http_encoding_api.c:298: error: `Z_FIXED' undeclared (first use in this function)
/tmp/tmpyNiIaV/pecl_http-0.21.0/http_encoding_api.c:298: error: (Each undeclared identifier is reported only once
/tmp/tmpyNiIaV/pecl_http-0.21.0/http_encoding_api.c:298: error: for each function it appears in.)
/tmp/tmpyNiIaV/pecl_http-0.21.0/http_encoding_api.c: In function `_http_encoding_deflate_stream_init':
/tmp/tmpyNiIaV/pecl_http-0.21.0/http_encoding_api.c:400: error: `Z_FIXED' undeclared (first use in this function)
*** Error code 1

Stop in /var/tmp/pear-build-root/pecl_http-0.21.0.
ERROR: `make' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-31 14:00 UTC] mike@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Thanks, I hope I'll be able to release v.22 in the next days.

You should be able to build with -DZ_FIXED=0
It's not used as default strategy.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC