"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



-------------------------------------------------------------------------
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