You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "gary (guangyuan) sun" <ga...@yahoo.com> on 2007/07/26 20:23:16 UTC

Change command names

Hi,

I would like install latest subversion to my user dir
(Red Hat Linux). For avoiding conflect, 
I want to change command names from svn, svnadmin, and
svnserve to gsvn, gsvnadmin, and gsvnserve.
How can I modify the source and recompile my client?

Thanks

Gary


       
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php

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

Re: Change command names

Posted by Rainer Sokoll <R....@intershop.de>.
On Fri, Jul 27, 2007 at 12:47:13PM +0200, Stefan Sperling wrote:
> On Thu, Jul 26, 2007 at 01:23:16PM -0700, gary (guangyuan) sun wrote:
> > Hi,
> > 
> > I would like install latest subversion to my user dir
> > (Red Hat Linux). For avoiding conflect, 
> > I want to change command names from svn, svnadmin, and
> > svnserve to gsvn, gsvnadmin, and gsvnserve.
> > How can I modify the source and recompile my client?
> 
> I usually just override my PATH when needed.
> 
> Compile like this:
> 
> 	./configure --prefix=$HOME/svn
> 	make && make install
> 
> Of course the prefix can be anything you like,
> just not /usr because that would overwrite your system
> svn installation.
> 
> When you need the current binaries do this:
> 
> 	export PATH=$HOME/svn/bin:$PATH 

Or, more comfortable: alias gsvn='$HOME/svn/bin/svn'
Then gsvn is different from svn.

Rainer

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

Re: Change command names

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Jul 26, 2007 at 01:23:16PM -0700, gary (guangyuan) sun wrote:
> Hi,
> 
> I would like install latest subversion to my user dir
> (Red Hat Linux). For avoiding conflect, 
> I want to change command names from svn, svnadmin, and
> svnserve to gsvn, gsvnadmin, and gsvnserve.
> How can I modify the source and recompile my client?

I usually just override my PATH when needed.

Compile like this:

	./configure --prefix=$HOME/svn
	make && make install

Of course the prefix can be anything you like,
just not /usr because that would overwrite your system
svn installation.

When you need the current binaries do this:

	export PATH=$HOME/svn/bin:$PATH 

When you need the system svn binaries simply don't do anything :)

Works fine for me.

-- 
Stefan Sperling <st...@elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

Re: Change command names

Posted by Rainer Sokoll <R....@intershop.de>.
On Thu, Jul 26, 2007 at 01:30:40PM -0700, Vasili Sviridov wrote:
>  gary (guangyuan) sun wrote:
> > Hi,
> >
> > I would like install latest subversion to my user dir
> > (Red Hat Linux). For avoiding conflect, I want to change command names from 
> > svn, svnadmin, and
> > svnserve to gsvn, gsvnadmin, and gsvnserve.
> > How can I modify the source and recompile my client?
> >
> > Thanks
> >
> > Gary
> >   
>  Cant you just rename the executables after they are compiled?

I would not rely on this, but would do a "./configure
--prefix=/usr/local/svn-latest --foo=bar"

Rainer

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

Re: Change command names

Posted by Vasili Sviridov <vs...@exceede.com>.
gary (guangyuan) sun wrote:
> Hi,
>
> I would like install latest subversion to my user dir
> (Red Hat Linux). For avoiding conflect, 
> I want to change command names from svn, svnadmin, and
> svnserve to gsvn, gsvnadmin, and gsvnserve.
> How can I modify the source and recompile my client?
>
> Thanks
>
> Gary
>   
Cant you just rename the executables after they are compiled?

V.

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