|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-12-10 11:53 UTC] alexander at kachkaev dot ru
-: reg at kachkaev dot ru
+: alexander at kachkaev dot ru
[2012-12-10 11:53 UTC] alexander at kachkaev dot ru
[2012-12-10 16:09 UTC] andrey@php.net
[2012-12-10 16:09 UTC] andrey@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: andrey
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 01:00:01 2025 UTC |
Description: ------------ An attempt to install the package on php 5.4 results an error saying statistics.c:165:2: error: unknown type name 'pval'; did you mean 'zval'? pval result; ^~~~ This happens because type pval has been completely removed from php since 5.4. As a temporary workaround, it is required to manually replace pval with zval in statistics.c, for more details see http://allabouthobby.blogspot.co.uk/2012/09/phpize-error-unknown-type-name-pval.html Test script: --------------- pecl install stats Expected result: ---------------- Package installed successfully Actual result: -------------- statistics.c:165:2: error: unknown type name 'pval'; did you mean 'zval'? pval result; ^~~~ ... 8 warnings and 7 errors generated. make: *** [statistics.lo] Error 1 ERROR: `make' failed