执行apache的./configure时报如下错误,始终不能生成Makefile
configure: error: APR-util version 1.2.0 or later is required
参考了
为.configure加上了--with-included-apr参数,就通过了这一步
全部参数如下:
root@Nodin-OptiPlex-330:/home/fernando/OneMS/OneMS-TR-Install/depends/httpd-2.2.19# ./configure --with-apr-util=/usr/local/apr-util/ --enable-ssl --enable-mods-shared=most --enable-so --prefix=/OneMS-TR/apache --with-included-apr
gcc版本如下:
root@Nodin-OptiPlex-330:/home/fernando/OneMS/OneMS-TR-Install/depends/httpd-2.2.19# gcc -v
使用内建 specs。
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
目标:x86_64-linux-gnu
配置为:../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
线程模型:posix
gcc 版本 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
===========================================
===========================================
久坐不利于健康哦!适时起来活动活动吧~
阅读(4922) | 评论(2) | 转发(0) |