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: Re: [Caml-list] why does "opam install graphics" fail?
Date: Wed, 14 Feb 2018 10:03:47 -0500	[thread overview]
Message-ID: <4B06513F-63F8-4743-A1A2-DD8CB7D7DDDB@TimLeonard.us> (raw)
In-Reply-To: <520e5733-b31b-5f65-d878-9d8de4a5f90a@bioreg.kyushu-u.ac.jp>

Thanks for the suggestion, but it doesn't seem to have helped. I get the same error with the same messages.

Do I need to rebuild from further back?



> On Feb 14, 2018, at 12:14 AM, Francois BERENGER <berenger@bioreg.kyushu-u.ac.jp> wrote:
> 
> Install a compiler via opam instead of relying on the system one.
> 
> $ opam switch 4.04.0
> $ eval `opam config env`
> $ opam install graphics
> 
> I am quite sure it would solve your problem.
> 
> On 02/14/2018 01:53 PM, Tim Leonard wrote:
>> 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.
>> 


  parent reply	other threads:[~2018-02-14 15:03 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
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 [this message]
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=4B06513F-63F8-4743-A1A2-DD8CB7D7DDDB@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).