Re: Unison on El Capitan

Alan Schmitt <[email protected]> Tue, 15 Dec 2015 14:59:33 +0100
Newsgroups gmane.network.unison.devel
Message-ID <[email protected]>
Hello,

On 2015-12-15 00:18, "David E. Filip" <[email protected]> writes:

> Dear Unison Hackers,
>
> Can someone please advise how to install Unison command line on OS
> X 10.11 / El Capitan?

You can try this one:
http://alan.petitepomme.net/unison/assets/Unison-OS-X-2.48.15.zip

It has been modified to install the command line tool in the correct
place.

> So the question is which file? Copying Unison.app/Contents/MacOS/Unison to
> /usr/local/bin/unison does not work (I get an error trying to execute it). And
> it looks like cltool is too small and the wrong file. And neither one match
> the size of /usr/bin/unison installed on Mavericks.

The cltool binary is small because all it does is ask the Finder about
where the Unison app is, and start is. What you could do is copy cltool
as /usr/local/bin/unison.

The simplest approach may be to recompile the command line version of
unison. It's available in homebrew, for instance:

% brew info unison
unison: stable 2.48.3 (bottled)
Unison file synchronizer
https://www.cis.upenn.edu/~bcpierce/unison/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/unison.rb
==> Dependencies
Build: ocaml ✔

Hope this helps,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated December 13, 2015, Mauna Loa Obs.): 401.31 ppm

_______________________________________________
Unison-hackers mailing list
[email protected]
http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
signature.asc (application/pgp-signature, 472 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJWcBzGAAoJEAQNCjtO0uXHFfsH/RUQvts3olaAlOQBKasquUP4
N8sA4mydXz532lb+ZO+RDNYIhrSoiHE50XRe1NtsmfoeH49uRC9m7bZunfQ7Qfja
sTZSxeDozHzvZHtCYaampRLhloCsVIE8Gcs0yQdIG6myRQJDYcCbQvCQdhLePuzs
x5+Ty4Kr2kMfEVNUTgRuINlzXVasD0DWHTNmbYNHrM/1DpIbiF0odKgKrgjoZaOH
7O0TF8Odq50LfvMO87ggNiw2pE5Tmqui2XnahKbnENEoTmzkBTfrU8POA0b6WN3+
K44aIDGMWbRAKP/4S/lwwNXLcevGaugLAii6tB7kV1iw8bmbCK3LUweGUZgOA/w=
=eQ3e
-----END PGP SIGNATURE-----