[csw-users] about the path name

George Wyche gwyche at io.com
Wed Sep 26 17:10:27 CEST 2007


@Binod

svn may be an alias. Do a
  which svn

cd /opt/csw/bin
./svn

would override any svn alias.

> Hi I installed subversion from blastwave couple days ago
> and every thing is working fine. Its in sparc 10 x64.
>
> My path currently is
>
> -bash-3.00$ echo $PATH
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:\
> /usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin
>

If you are intending on using blastwave software, then please move
/opt/csw/bin to occur before /usr/sfw/bin

And you will probably have to examine /usr/local/bin closely for links
which might otherwise override your specified order. For example even if
you have /opt/csw/bin:/usr/sfw/bin, but a link in /usr/local/bin *could*
have an gnutar which points to a gnutar in /usr/sfw/bin NOT in
/opt/csw/bin. That would be an override. That sort of think has given me
grief in the past.

> but when I type svn I can't get it work.
>
> -bash-3.00$ svn
> -bash: svn: command not found
>
> But when I go to
>
> cd /opt/csw/bin and then do ./svn It works fine.
>
> I went ahead and added that /opt/csw/bin (which is a
> global path to my local user .profile file then svn
> commands just work fine)
>
> What is going wrong here ? Can anyone help me out?
>
> I think if /opt/csw/bin is in global path it should
> be able to run from anywhere without needing to
> provide detail in local.profile file , isn't
> thats how it works?

That is my understanding. You could look at the permissions, owners,
groups, links associated with each step of the way to /opt/csw/bin/svn.
ls -l /
ls -l /opt
ls -l /opt/csw
ls -l /opt/csw/bin
ls -l /opt/csw/bin/svn

Look for "strange" things.

Is there something else in
>
> Any help will be appreciated.
>
> Thanks,


George




More information about the users mailing list