C++ activemqc++;客户端安装表示未安装APR,为什么?

C++ activemqc++;客户端安装表示未安装APR,为什么?,c++,c,linux,installation,activemq,C++,C,Linux,Installation,Activemq,我正在尝试安装ActiveMQ C++客户端安装(CMS) 当我尝试配置时,出现以下错误 configure: WARNING: APR not found The Apache Portable Runtime (APR) library cannot be found. Please install APR on this system and supply the appropriate --with-apr option to 'configure' configure: error:

我正在尝试安装ActiveMQ C++客户端安装(CMS)

当我尝试配置时,出现以下错误

configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'
configure: error: no suitable APR found
我确实安装了apr和apr util,如下所示:

~/activemq-cpp-library-3.3.0 $ rpm -qa|grep apr
apr-1.2.7-11.el5_6.5
apr-devel-1.2.7-11.el5_6.5
apr-1.2.7-11.el5_6.5
apr-util-1.2.7-11.el5_5.2
xorg-x11-drv-dynapro-1.1.0-2
apr-util-1.2.7-11.el5_5.2
apr-devel-1.2.7-11.el5_6.5
我可以添加前缀--apr来配置它,但我不知道路径

当我这样做的时候

$ locate apr | less
它使里面有apr的东西都变大了


如何解决此问题?

ActiveMQ CPP需要APR和APR Util版本1.3或更高版本,您可以在自述文件中找到这些版本以及其他所需的依赖项。

在debian派生系统上,您通常还需要
-dev
包来获取标头等。看起来它可能是基于red hat的系统的
-devel
。我确实安装了apr-devel。请参阅edit.yeah,因此我必须手动下载apr-1-4-5和apr-util,安装它们并安装具有此版本的c++库。这是一个痛苦的过程。