Hi,everybody.
I wanna install opam for my macbook pro(osx 10.8.5 mountain lion).And I have tried both the macport and the brew installations. Unfortunately,I get errors with two process.How could I fix it?Thank you!
$ sudo brew reinstall ocaml
Password:
==> Reinstalling ocaml
==> Downloading https://homebrew.bintray.com/bottles/ocaml-4.02.3.mountain_lion.
Already downloaded: /Library/Caches/Homebrew/ocaml-4.02.3.mountain_lion.bottle.tar.gz
==> Pouring ocaml-4.02.3.mountain_lion.bottle.tar.gz
🍺 /usr/local/Cellar/ocaml/4.02.3: 1187 files, 116M
kevintekiMacBook-Pro:~ kevin$ sudo brew reinstall opam --without-aspcud
==> Reinstalling opam with --without-aspcud
==> Downloading https://github.com/ocaml/opam/archive/1.2.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/opam-1.2.2.tar.gz
==> Downloading https://gforge.inria.fr/frs/download.php/file/33593/cudf-0.7.tar
Already downloaded: /Library/Caches/Homebrew/opam--cudf-0.7.tar.gz
==> Downloading http://erratique.ch/software/uutf/releases/uutf-0.9.3.tbz
Already downloaded: /Library/Caches/Homebrew/opam--uutf-0.9.3.tbz
==> Downloading https://gforge.inria.fr/frs/download.php/file/34277/dose3-3.3.ta
Already downloaded: /Library/Caches/Homebrew/opam--dose3-3.3.tar.gz
==> Downloading http://ocamlgraph.lri.fr/download/ocamlgraph-1.8.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/opam--ocamlgraph-1.8.5.tar.gz
==> Downloading http://erratique.ch/software/jsonm/releases/jsonm-0.9.1.tbz
Already downloaded: /Library/Caches/Homebrew/opam--jsonm-0.9.1.tbz
==> Downloading https://github.com/ocaml/ocaml-re/archive/ocaml-re-1.2.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/opam--ocaml-re-1.2.0.tar.gz
==> Downloading http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.7.tb
Already downloaded: /Library/Caches/Homebrew/opam--cmdliner-0.9.7.tbz
==> Downloading https://ocaml-extlib.googlecode.com/files/extlib-1.5.3.tar.gz
curl: (7) Failed to connect to 2404:6800:4008:c05::52: No route to host
Error: Failed to download resource "opam--extlib"
Download failed: https://ocaml-extlib.googlecode.com/files/extlib-1.5.3.tar.gz
$ sudo port install opam
Password:
---> Computing dependencies for opam
---> Dependencies to be installed: aspcud gringo re2c scons
---> Verifying checksums for re2c
Error: org.macports.checksum for port re2c returned: re2c-0.14.3.tar.gz does not exist in /opt/local/var/macports/distfiles/re2c
Error: Failed to install re2c
Please see the log file for port re2c for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2c/re2c/main.log
Error: The following dependencies were not installed: aspcud gringo re2c scons
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port opam failed