Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: make: Fatal error: Command failed for target `all-recursive' |
|
Author |
|
mroofy
Joined: 19 Jun 2017 Posts: 2 Location: Cairo
|
Posted: Tue 27 Jun '17 8:24 Post subject: make: Fatal error: Command failed for target `all-recursive' |
|
|
I have downloaded the latest versions of Apache 2.4.26, apr-1.6.2, apr-util-1.6.0 , pcre2-10.23, openssl-1.0.2k.
I ran the configure command and all is configured smoothly, however when I run make command for httpd, i get the following error during the build. I have also tried gmake, but nothing changed.
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /Apache/httpd-2.4.26/modules
*** Error code 1
The following command caused the error:
if test `pwd` = "/Apache/httpd-2.4.26"; then \
echo "" ; \
fi; \
list='srclib os server modules support'; for i in $list; do \
target="shared-build"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-shared-build"; \
fi; \
if test "$i" != "srclib"; then \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test -f 'modules.mk'; then \
if test -n ''; then \
echo "Building shared: "; \
if test "$made_local" != "yes"; then \
make "local-shared-build" || exit 1; \
fi; \
fi; \
fi; \
if test `pwd` = "/Apache/httpd-2.4.26"; then \
echo "" ; \
fi
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /Apache/httpd-2.4.26
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \
list=' srclib os server modules support'; \
for i in $list; do \
if test -d "$i"; then \
target="$otarget"; \
echo "Making $target in $i"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive' |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 28 Jun '17 17:13 Post subject: |
|
|
do not use pcre2-* but pcre-8 |
|
Back to top |
|
|
|
|
|
|