You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by sl...@yahoo.com on 2006/10/03 20:01:12 UTC

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

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

I've tried installing a dozen times with various permutations of options.  

Help???

I really don't want to use CVS.

Thank you

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

Posted by Frank Gruman <fg...@verizon.net>.
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

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Andy Peters <de...@latke.net>.
On Oct 3, 2006, at 1:01 PM, <sl...@yahoo.com>  
<sl...@yahoo.com> 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
>
> I've tried installing a dozen times with various permutations of  
> options.
>
> Help???

/usr/local is usually owned by root.  You need root access to write  
to it.  This is pretty basic, methinks.

-a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org