I m trying to install ActiveMQ C++ client install (CMS)

I am getting the following error, when i try to configure.

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

I do have apr and apr-util install as follows:

~/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

Well i can add the prefix --with-apr to configure it but i dont know the path.

When i do

$ locate apr | less

It greps everything that has apr in it.

How can i resolve this?

link|improve this question

56% accept rate
feedback

1 Answer

You can find out the path for everything in the apr and apr-util packages by executing:

 rpm -q --list apr apr-util apr-devel

However, what you probably need is to install the apr-devel package to do compilations.

link|improve this answer
i installed apr-devel too – user30597 Oct 31 '11 at 19:52
hmmm....doesn't appear in your provided list of rpm -qa.... – mdpc Oct 31 '11 at 19:58
i just updated the question. sorry. – user30597 Oct 31 '11 at 20:04
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.