[php-src] Issue #8434: can't build tokenizer.so cause make fail

From: Date: Sun, 24 Apr 2022 06:55:23 +0000
Subject: [php-src] Issue #8434: can't build tokenizer.so cause make fail
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241209@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8434 Author: evrinoma ### Description Hi I was trying to build tokenizer and catch next error The following code: ```bash ./configure && make ``` Resulted in this output: ``` make: *** No rule to make target '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.y', needed by '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.c'. Stop. ``` found solution by fixing Makefile.frag ```c $(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 ``` ### PHP Version PHP 8.1.5 ### Operating System REHL

« previous php.bugs (#241209) next »