|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: linux at tuxalafenetre dot net
New email:
PHP Version: OS:


 [2011-05-02 07:43 UTC] linux at tuxalafenetre dot net
I can't build htscanner.

Reproduce code:
./configure --enable-htscanner


pecl install htaccess-beta

Expected result:
should build

Actual result:
/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


Add a Patch

Pull Requests

Add a Pull Request


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-2022 The PHP Group
All rights reserved.
Last updated: Sat May 21 06:03:42 2022 UTC