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

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

Max are you using ubuntu?

James Mccarthy wrote:

Max are you using ubuntu?

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

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.

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 :slight_smile: )

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs