caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Tim Leonard <Tim@TimLeonard.us>
To: caml-list@inria.fr
Subject: [Caml-list] why does "opam install graphics" fail?
Date: Tue, 13 Feb 2018 23:53:09 -0500	[thread overview]
Message-ID: <E930BFBA-2D98-476E-9E94-15C5465ED778@TimLeonard.us> (raw)
In-Reply-To: <F5976597-B82E-4D1A-BF50-11C3FD9BE3E1@TimLeonard.us>

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

I tried to install the ocaml graphics package, but it fails. Any suggestions for how I can fix it?
Other than the missing graphics package, my ocaml install is working fine.

    ~/Documents/Work/Code/OCaml with graphics: opam update
    
    =-=- Updating package repositories =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    [default: http] Command started
    [default: http] Command started
    [default] synchronized from https://opam.ocaml.org
    
    ~/Documents/Work/Code/OCaml with graphics: opam upgrade
    Already up-to-date.
    
    ~/Documents/Work/Code/OCaml with graphics: opam install graphics
    The following actions will be performed:
      ∗  install graphics 1.0
    
    =-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    
    =-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    [graphics: ocamlc graphics.cma] Command started
    [ERROR] The compilation of graphics failed at "ocamlc -custom graphics.cma -o
            test".
    
    #=== ERROR while installing graphics.1.0 ======================================#
    # opam-version         1.2.2
    # os                   darwin
    # command              ocamlc -custom graphics.cma -o test
    # path                 /Users/Tim/.opam/system/build/graphics.1.0
    # compiler             system (4.04.0)
    # exit-code            2
    # env-file             /Users/Tim/.opam/system/build/graphics.1.0/graphics-14648-7afd23.env
    # stdout-file          /Users/Tim/.opam/system/build/graphics.1.0/graphics-14648-7afd23.out
    # stderr-file          /Users/Tim/.opam/system/build/graphics.1.0/graphics-14648-7afd23.err
    ### stderr ###
    # File "_none_", line 1:
    # Error: Cannot find file graphics.cma
    
    =-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    The following actions failed
      ∗  install graphics 1.0
    No changes have been performed
    
    =-=- graphics.1.0 troubleshooting -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    => This package checks whether the Graphics library was compiled.


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

       reply	other threads:[~2018-02-14  4:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F5976597-B82E-4D1A-BF50-11C3FD9BE3E1@TimLeonard.us>
2018-02-14  4:53 ` Tim Leonard [this message]
2018-02-14  6:39   ` vrotaru.md
     [not found]   ` <520e5733-b31b-5f65-d878-9d8de4a5f90a@bioreg.kyushu-u.ac.jp>
2018-02-14 15:03     ` Tim Leonard
2018-02-14 15:17       ` Xavier Clerc
2018-02-14 16:08         ` Tim Leonard
2018-02-14 16:15           ` Xavier Clerc
2018-02-14 17:16             ` Tim Leonard
2018-02-14 17:26               ` David Allsopp
2018-02-14 18:31                 ` Tim Leonard
2018-02-14 18:36                   ` vrotaru.md
2018-02-14 18:39                     ` Tim Leonard
2018-02-14 19:24                       ` vrotaru.md
2018-02-14 19:58                         ` Tim Leonard
2018-02-14 18:37                   ` Tim Leonard
     [not found]               ` <CAGi3GpyM_Xs2JMqpomi-SbnsGpnecfQaqXK7vJ-+kb3z4dYz3A@mail.gmail.com>
     [not found]                 ` <CAGi3GpwZ26+mJgbuKEXqaAHd3CZgPzOcDM-keizNekT2FuAO_A@mail.gmail.com>
2018-02-14 18:28                   ` Tim Leonard

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=E930BFBA-2D98-476E-9E94-15C5465ED778@TimLeonard.us \
    --to=tim@timleonard.us \
    --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).