Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

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?

share|improve this question

1 Answer 1

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.

share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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