Compiling Unison file synchronizer on CentOS

Prereq: Compile OCAML

  1. Download OCAML source and extract
   tar xf ocaml-4*.tar.gz
   cd ocaml-4*
   
  1. Compile and install OCAML
   ./configure -prefix $HOME/ocaml4.05

   make world opt

   make install
   
  1. edit your $PATH to include $HOME/ocaml4.05/bin

Compile Unison

  1. Download Unison source and extract
   tar xvf unison*
   cd unison-*
   
  1. compile Unison
   make
   ln -s unison ~