Chinaunix首页 | 论坛 | 博客
  • 博客访问: 106808
  • 博文数量: 21
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 241
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-10 10:51
个人简介

命有已作,相有心生,祸福无门,惟人自召

文章分类

全部博文(21)

文章存档

2013年(21)

我的朋友

分类: LINUX

2013-05-10 14:08:18

执行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)

===========================================
===========================================
久坐不利于健康哦!适时起来活动活动吧~  
阅读(4829) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

zskcy2013-05-20 18:00:24

校长的马夹:学习了,期待更多原创博文

客气客气,共同进步哈

回复 | 举报

校长的马夹2013-05-13 09:37:41

学习了,期待更多原创博文