#35530 [NEW]: bz2 extension doesn't compile
| From: | dolecek at sky dot cz | Date: | Sat, 03 Dec 2005 13:20:20 +0000 |
| Subject: | #35530 [NEW]: bz2 extension doesn't compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-89673@lists.php.net to get a copy of this message | ||
From: dolecek at sky dot cz
Operating system: NetBSD 3.0
PHP version: 5.1.1
PHP Bug Type: Compile Failure
Bug description: bz2 extension doesn't compile
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 bug report at http://bugs.php.net/?id=35530&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35530&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35530&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35530&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35530&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35530&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35530&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35530&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35530&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35530&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35530&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35530&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35530&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35530&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35530&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35530&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35530&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35530&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35530&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35530&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35530&r=mysqlcfg