# \--with-apr option with configuring subversion - anyone know?

**URL:** <https://www.ruby-forum.com/t/with-apr-option-with-configuring-subversion-anyone-know/115180>\
**Category:** Deployment\
**Created:** [September 21, 2007, 11:40am UTC](https://www.ruby-forum.com/t/with-apr-option-with-configuring-subversion-anyone-know/115180 "2007-09-21T11:40:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 21, 2007, 11:40am UTC](https://www.ruby-forum.com/t/with-apr-option-with-configuring-subversion-anyone-know/115180/1 "2007-09-21T11:40:14Z")

</div>

Hi there…I think it’s just a simple syntax error that i have.

I’m trying to get subversion installed, in unix on a shared web server:  
it requires apr and apr-utils, so i’ve already downloaded and installed  
them.

When i try and configure subversion, it’s saying that i need to use an  
appropriate --with-apr command. Looking at configure --help, it says

“–with-apr=PATH prefix for installed APR, path to APR build tree,  
or the full path to apr-config”

But i can’t seem to get this command right. I’m trying to point to the  
apr folder with

–with-apr=~/src/apr-1.2.11

but it says

“the --with-apr parameter is incorrect. It must specify an install  
prefix, a build directory, or an apr-config file.”

To make life more complicated, there’s no apr-config file, not quite  
anyway: in the apr folder i have

apr-1-config  
apr-config.in  
apr-config.out

Should i point it at one of these, and if so do you know the proper  
syntax for the --with-apr command? I’m new to unix and have only used  
subversion locally, in windows, so have never had to do an install like  
this before.

thanks!  
max

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 21, 2007, 12:20pm UTC](https://www.ruby-forum.com/t/with-apr-option-with-configuring-subversion-anyone-know/115180/2 "2007-09-21T12:20:23Z")

</div>

Max are you using ubuntu?

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 21, 2007, 12:32pm UTC](https://www.ruby-forum.com/t/with-apr-option-with-configuring-subversion-anyone-know/115180/3 "2007-09-21T12:32:26Z")

</div>

James Mccarthy wrote:

> Max are you using ubuntu?

Hi James. Just the standard unix/linux (whatever it is) on the shared  
server ssh.

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 21, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/with-apr-option-with-configuring-subversion-anyone-know/115180/4 "2007-09-21T17:01:11Z")

</div>

Max,

What happens if you use the full path to the directory? Something like

./configure --with-apr=/home/max/src/apr-1.2.11  
?

If that doesn’t work, perhaps you could post here the exact command  
you’re entering.  
– Thomas.

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 21, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/with-apr-option-with-configuring-subversion-anyone-know/115180/5 "2007-09-21T17:19:45Z")

</div>

Thomas Nichols wrote:

> Max,
> 
> What happens if you use the full path to the directory? Something like
> 
> ./configure --with-apr=/home/max/src/apr-1.2.11  
> ?
> 
> If that doesn’t work, perhaps you could post here the exact command  
> you’re entering.  
> – Thomas.

That worked perfectly, thanks Thomas!

(red faced that i didn’t think of that 🙂 )
