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

Re: Trying to build SVN 1.5 on Ubuntu

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Sun, 8 Jun 2008 03:27:08 -0500

On Jun 7, 2008, at 13:29, Robert Dailey wrote:

> On Sat, Jun 7, 2008 at 11:43 AM, Stefan Sperling wrote:
>
>> On Sat, Jun 07, 2008 at 10:39:42AM -0500, Robert Dailey wrote:
>>
>> > Well, thanks for the help guys. I think I finally got "make"
>> and "make
>> > install" to work, and when I go to /usr/local/bin, I see all
>> of the
>> > subversion programs. However, when I use 'svn' from the
>> command line, it
>> > says:
>> >
>> > bash: /usr/bin/svn: No such file or directory
>>
>> You deinstalled the Ubuntu subversion package, but your shell still
>> thinks the svn binary should be in the location where the package had
>> put it. You can try to run the "rehash" command to make your shell
>> pick
>> up the new location of the svn command, some shells need this.
>>
>> Or just start and use a new shell.
>>
>> Restarting PuTTY helped! I can now use svn anywhere.
>>
>> And make sure /usr/local/bin is in your shell's $PATH!
>>
>> If you're using the bash shell, a line like this at the very end
>> of the file .bashrc in your home directory should do the trick:
>>
>> export PATH="/usr/local/bin:$PATH"
>
>
> I'm not sure what you're trying to do here. I was able to find
> my .bashrc file, but I didn't see anything about /user/local/bin in
> it. What is $PATH? Remember, I'm still new to linux :(

If you want your shell to be able to find programs installed in /usr/
local/bin, then /usr/local/bin needs to be in your PATH environment
variable. The command Robert gave

     export PATH="/usr/local/bin:$PATH"

can be added to your ~/.bashrc to cause /usr/local/bin to be put at
the beginning of the PATH (before the paths your system already puts
there, like /bin and /usr/bin) every time you launch your shell.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-08 10:27:51 CEST

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.