#35530 [Opn->Csd]: bz2 extension doesn't compile
| From: | sniper@php.net | Date: | Sat, 03 Dec 2005 13:23:18 +0000 |
| Subject: | #35530 [Opn->Csd]: bz2 extension doesn't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89674@lists.php.net to get a copy of this message | ||
ID: 35530
Updated by: sniper@php.net
Reported By: dolecek at sky dot cz
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: NetBSD 3.0
PHP Version: 5.1.1
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-12-03 14:20:19] dolecek at sky dot cz
Description:
------------
The bz2 extension doesn't compile when building as an extension using
phpize et.al, separately from the main build.
This patch fixes the issue for NetBSD pkgsrc:
--- ext/bz2/bz2_filter.c.orig 2005-11-25 08:40:07.000000000 +0100
+++ ext/bz2/bz2_filter.c 2005-11-25 00:07:50.000000000 +0100
@@ -18,6 +18,10 @@
/* $Id: bz2_filter.c,v 1.3 2005/08/03 14:06:39 sniper Exp $ */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "php.h"
#include "php_bz2.h"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35530&edit=1