Linux上安装Apache时,编译出现错误:
checking for APR... no configure: error: APR not found . Please read the documentation
安装APR,下载所需软件包,如果此时计算机可以上网,执行命令下载文件:
wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
apr not found问题
tar -zxf apr-1.4.5.tar.gz cd apr-1.4.5 ./configure --prefix=/usr/local/apr make && make install
APR-util not found问题
tar -zxf apr-util-1.3.12.tar.gz cd apr-util-1.3.12 ./configure --prefix=/usr/local/apr-util -with-apr=/usr/local/apr/bin/apr-1-config make && make install
pcre问题
unzip -o pcre-8.10.zip cd pcre-8.10 ./configure --prefix=/usr/local/pcre make && make install
最后编译Apache时加上:
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre
例如:
./configure --prefix=/usr/local/apache2 --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre
请您到ITEYE网站看 java小强 原创,谢谢!
http://cuisuqiang.iteye.com/!
自建博客地址:http://www.javacui.com/ ,内容与ITEYE同步!
相关推荐
checking for APR... no configure: error: APR not found . Please read the documentation
apache2.4完整安装,解决configure: error: APR-util not found. Please read the documentation问题
apache-http源码编译 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr
安装linux编译时报apr错误的解决方法 httpd-2.4.3.tar.gz, apr-util-1.3.10.tar.gz, apr-1.4.2.tar.gz,
接着安装apr-util和iconv,方法一样不过./configure --with-apr=/usr/local/apr指明一下apr安装位置就可以了,不写也会提示写上。 最后还要在/etc/profile里加上lib库 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/...
apache-http源码编译 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...
The method used is a matter of preference, but *it will be very difficult to use this library without first understanding the JSON syntax for the API*, so it is recommended to look at the [APIs ...
在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家
configure: error: Zlib header (zlib.h) not found. Tor requires zlib to build. You may need to install a 解决办法: root@ubuntu:/usr/src/GeoIP-1.4.8# apt-get install zlib1g-dev 再次编译,顺利通过 make ...
PHP编译configure时常见错误的总结 PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!...1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c
编译时./configure --prefix=/usr/local/apache2 --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre --with-included-apr会报错 其实apr和apr-util安装在/usr/locl/apr...
安装GCC必需的三个文件(gmp、mpfr、mpc)之一,gmp,安装此库之前需要先安装M4,否则无法完成安装。另:上述文件我已上传至我的资源,如有需要下载即可。 GMP is a free library for arbitrary precision ...
编译安装apache 2.4.2 代码如下: sudo echo ‘start’ echo 常见错误: echo configure: error: APR not found. Please read the documentation. echo 解决办法: wget ...
源码编译:亲测有效! 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file ..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr
configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your.... 具体参考我的博客:http://blog.csdn.net/niyufeng/article/details/7233102《6.1 qtopia-2.2.0上实现konqueror网页浏览器 ...
用autoconf和automake自动生成Makefile,其中要用到的,其中要用到的automake,autotools,autoconf这三个文档
解决/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found 问题 步骤如下: 解压文件: $ unzip gcc-8.3.0.zip 解压完成,进入文件目录: $ cd gcc-8.3.0 利用源码包里自带的工具下载所需要的依赖项: $ ./...
Enable AAA on R2 and configure all logins to authenticate using the AAA TACACS+ server and if not available, then use the local database. Step 5. Configure the line console to use the defined AAA ...
如果GD报错:configure.ac:64: warning: macro `AM_ICONV' not found in library 你就make clean一下,然后再make 如果你安装别的出现libtool没有找到,你就从/usr/bin/libtool cp 一个过来用就好了! 在64位下编译...