Apache Apr 和 Apr

编程入门 行业动态 更新时间:2024-10-19 17:31:46
本文介绍了Apache Apr 和 Apr-util 安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我第一次在 ubuntu 12.04 中安装 Apache,我在链接中查找了编译并安装 apache

I am installing Apache for first time in ubuntu 12.04 and i looked up in the link Compiling and installing apache

它说我们应该先有 APR 和 APR-util 我按照程序将它们解压到

It says we should have APR and APR-util first i follow the procedure and untar them into

/usr/local/srclib/apr/usr/local/srclib/apr-util 目录.写到哪里了

/usr/local/srclib/apr and /usr/local/srclib/apr-util directory. Every where it is written

./configure's --with-included-apr

现在我只在 /usr/local/srclib/apr 中执行 ./configure 之后我在 中执行 ./configure>/usr/local/srclib/apr-util 然后它向我抛出错误 configure: error: APR could not be found.请使用 --with-apr 选项.

Now i just do ./configure in /usr/local/srclib/apr after that i do ./configure in /usr/local/srclib/apr-util then it throws me error configure: error: APR could not be located. Please use the --with-apr option.

然后我添加 /configure --with-apr 它会引发错误

then i add /configure --with-apr it throws an error

error: --with-apr requires a directory or file to be provided.

请告诉我我在这里做错了什么

Please tell me what i am doing wrong here

推荐答案

尝试运行:

./configure --with-apr=

例如:如果您的 APR 安装存在于 /usr/local/apr(APR 的默认安装位置),您应该运行:

Eg: If your APR installation exists at /usr/local/apr(default installation location of APR), you should run:

./configure --with-apr=/usr/local/apr

这篇关于Apache Apr 和 Apr-util 安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-20 00:23:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/972733.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Apache   Apr

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!