Centos7 has installed apr-util source code to install apache or prompt apr-util not found

arp and apr-util installed successfully
clipboard.png

apache apr-util
clipboard.png

etc/profile

clipboard.png
but, after trying, it still doesn"t work

I"ve been messing around all day. I"d like to ask someone to guide me. Thank you here!

Feb.27,2021

when installing apache, you need to manually specify the directory of apr and apr-util, that is,. / configure-- prefix=/usr/local/apache-- with-apr=/usr/local/apr-- with-apr-util=/usr/local/apr-util


you need to manually specify the source directory of apr and apr-utils. In my blog, you can refer to the https://zhangguanzhang.github.


I have the same problem with the
process of putting the relative directory together. Both apr and apr-util are installed successfully, but
checking for APR. still appears when installing Apache Yes
setting CC to "gcc"
setting CPP to "gcc-E"
setting CFLAGS to "- g-O2-pthread"
setting CPPFLAGS to "- DLINUX-D_REENTRANT-D_GNU_SOURCE"
setting LDFLAGS to "
configure:
configure: Configuring Apache Portable Runtime Utility library.
configure:
checking for APR-util. No
configure: error: APR-util not found. Please read the documentation.

Menu