php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59742 htscanner don't compile
Submitted: 2011-05-02 07:43 UTC Modified: 2011-05-02 08:32 UTC
From: linux at tuxalafenetre dot net Assigned:
Status: Not a bug Package: htscanner (PECL)
PHP Version: 5.1.6 OS: CentOS Release 5.6
Private report: No CVE-ID: None
 [2011-05-02 07:43 UTC] linux at tuxalafenetre dot net
Description:
------------
I can't build htscanner.

Reproduce code:
---------------
phpize
./configure --enable-htscanner
make

OR

pecl install htaccess-beta

Expected result:
----------------
should build

Actual result:
--------------
make
/bin/sh /root/htscanner-1.0.0/libtool --mode=compile gcc  -I. -I/root/htscanner-1.0.0 -DPHP_ATOM_INC -I/root/htscanner-1.0.0/include -I/root/htscanner-1.0.0/main -I/root/htscanner-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext  -DHAVE_CONFIG_H  -g -O2   -c /root/htscanner-1.0.0/htscanner.c -o htscanner.lo 
mkdir .libs
 gcc -I. -I/root/htscanner-1.0.0 -DPHP_ATOM_INC -I/root/htscanner-1.0.0/include -I/root/htscanner-1.0.0/main -I/root/htscanner-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /root/htscanner-1.0.0/htscanner.c  -fPIC -DPIC -o .libs/htscanner.o
/root/htscanner-1.0.0/htscanner.c: In function 'htscanner_main':
/root/htscanner-1.0.0/htscanner.c:364: error: 'PHP_INI_STAGE_PHP_INI_STAGE_RUNTIME' undeclared (first use in this function)
/root/htscanner-1.0.0/htscanner.c:364: error: (Each undeclared identifier is reported only once
/root/htscanner-1.0.0/htscanner.c:364: error: for each function it appears in.)
make: *** [htscanner.lo] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-02 07:52 UTC] pierre dot php at gmail dot com
We don't support 5.1 anymore, I strongly suggest to update to 
PHP 5.3.
 [2011-05-02 08:32 UTC] linux at tuxalafenetre dot net
OK, I will upgrade soon
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC