[php-src] Issue #19021: Compiling php 8.4.10 with --with-tidy flag failed

From: Date: Thu, 03 Jul 2025 14:16:27 +0000
Subject: [php-src] Issue #19021: Compiling php 8.4.10 with --with-tidy flag failed
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-250372@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/19021 Author: InputOutputZ ### Description Hi there, I just cloned php 8.4.10 and tried to compile it and it failed, it throws:- /tidy/tidy.dep -MT ext/tidy/tidy.lo /root/php-src/ext/tidy/tidy.c: In function ‘_php_tidy_set_tidy_opt’: /root/php-src/ext/tidy/tidy.c:238:40: error: ‘TidyInternalCategory’ undeclared (first use in this function) 238 | if (tidyOptGetCategory(opt) == TidyInternalCategory) { | ^~~~~~~~~~~~~~~~~~~~ /root/php-src/ext/tidy/tidy.c:238:40: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:2868: ext/tidy/tidy.lo] Error 1 make: *** Waiting for unfinished jobs.... I can confirm this issue doesn't exist at least in php 8.4.8, 8.4.7, 8.4.6 as I was able to compile php with same configuration. Any recommendation? With thanks. Zak. ### PHP Version ```plain PHP 8.4.10 ``` ### Operating System Centos 7

« previous php.bugs (#250372) next »