From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 068CB8239C for ; Wed, 14 Feb 2018 17:08:34 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=tim@ryanleonard.us; spf=None smtp.mailfrom=tim@ryanleonard.us; spf=None smtp.helo=postmaster@mail-yw0-f171.google.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of tim@ryanleonard.us) identity=pra; client-ip=209.85.161.171; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="tim@ryanleonard.us"; x-sender="tim@ryanleonard.us"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of tim@ryanleonard.us) identity=mailfrom; client-ip=209.85.161.171; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="tim@ryanleonard.us"; x-sender="tim@ryanleonard.us"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-yw0-f171.google.com) identity=helo; client-ip=209.85.161.171; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="tim@ryanleonard.us"; x-sender="postmaster@mail-yw0-f171.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3ARDp9SBxw/1Gp2l3XCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?2usUIJqq85mqBkHD//Il1AaPAd2Craocw8Pt8InYEVQa5piAtH1QOLdtbDQizf?= =?us-ascii?q?ssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1?= =?us-ascii?q?JuPoEYLOksi7ze+/94HObwlSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeu?= =?us-ascii?q?BWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6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WL9Vq2mgU?= =?us-ascii?q?XrysUYQJ1xiouRTm0bdqMqzf/ShO5rz5090g2+zW3TU/8jp9FcjVh12MSklIn2?= =?us-ascii?q?YsSjgw1bpz51FmnATQmZNkiuBVQIQAr8hCVR03YNuBlrUrWeC3YRrIe5KycHjj?= =?us-ascii?q?R9ynBT8rSddonY0Uck97H9iliBnZ02y3GO1NzuDZNNkP6qvZmkPJCYNl0X+fiv?= =?us-ascii?q?s7nlAgRsZIM2S8iuhi7FqLXtObowCij6+vMJ8k8mvN+WOElzTcuUhZVEthTv2A?= =?us-ascii?q?UylAPw3ZqtP24k6ERLirW+wq?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BsAwDWXYRahquhVdFdGgEBAQEBAgEBA?= =?us-ascii?q?QEIAQEBAYQoEIEYg2WYJ4ICgReBUI8XhxQDZiOFGIJ/GQYFMxUBAgEBAQEBAQE?= =?us-ascii?q?BARIBAQEICwsIKC+COCSCRwEBAgIBIx0BASwLAQQLAQoOCg0aAwICNAEFAQoBE?= =?us-ascii?q?QYTEooLAw0IEKJGQIspboIngwsBAQWBb4I+A4E8ghMBAQgBAQEBAQEBGQgJAQi?= =?us-ascii?q?EcIIVVIMUgwWDJIIrgmoxgjSIewyBY4h/YI9rCYFGhlqQBGeJJRGICYsUgm6GS?= =?us-ascii?q?oMgAgQCBAUCBhQlgRcPJoFzTTVAKgGCGwk2gV0qgk9aAY1lAQEB?= X-IPAS-Result: =?us-ascii?q?A0BsAwDWXYRahquhVdFdGgEBAQEBAgEBAQEIAQEBAYQoEIE?= =?us-ascii?q?Yg2WYJ4ICgReBUI8XhxQDZiOFGIJ/GQYFMxUBAgEBAQEBAQEBARIBAQEICwsIK?= =?us-ascii?q?C+COCSCRwEBAgIBIx0BASwLAQQLAQoOCg0aAwICNAEFAQoBEQYTEooLAw0IEKJ?= =?us-ascii?q?GQIspboIngwsBAQWBb4I+A4E8ghMBAQgBAQEBAQEBGQgJAQiEcIIVVIMUgwWDJ?= =?us-ascii?q?IIrgmoxgjSIewyBY4h/YI9rCYFGhlqQBGeJJRGICYsUgm6GSoMgAgQCBAUCBhQ?= =?us-ascii?q?lgRcPJoFzTTVAKgGCGwk2gV0qgk9aAY1lAQEB?= X-IronPort-AV: E=Sophos;i="5.46,513,1511823600"; d="scan'208,217";a="313584967" Received: from mail-yw0-f171.google.com ([209.85.161.171]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 14 Feb 2018 17:08:32 +0100 Received: by mail-yw0-f171.google.com with SMTP id z77so3415350ywa.1 for ; Wed, 14 Feb 2018 08:08:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ryanleonard-us.20150623.gappssmtp.com; s=20150623; h=sender:mime-version:subject:from:in-reply-to:date:cc:message-id :references:to; bh=nDLQOZr8vu6r7cYeTdyzKk1zExBkbSoYF2T76MnRuKs=; b=VD1jGazrkdNfv8I+Exao/071118vBjZpp8bB5ZdhiIld9yjgWB0eOFBZggw8tbtgdr vlJhhLku9vEAH1wRuF7/6DKcAvS2I8vHUf69yejUG6Rbll1MCC6/6FMF4B4NheBfofSI WGpflJVksWtIKa6YYeqYoamwHDca5X2SWSmsBcFl/tnka1I+Tjt+FzLppCExrWwfg/DN gki0TPCoGFAAfTg9ovo+X6RQNezaeMMXi6Xrg1f7acdJADalLRyeoVW60o39HwaaoyGz Y0wwKwYbQ5GFWpxNNxgPzgZ+d9CicYfRX3LUe2M821ZABcRYt6g2dmqXvRjoa9412dDe DYzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; bh=nDLQOZr8vu6r7cYeTdyzKk1zExBkbSoYF2T76MnRuKs=; b=Q0f2FzF6BW9QENBb1ePlWhVNBVFG71JFApji3rpF9FfvEVnQ2No8qWRGD+k2heyGz4 NJvfoOzHiWWpYFlyhE7fW6V6CjjXYmTTRBq2dL11t6Jqoarx2QqkN9b4fXDxm4rLGRWB rcmn2lgIeQY0RjbR3rhiFaaDUzuPG9ehCy2QM+DOqGsRqulkVzMGQo+/vx1WgNmsiX8g M+cAvfGzUaUMCxN5vmypc+zfbkWQRrF1IX9Yw1Jh+hKr/IyrbpSsbZaXai8rn9Rnsk1j MO+BLCXWCory0zHNnjrqD/SYnlCV6cO65OCdmShs7+yRukOw63lpbZ5VxjKIxrBQk9y3 STmw== X-Gm-Message-State: APf1xPC+YCj9g7lQ8Ty7jmrZ+OfNAz+jUxZpGWD82ujxxE2J4JGLMtHA MV3BOJYtU+abg7D0TqkU5JbH8awEYJY= X-Google-Smtp-Source: AH8x225PFgtWwR7+xrwbvgXSVlf6cKbWZqsc/LCQINRtfwrDALffGkeHIqZ1zcQZ8/m+h0jXmxGJXA== X-Received: by 10.129.238.16 with SMTP id l16mr3531618ywm.221.1518624510808; Wed, 14 Feb 2018 08:08:30 -0800 (PST) Received: from [10.0.1.3] ([75.134.13.20]) by smtp.gmail.com with ESMTPSA id u128sm5118093ywb.49.2018.02.14.08.08.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 08:08:29 -0800 (PST) Sender: Tim Leonard Content-Type: multipart/alternative; boundary="Apple-Mail=_1EDED15E-CC61-4F70-BFB7-AF146AA0E1FF" Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) From: Tim Leonard In-Reply-To: Date: Wed, 14 Feb 2018 11:08:28 -0500 Cc: caml-list Message-Id: <336C66CC-DAED-4E7F-9D62-7BB4E5FEB82C@TimLeonard.us> References: <520e5733-b31b-5f65-d878-9d8de4a5f90a@bioreg.kyushu-u.ac.jp> <4B06513F-63F8-4743-A1A2-DD8CB7D7DDDB@TimLeonard.us> To: Xavier Clerc X-Mailer: Apple Mail (2.3445.5.20) Subject: Re: [Caml-list] why does "opam install graphics" fail? --Apple-Mail=_1EDED15E-CC61-4F70-BFB7-AF146AA0E1FF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks, Xavier. Yes, I have X11 installed. > On Feb 14, 2018, at 10:17 AM, Xavier Clerc wrote: >=20 > Not sure it is relevant to your case, but under macOS > you need to manually install X11. For instance you can > use https://www.xquartz.org/ >=20 > (Obviously, it should be installed before compiling OCaml.) >=20 >=20 > Hope this helps, >=20 > Xavier >=20 >=20 > On Wed, Feb 14, 2018 at 3:03 PM, Tim Leonard > wrote: > Thanks for the suggestion, but it doesn't seem to have helped. I get the = same error with the same messages. >=20 > Do I need to rebuild from further back? >=20 >=20 >=20 > > On Feb 14, 2018, at 12:14 AM, Francois BERENGER > 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 f= ine. > >> > >> ~/Documents/Work/Code/OCaml with graphics: opam update > >> > >> =3D-=3D- Updating package repositories > >> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D > >> [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: > >> =E2=88=97 install graphics 1.0 > >> > >> =3D-=3D- Gathering sources > >> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > >> > >> =3D-=3D- Processing actions > >> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > >> [graphics: ocamlc graphics.cma] Command started > >> [ERROR] The compilation of graphics failed at "ocamlc -custom > >> graphics.cma -o > >> test". > >> > >> #=3D=3D=3D ERROR while installing graphics.1.0 > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D# > >> # 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 > >> > >> =3D-=3D- Error report > >> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > >> The following actions failed > >> =E2=88=97 install graphics 1.0 > >> No changes have been performed > >> > >> =3D-=3D- graphics.1.0 troubleshooting > >> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D > >> =3D> This package checks whether the Graphics library was compiled. > >> >=20 >=20 > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >=20 --Apple-Mail=_1EDED15E-CC61-4F70-BFB7-AF146AA0E1FF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Thanks, Xavier. Yes, I hav= e X11 installed.



On Feb 14, 2018, at 10:17 AM, Xavier Clerc <xclerc@janestreet.com> wrote:
Not sure it is relevant to your case, but under macOS
you need to manually install X11. For instance you can

(Obviousl= y, it should be installed before compiling OCaml.)

Hope= this helps,

Xavi= er


On Wed, Feb 14, 2018 at 3:03 P= M, Tim Leonard <Tim@timleonard.us> wro= te:
Thanks for the suggestion,= but it doesn't seem to have helped. I get the same error with the same mes= sages.

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 worki= ng fine.
>>
>>     ~/Documents/Work/Code/OCaml with graphics: opam= update
>>
>>     =3D-=3D- Updating package repositories
>> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
>>     [default: http] Command started
>>     [default: http] Command started
>>     [default] synchronized from https://op= am.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:
>>       =E2=88=97  install graphics 1.0
>>
>>     =3D-=3D- Gathering sources
>> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
>>
>>     =3D-=3D- Processing actions
>> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
>>     [graphics: ocamlc graphics.cma] Command started=
>>     [ERROR] The compilation of graphics failed at "= ocamlc -custom
>> graphics.cma -o
>>             test".
>>
>>     #=3D=3D=3D ERROR while installing graphics.1.0<= br class=3D""> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
>>     # opam-version         = ;1.2.2
>>     # os            &= nbsp;      darwin
>>     # command          &nb= sp;   ocamlc -custom graphics.cma -o test
>>     # path           =      /Users/Tim/.opam/system/build/graphics= .1.0
>>     # compiler          &n= bsp;  system (4.04.0)
>>     # exit-code          &= nbsp; 2
>>     # env-file
>> /Users/Tim/.opam/system/build/graphics.1.0/graphic= s-14648-7afd23.env
>>     # stdout-file
>>  /Users/Tim/.opam/system/build/graphics.1.0/g= raphics-14648-7afd23.out
>>     # stderr-file
>>  /Users/Tim/.opam/system/build/graphics.1.0/g= raphics-14648-7afd23.err
>>     ### stderr ###
>>     # File "_none_", line 1:
>>     # Error: Cannot find file graphics.cma
>>
>>     =3D-=3D- Error report
>> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
>>     The following actions failed
>>       =E2=88=97  install graphics 1.0
>>     No changes have been performed
>>
>>     =3D-=3D- graphics.1.0 troubleshooting
>> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
>>     =3D> This package checks whether the Graphic= s library was compiled.
>>


-- Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/ar= c/caml-list
Beginner's list: http://groups.yahoo.com/gro= up/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


= --Apple-Mail=_1EDED15E-CC61-4F70-BFB7-AF146AA0E1FF--