From a161c99f2e8acfecec1cbc76998249f529d1c85d Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 28 Aug 2019 17:21:46 +0200 Subject: [PATCH] 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. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 6819e774a531..8f19fe0e60d1 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