com php-src: Fix #78460: PEAR installation failure: configure.ac
| From: | Peter Kokot | Date: | Fri, 30 Aug 2019 02:26:05 +0000 |
| Subject: | com php-src: Fix #78460: PEAR installation failure: configure.ac | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108144@lists.php.net to get a copy of this message | ||
Commit: 18a2f0849ff644b2e7921e287d5ae9e84a19aa71
Author: Peter Kokot <peterkokot@gmail.com> Wed, 28 Aug 2019 17:21:46 +0200
Parents: 48ff226caeaef37863736297bbe807ac5ec4784b
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=18a2f0849ff644b2e7921e287d5ae9e84a19aa71
Log:
Fix #78460: PEAR installation failure
When building PHP outside of the source tree:
mkdir custom-build-dir
cd custom-build-dir
../path/to/php-src/configure
The directories need to be manually created including the pear directory
so the pear installation PHAR file doesn't need to be downloaded from
the remote location.
Closes GH-4639
Bugs:
https://bugs.php.net/78460
Changed paths:
M configure.ac
Diff:
diff --git a/configure.ac b/configure.ac
index 6819e77..8f19fe0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1550,6 +1550,8 @@ PHP_GEN_GLOBAL_MAKEFILE
AC_DEFINE([HAVE_BUILD_DEFS_H], 1, [ ])
+dnl Make directories when building in a separate build directory.
+$php_shtool mkdir -p pear
$php_shtool mkdir -p scripts
$php_shtool mkdir -p scripts/man1