Damien ROBERT robertdamien@yahoo.com [unison-users]
2016-05-03 10:50:16 UTC
I have compiled unison-2.48.3 and my server and put it in my $HOME/bin
folder:
~/bin $ ls
unison@Â Â Â Â Â Â Â Â Â Â Â Â Â Â unison-fsmonitor@
unison-2.48-gtk2-64@
I use 'unison -servercmd bin/unison -repeat watch'
and I get
Fatal error: No file monitoring helper program found
even though 'unison-fsmonitor' is on the same folder as unison and from the
code on fswatch.ml it should be looking at 'exec_dir'.
Even more strange, even when I try to add 'bin/' to the path via
'unison -servercmd bin/unison -repeat watch -sshargs 'PATH=bin:$PATH''
or
'unison -servercmd bin/unison -repeat watch -sshargs 'PATH=$HOME/bin:$PATH''
I still get the same error.
I did not see anything useful when adding '-debug all'.
unison-fsmonitor seems to be working when called manually:
~/bin $ ./unison-fsmonitor
VERSION 1
I thought that maybe unison was looking for 'fsmonitor.py' instead. (I admit that I don't know how unison
chooses between 'unison-fsmonitor' and 'fsmonitor.py') But even copying 'fsmonitor.py' and 'fsmonitor/' from the gitfolder to my ~/bin/ I still get the same error.
Thanks for any help!
folder:
~/bin $ ls
unison@Â Â Â Â Â Â Â Â Â Â Â Â Â Â unison-fsmonitor@
unison-2.48-gtk2-64@
I use 'unison -servercmd bin/unison -repeat watch'
and I get
Fatal error: No file monitoring helper program found
even though 'unison-fsmonitor' is on the same folder as unison and from the
code on fswatch.ml it should be looking at 'exec_dir'.
Even more strange, even when I try to add 'bin/' to the path via
'unison -servercmd bin/unison -repeat watch -sshargs 'PATH=bin:$PATH''
or
'unison -servercmd bin/unison -repeat watch -sshargs 'PATH=$HOME/bin:$PATH''
I still get the same error.
I did not see anything useful when adding '-debug all'.
unison-fsmonitor seems to be working when called manually:
~/bin $ ./unison-fsmonitor
VERSION 1
I thought that maybe unison was looking for 'fsmonitor.py' instead. (I admit that I don't know how unison
chooses between 'unison-fsmonitor' and 'fsmonitor.py') But even copying 'fsmonitor.py' and 'fsmonitor/' from the gitfolder to my ~/bin/ I still get the same error.
Thanks for any help!