Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:mac:builds:unison [2008/12/28 21:29] – billh | docs:mac:builds:unison [2012/01/07 14:15] (current) – billh | ||
---|---|---|---|
Line 2: | Line 2: | ||
* first build [[ocaml]] | * first build [[ocaml]] | ||
* download unison source from http:// | * download unison source from http:// | ||
- | * FIXME (incomplete from this point) | + | * extract and navigate to the root source folder |
+ | * type these commands< | ||
+ | make UISTYLE=text | ||
+ | sudo cp unison / | ||
+ | </ | ||
+ | * preference/ | ||
+ | |||
+ | ===== running unison after you already copied files ===== | ||
+ | :!: %%Notice the // double slashes on both sides of the ssh hostname%% | ||
+ | |||
+ | By the time you copy files and start to run a unison command you realize that it doesn' | ||
+ | < | ||
+ | unison /local/path ssh:// | ||
+ | </ | ||
+ | |||
+ | The force switch tells unison which version you want to use, and the batch switch means to ask no questions. | ||
+ | |||
+ | ===== typical example (after initial sync) ===== | ||
+ | :!: %%Notice the // double slashes on both sides of the ssh hostname%% | ||
+ | |||
+ | **sync.sh** | ||
+ | <code sh> | ||
+ | # | ||
+ | |||
+ | unison /local/path ssh:// | ||
+ | </ | ||
+ | |||
+ | ===== command not found errors using ssh ===== | ||
+ | When using ssh with unison, you are creating a non-interactive shell. | ||
+ | < | ||
+ | # the error... | ||
+ | bash: unison: command not found | ||
+ | Fatal error: Lost connection with the server | ||
+ | |||
+ | # the fix (on the host you are connecting to)... | ||
+ | ln -s / | ||
+ | </ |