In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The following error occurred in configuration. / configure-- prefix=/usr/local/apache
Error 1:
Checking for gcc... No checking for cc... No checking for cl.exe... No configure: error: in
Install gcc: yum install-y gcc
Error 2:
Pcre error checking for pcre-config... False
Solution: yum install pcre pcre-devel
Error 3:
Checking for APR... No configure: error: APR not found. Please read the documentation
Download apr:wget http://mirrors.cnnic.cn/apache/apr/apr-1.6.3.tar.gz
Tar-zxvf apr-1.6.3.tar.gz
Cp-r apr-1.6.3 / usr/local/src/httpd-2.4.34/srclib/apr
Cd apr-1.6.3
. / configure-- prefix=/usr/local/apr
Make & & make install
Error 3.1:
Checking for APR-util... No configure: error: APR-util not found. Please read the documentation
Wget http://mirrors.cnnic.cn/apache/apr/apr-util-1.6.1.tar.gz
Tar-zxvf apr-util-1.6.1.tar.gz
Cp-r apr-util-1.6.1 / usr/local/src/httpd-2.4.34/srclib/apr-util
Cd apr-util-1.6.1
. / configure-prefix=/usr/local/apr-util-with-apr=/usr/local/apr
Make
Make install
You may also get an error when compiling apr-util: xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory
Yum install expat-devel installs the library and compiles again after installation
Then reconfigure apache and compile the installation:
Cd httpd-2.4.34
/ configure-- with-included-apr-- prefix=/usr/local/apache2-- with-apr=/usr/local/apr-- with-apr-util=/usr/local/apr-util-- enable-so-- nable-mods-shared=most
Make
Make install
Add:
Make [1]: leave the directory "/ usr/local/src/httpd-2.4.34/support"
Make: * * [all-recursive] error 1
Solution: make clean and then re-configure make
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.