On the long term, I would prefer that the Unison packages explicitly contain the OCaml version, and the default value of servercmd should contain the name of the server binary compiled with the same OCaml version. For example :
- unison-OCaml-4.02 version 2.48.4 should contain
/usr/bin/unison-OCaml-4.02 --> /usr/bin/unison-OCaml-4.02-2.48.4
- unison-OCaml-4.02 version 2.51.2 should contain
/usr/bin/unison-OCaml-4.02 --> /usr/bin/unison-OCaml-4.02-2.51.2
- unison-OCaml-4.06 version 2.48.4 should contain
/usr/bin/unison-OCaml-4.06 --> /usr/bin/unison-OCaml-4.06-2.48.4
- unison-OCaml-4.06 version 2.51.2 should contain
/usr/bin/unison-OCaml-4.06 --> /usr/bin/unison-OCaml-4.06-2.51.2
This would permit, on the server, to install Unison binaries compiled with ALL OCaml versions.
On Ubuntu 20.04, I successfully downgraded Unison (text only) to the version compiled with OCaml 4.02 from https:/ /www.urs- mueller. ch/de/computer/ download/ unison- 2.48.4- linux-x86_ 64-text- static. tar.gz
Using the unison-jz snap installing Unison 2.51.2 compiled against OCaml 4.02.3 as described by https:/ /unix.stackexch ange.com/ questions/ 583058/ unison- and-version- compiler- conflicts/ 583377# 583377 requires that : /www.urs- mueller. ch/de/computer/ index.html /www.irif. fr/~vouillon/ unison/
- The --devmode option of the snap command is NOT necessary,
- The problem of the Include line in /etc/ssh/ssh_config is solved,
- Binaries of Unison 2.51.2 compiled against OCaml 4.02.3 are also provided for :
- Mac OS-X, for example at https:/
- Windows, for example at https:/
On the long term, I would prefer that the Unison packages explicitly contain the OCaml version, and the default value of servercmd should contain the name of the server binary compiled with the same OCaml version. For example :
- unison-OCaml-4.02 version 2.48.4 should contain bin/unison- OCaml-4. 02 --> /usr/bin/ unison- OCaml-4. 02-2.48. 4
/usr/
- unison-OCaml-4.02 version 2.51.2 should contain bin/unison- OCaml-4. 02 --> /usr/bin/ unison- OCaml-4. 02-2.51. 2
/usr/
- unison-OCaml-4.06 version 2.48.4 should contain bin/unison- OCaml-4. 06 --> /usr/bin/ unison- OCaml-4. 06-2.48. 4
/usr/
- unison-OCaml-4.06 version 2.51.2 should contain bin/unison- OCaml-4. 06 --> /usr/bin/ unison- OCaml-4. 06-2.51. 2
/usr/
This would permit, on the server, to install Unison binaries compiled with ALL OCaml versions.