Skip to content

Compiling php 8.4.10 with --with-tidy flag failed #19021

Closed
@InputOutputZ

Description

@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

PHP 8.4.10

Operating System

Centos 7

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions