|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-08-27 08:59 UTC] l dot declercq at nuxwin dot com
Description: ------------ The "$php_shtool mkdir -p pear/scripts" statement is not present in the configure.ac leading to PEAR installation failure. PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
Hello, maybe we can get a reproducible procedure here... So basically, this: docker run -it --rm debian bash cd /opt apt update && apt install -y wget make gcc xz-utils libxml2-dev pkgconfig wget https://downloads.php.net/~derick/php-7.4.0beta4.tar.xz tar -xvf php-7.4.0beta4.tar.xz cd php-7.4.0beta4 ./configure --disable-all --enable-xml --with-libxml --with-pear make -j$(nproc) make install which pear pear version This works ok. Yes? The warnings seem to be addressed in the pull request in the pear repo by Nikic now... The line that has been removed in PHP 7.4 in configure.ac is not relevant since there is a packaged phar file appended in the php release download or it is downloaded from the remote location when using Git. This script directory was once part of the PEAR bundled files installation (not packaged into a PHAR single file).@petk Don't known how you have have made your test but please, don't forget that most of time, we will build in dedicated directory, inside the top build directory. For instance: configure: $(CONFIGURE_TARGETS) configure-%-stamp: patch-stamp prepared-stamp rm -rf $*-build mkdir $*-build cd $*-build && CFLAGS="$(CFLAGS)" PROG_SENDMAIL="$(PROG_SENDMAIL)" ../configure ${$*_CONFIG} cd $*-build && \ cp ../Zend/zend_ini_scanner.c ../Zend/zend_language_scanner.c \ ../Zend/zend_ini_parser.h ../Zend/zend_language_parser.h \ ../Zend/zend_ini_parser.c ../Zend/zend_language_parser.c \ Zend/ touch configure-$*-stamp build: $(BUILD_TARGETS) build-%-stamp: configure-%-stamp cd $*-build && make $(NUMJOBS) touch build-$*-stamp