On 9/25/06, Sebastien Maret <[EMAIL PROTECTED]> wrote:
> "Alexander Hansen" <[EMAIL PROTECTED]> writes:
>
> > On 9/24/06, Joseph Srodawa <[EMAIL PROTECTED]> wrote:
>
> >> When initializing the connection with a Unison profile on the Linux server 
> >> I
> >> am getting the following response...
> >>
> >> bash: line 1: unison: command not found
> >>
> >> Lost connection with the server
> >>
> >> It seems to be a path issue. I am new to Unix and a little green when it
> >> comes to this. Can someone help me solve it?
> >>
> > Indeed.   I'll bet that the problem is that your Fink path isn't being
> > initialized by the remote unison session.
> >
> > The way I've worked around this is to move Fink's environment setup stuff:
> >
> > . /sw/bin/init.sh
> >
> > into a ~/.bashrc file, since that's processed by noninteractive
> > sessions, and then in my ~/.bash_profile file, I have
> >
> > . ~/.bashrc
>
> An other solution is to create a preference file named
> ~/.unison/default.prf that contain the following lines
>
> # Path to unison on server
> servercmd = /sw/bin/unison
>
> Sebastien
>
>
>
Ah, I totally forgot about that!  That's much easier to work with.
-- 
Alexander K. Hansen
Fink Documenter (still)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to