[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Permissions Problem Installing apr Locally :: Can't create /usr/local/apr

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2006-10-04 07:06:21 CEST

Ryan Schmidt wrote:
> On Oct 3, 2006, at 23:45, Andy Peters wrote:
>
>> On Oct 3, 2006, at 1:01 PM, sleepy_square-svn wrote:
>>
>>> I am installing subversion with its dependencies in my home
>>> directory on Red Hat Enterprise 3, using the source code. I don't
>>> have root access.
>>>
>>> I set --prefix=$HOME and --exec-prefix=$HOME for configure.
>>>
>>> During make install, it gives the error:
>>> can't create /usr/local/apr
>>>
>>> This also happens if I try to pre-install apr alone, even with
>>> setting --prefix and editing the configure file to change
>>> ac_default_prefix=/usr/local to be ac_default_prefix=$HOME
>>
>> /usr/local is usually owned by root. You need root access to write
>> to it. This is pretty basic, methinks.
>
> Yes, and he's trying to tell the thing that he wants to install in
> $HOME but it keeps wanting to put parts in /usr/local and he doesn't
> understand why or how to make it stop. I don't understand it either,
> but I'm no expert in such matters.
>
>
>
> ---------------------------------------------------------------------
>
I think the issue is that you are trying to use the APR that comes with
Subversion (it does come bundled, right??). And that has its own
separate build process. I am away from my work and home computers for
the remainder of the week (client site) so can't look this up in detail
for you. I will have to leave that part to another.

OR - If you already have Apache installed and/or an already existing
APR, then use the --with-apxs= parameter to tell the system to use the
one already installed instead of trying to install another.

I hope that helps...

Regards,
Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 4 07:06:49 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.