caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: 心如烛光 <275438859@qq.com>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] encounter errors while it is installing opam
Date: Thu, 17 Sep 2015 11:59:57 +0800	[thread overview]
Message-ID: <tencent_752281A34DFDE8C605CEC80E@qq.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2992 bytes --]

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! 


Yours!


here is the return of the brew:
$ 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





And below is the message of the macport:
$ 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

[-- Attachment #2: Type: text/html, Size: 3595 bytes --]

             reply	other threads:[~2015-09-17  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  3:59 心如烛光 [this message]
2015-09-17  9:56 ` Anil Madhavapeddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_752281A34DFDE8C605CEC80E@qq.com \
    --to=275438859@qq.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).