php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56795 filter-0.9.4 fails to compile on systems with PHP 4.x.x
Submitted: 2006-01-24 10:23 UTC Modified: 2006-05-08 13:06 UTC
From: zaa at zaa dot pp dot ru Assigned: pajoye (profile)
Status: Closed Package: filter (PECL)
PHP Version: 4.4.0 OS: Gentoo Linux and FreeBSD
Private report: No CVE-ID: None
 [2006-01-24 10:23 UTC] zaa at zaa dot pp dot ru
Description:
------------
zaa@tech ~/dev/filter-0.9.4 $ uname -mrs
Linux 2.6.12-gentoo-r10 i686
zaa@tech ~/dev/filter-0.9.4 $ phpize 
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20050606
zaa@tech ~/dev/filter-0.9.4 $ php -v
PHP 4.4.0-pl1-gentoo (cli) (built: Jan 18 2006 22:51:42)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
zaa@tech ~/dev/filter-0.9.4 $ ./configure 
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20020429
checking for re2c... exit 0;
checking for mawk... no
checking for gawk... gawk
checking whether to enable input filter support... yes, shared
checking pcre install prefix... no
./configure: line 1899: syntax error near unexpected token `$ext_srcdir/php_filter.h'
./configure: line 1899: `  PHP_INSTALL_HEADERS($ext_srcdir/php_filter.h)'
zaa@tech ~/dev/filter-0.9.4 $ 



below is results for PHP 4.4.1 installation on FreeBSD

kernel:...dev/filter-0.9.4# uname -mrs
FreeBSD 5.4-STABLE i386

kernel:...dev/filter-0.9.4# phpize
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20050606

kernel:...dev/filter-0.9.4# ./configure
checking build system type... i386-unknown-freebsd5.4
checking host system type... i386-unknown-freebsd5.4
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether to enable input filter support... yes, shared
checking pcre install prefix... no
./configure.lineno: 3740: Syntax error: word unexpected (expecting ")")


On systems with PHP 5.x.x the package compiles successfully.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-24 10:26 UTC] derick@php.net
The filter package is PHP 5 only...
 [2006-01-24 10:30 UTC] zaa at zaa dot pp dot ru
Thank you for the information.

However as stated at
http://pecl.php.net/package/filter/

Release 0.9.4:  	PHP Version: PHP 4.0.0 or newer

Could you please fix the description?

Thank you.
 [2006-05-08 13:06 UTC] pierre dot php at gmail dot com
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC