I need to get unison 2.48.4 build with OCaml version 4.08.1, but it’s not available for Manjaro.
The packages in AUR seems to be built with another OCaml version.
The problem is, I have never built a package my self and I don’t know where to get the sources for unison and how I ensure that it’s compiled with the correct OCaml versionb (4.08.1).
I found some “guides” in the web, but I never succeded.
because version 4.08.1 is installed on the ubuntu server 20.04 LTS. Unison version on both sides must be identical.
The precompiled package is not enough, because it seems to be compiled with a different version of ocaml. That’s the terminal output when trying:
Fatal error: Server: Server: Fatal error during unmarshaling (input_value: unknown custom block identifier),
possibly because client and server have been compiled with different versions of the OCaml compiler.
$ pamac search unison
soundfont-unison 1.00-3 AUR
A lean and clean GM/GS soundbank
unison-gtk-2.48.4-compat-bin 2.48.4-2 AUR
GTK2-GUI for unison. Specific version ${_pkgver}, compatible with parallel installation to other versions of unison binaries (but pay attention to the local user configurations!). Prebuilt binary from debian,
repackaged.
unison-gtk-2.48.4 2.48.4-1 AUR
Makes the specific version ${_pkgver} of ${_pkgname} available as default ${_pkgname}.
unison-git 2.51.4.r62.ga39c572-1 AUR
File-synchronization tool
unison-2.48.4-compat-bin 2.48.4-2 AUR
File-synchronization tool. Specific version ${_pkgver}, compatible with parallel installation to other versions of unison binaries (but pay attention to the local user configurations!). Prebuilt binary from debian,
repackaged.
unison-2.48.4 2.48.4-1 AUR
Makes the specific version ${_pkgver} of ${_pkgname} available as default ${_pkgname}.
unison-240-compat 2.40.128-1 AUR
File-synchronization tool
unison-232-compat 2.32.52-2 AUR
File-synchronization tool (legacy 2.32 version). Compatible with parallel installation to other versions of unison binaries (but pay attention to the local user configurations!)
unison 2.52.1-1 extra
File-synchronization tool
And I just installed it successfully, so you should also be able to install it with: