drfill / homebrew-liquidsoap

Liquidsoap on Homebrew
http://liquidsoap.fm/
16 stars 7 forks source link

Installation error: Cannot find external tool 'ocamlbuild' #28

Closed trvbr closed 8 years ago

trvbr commented 8 years ago

I ran brew liquidsoap install and it stopped after pouring Ocaml:


Traviss-MacBook-Pro:liquidsoap travis$ brew install liquidsoap
==> Installing liquidsoap from drfill/liquidsoap
==> Installing dependencies for drfill/liquidsoap/liquidsoap: objective-caml, ocaml, ocaml-pcre, ocaml-duppy, ocaml-camomile, libma
==> Installing drfill/liquidsoap/liquidsoap dependency: objective-caml
==> Downloading https://homebrew.bintray.com/bottles/ocaml-4.03.0.el_capitan.bottle.tar.gz
Already downloaded: /Users/travis/Library/Caches/Homebrew/ocaml-4.03.0.el_capitan.bottle.tar.gz
==> Pouring ocaml-4.03.0.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/ocaml/4.03.0: 1,641 files, 173.7M
Traviss-MacBook-Pro:liquidsoap travis$ liquidsoap --version
-bash: liquidsoap: command not found

Afterward, running reinstall has the same output, with Cannot find external tool 'ocamlbuild':

Traviss-MacBook-Pro:liquidsoap travis$ brew reinstall liquidsoap
==> Reinstalling drfill/liquidsoap/liquidsoap
==> Installing dependencies for drfill/liquidsoap/liquidsoap: ocaml-pcre, ocaml-duppy, ocaml-camomile, libmagic, ocaml-magic, ocaml
==> Installing drfill/liquidsoap/liquidsoap dependency: ocaml-pcre
==> Downloading https://github.com/mmottl/pcre-ocaml/archive/v7.1.1.tar.gz
Already downloaded: /Users/travis/Library/Caches/Homebrew/ocaml-pcre-7.1.1.tar.gz
==> make
Last 15 lines from /Users/travis/Library/Logs/Homebrew/ocaml-pcre/01.make:
File "setup.ml", line 5927, characters 31-50:
Warning 3: deprecated: String.uncapitalize
Use String.uncapitalize_ascii instead.
File "setup.ml", line 5928, characters 31-48:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
W: Not_found
W: Not_found
W: Not_found
W: Not_found
W: Not_found
W: Not_found
E: Cannot find external tool 'ocamlbuild'
E: Failure("1 configuration error")
make: *** [setup.data] Error 1
toots commented 8 years ago

Hi @trvbr ! The supported way of installing liquidsoap on OSX now is via opam. Instructions are here: http://liquidsoap.fm/download.html You might still need some of the dependencies from this repository, for instance soundtouch.