Skip to content

Instantly share code, notes, and snippets.

@mhermans
Created August 4, 2010 14:21
Show Gist options
  • Save mhermans/508201 to your computer and use it in GitHub Desktop.
Save mhermans/508201 to your computer and use it in GitHub Desktop.

Getting started with unison

Get dependencies.

sudo apt-get install ocaml-interp ocaml-compiler-libs # Ubuntu
sudo zypper install ctags ocaml

Get unison source, unpack, make and install (defaults to $HOME/bin).

curl -O http://www.seas.upenn.edu/~bcpierce/unison/download/releases/unison-2.40.16/unison-2.40.16.tar.gz
tar -xzf unison-2.40.16.tar.gz
cd unison-2.40.16
make
make install # naar $HOME/bin, zorg dat in path zit

on WinXp side install OpenSSH, try to run command

Put the unison.exe (text version) somewhere and add that folder to the PATH variable (My Computer > Properties > Advanced > Environmient Variables > second box).

configs onder C:\Documents and Settings\hermansm.unison

via hard links:

C:\Documents and Settings\hermansm\.unison>fsutil hardlink create "C:\Documents and Settings\hermansm\.unison\loki_lokal.prf" "C:\Documents and Settings\hermansm\Mijn documenten\system\config\unison_prefs\loki_local.prf"

If SSH server, create passwd file

check same version

Links

Unison on Synology DS410

http://download.synology.com/download/ds/userguide/Synology%20NAS%20Server%203rd-Party%20Apps%20Integration%20Guide.pdf

DS410: CPU Freescale 8533 E; Arch: PowerPC; Big Endian; Linux 2.6.24

gcc343_glibc234_853x.tgz
http://sourceforge.net/projects/dsgpl/files/ Onder "DSM 2.3 Tool Chains" > "PowerPC 853x Linux 2.6.24"

sudo tar zxpf gcc343_glibc234_853x.tgz –C /usr/local/
cd powerpc-linux-gnuspe/

PDF indexing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment