[php-src] Issue #8434: phpize builds of ext/tokenizer fail

From: Date: Mon, 25 Apr 2022 10:48:53 +0000
Subject: [php-src] Issue #8434: phpize builds of ext/tokenizer fail
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241223@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8434 Comment Author: evrinoma Сould you give me another way how to build this extension? I have not see specific argument to build this extension with engine, just one argument like --disable-tokenizer (Disable tokenizer support) but I've built php without this argument, and engine doesn't support tokenizer still also patch should looks like ```diff diff --git a/ext/tokenizer/Makefile.frag b/ext/tokenizer/Makefile.frag index 745cbfce91..21b9349a51 100644 --- a/ext/tokenizer/Makefile.frag +++ b/ext/tokenizer/Makefile.frag @@ -1,4 +1,4 @@ -$(top_srcdir)/ext/tokenizer/tokenizer_data.c: $(top_srcdir)/Zend/zend_language_parser.y +$(top_srcdir)/ext/tokenizer/tokenizer_data.c: $(top_srcdir)/Zend/zend_language_parser.h @if test ! -z "$(PHP)"; then \ $(PHP) $(srcdir)/tokenizer_data_gen.php; \ fi; -$(builddir)/tokenizer.lo: $(top_srcdir)/Zend/zend_language_parser.c $(top_srcdir)/Zend/zend_language_scanner.c ``` and the building was successful and make test too ¯\\\_(ツ)\_/¯

« previous php.bugs (#241223) next »