Bug #75541 [Opn->Csd]: Compile error as php_smart_string.h incl's non-existent zend_smart_string.h

From: Date: Mon, 20 Nov 2017 10:36:38 +0000
Subject: Bug #75541 [Opn->Csd]: Compile error as php_smart_string.h incl's non-existent zend_smart_string.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212634@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75541&edit=1 ID: 75541 User updated by: raivo dot hool at gmail dot com Reported by: raivo dot hool at gmail dot com Summary: Compile error as php_smart_string.h incl's non-existent zend_smart_string.h -Status: Open +Status: Closed Type: Bug Package: Compile Failure Operating System: FreeBSD 11.1 PHP Version: 7.2.0RC6 Block user comment: N Private report: N New Comment: My mistake. The FreeBSD port simply fails to install zend_smart_string.h. I'll take my complaints elsewhere. Previous Comments: ------------------------------------------------------------------------ [2017-11-20 10:27:02] nikic@php.net This is supposed to work. The file is in Zend/zend_smart_string.h and there should be an -IZend/ argument on the compiler invocation. ------------------------------------------------------------------------ [2017-11-20 10:10:51] raivo dot hool at gmail dot com I will do that. It just caught my eye that a non-existent file is #included. For a moment I thought it *might* be misspelled on purpose, to make the builds fail and the authors to take notice, but then dismissed the idea as I thought it was perhaps too cryptic. ------------------------------------------------------------------------ [2017-11-20 10:06:33] spam2 at rhsoft dot net that bug should have been filed against pecl-redis because as always 7.0/7.1 and now 7.2 includes API changes and extensions needs to be updated to compile against newer PHP versions ------------------------------------------------------------------------ [2017-11-20 09:37:02] raivo dot hool at gmail dot com Description: ------------ I tried to build pecl-redis against PHP 7.2RC6, and tried both the latest stable release (3.1.4) and the git master branch. Both failed with the same result: In file included from ./common.h:419: /usr/local/include/php/ext/standard/php_smart_string.h:21:10: fatal error: 'zend_smart_string.h' file not found #include "zend_smart_string.h" ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 It appears that ext/standard/php_smart_string.h includes zend_smart_string.h, which does not exist. There exists, however, zend_smart_str.h. Including that file allows pecl-redis to build (even though it doesn't actually work yet for unrelated reasons). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75541&edit=1

« previous php.bugs (#212634) next »