You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eric Abrahamsen <gi...@gmail.com> on 2008/07/24 10:16:32 UTC

subversion 1.5 in a new location

Hi there,

I'm relatively inexperienced at this, so please forgive me if this is  
dumb question... I used the Mac OSX binaries to install subversion  
1.5, which put the new version under a different prefix than the old: / 
opt/subversion/ vs the native location of /usr/local/. My apache  
mod_authz_svn and mod_dav_svn now point to the wrong locations,  
naturally, and I'm wondering if there is a way to correct this without  
re-compiling apache altogether. Any commands that can be run, or  
something of that sort?

Thanks very much in advance,
Eric

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

Re: subversion 1.5 in a new location

Posted by Jeremy Whitlock <jc...@gmail.com>.
> I'm relatively inexperienced at this, so please forgive me if this is dumb
> question... I used the Mac OSX binaries to install subversion 1.5, which put
> the new version under a different prefix than the old: /opt/subversion/ vs
> the native location of /usr/local/. My apache mod_authz_svn and mod_dav_svn
> now point to the wrong locations, naturally, and I'm wondering if there is a
> way to correct this without re-compiling apache altogether. Any commands
> that can be run, or something of that sort?

The installer you speak of installs to /opt/subversion but does so in
a way to not step on existing installations, like the 1.4.4 version
that comes with Leopard.  This means that the installer will not
update the PATH environment variable, to make it where the new version
is the default version used, and it also will not migrate any existing
systems (Apache, Perl, Python and Ruby) using Subversion to use the
new version.  To use the new version of Subversion with your
previously installed Apache 2.2.x, all you have to do is update the
Apache configuration file to load the libraries in
/opt/subversion/lib/svn-apache instead of the previous location.
There should be no need to recompile anything.  It should just work.™
Let me know how things turn out.

Take care,

Jeremy

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


Re: subversion 1.5 in a new location

Posted by Andy Levy <an...@gmail.com>.
On Thu, Jul 24, 2008 at 06:16, Eric Abrahamsen <gi...@gmail.com> wrote:
> Hi there,
>
> I'm relatively inexperienced at this, so please forgive me if this is dumb
> question... I used the Mac OSX binaries to install subversion 1.5, which put
> the new version under a different prefix than the old: /opt/subversion/ vs
> the native location of /usr/local/. My apache mod_authz_svn and mod_dav_svn
> now point to the wrong locations, naturally, and I'm wondering if there is a
> way to correct this without re-compiling apache altogether. Any commands
> that can be run, or something of that sort?

You shouldn't have to recompile anything. The location of the modules
is specified in httpd.conf, you should be able to just change the path
and restart Apache for it to work.

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

Re: subversion 1.5 in a new location

Posted by Andy Levy <an...@gmail.com>.
On Thu, Jul 24, 2008 at 06:16, Eric Abrahamsen <gi...@gmail.com> wrote:
> Hi there,
>
> I'm relatively inexperienced at this, so please forgive me if this is dumb
> question... I used the Mac OSX binaries to install subversion 1.5, which put
> the new version under a different prefix than the old: /opt/subversion/ vs
> the native location of /usr/local/. My apache mod_authz_svn and mod_dav_svn
> now point to the wrong locations, naturally, and I'm wondering if there is a
> way to correct this without re-compiling apache altogether. Any commands
> that can be run, or something of that sort?

You shouldn't have to recompile anything. The location of the modules
is specified in httpd.conf, you should be able to just change the path
and restart Apache for it to work.

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