caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Cannot find graphics.cma
@ 2013-08-26  4:07 Secret
  2013-08-26  4:22 ` Francois Berenger
  2013-08-26  5:48 ` David Allsopp
  0 siblings, 2 replies; 3+ messages in thread
From: Secret @ 2013-08-26  4:07 UTC (permalink / raw)
  To: caml-list

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

Whenever I try to run

   #load graphics.cma

I receive a "Cannot find file graphics.cma" message.

I'm on Fedora Linux.

I went to usr/lib/ocaml and graphics.cma was NOT there. Not sure if it's
related.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Cannot find graphics.cma
  2013-08-26  4:07 [Caml-list] Cannot find graphics.cma Secret
@ 2013-08-26  4:22 ` Francois Berenger
  2013-08-26  5:48 ` David Allsopp
  1 sibling, 0 replies; 3+ messages in thread
From: Francois Berenger @ 2013-08-26  4:22 UTC (permalink / raw)
  To: caml-list

On my system, where OCaml and OCaml libraries and software were 
installed via ocamlbrew [1] then OPAM [2], graphics is here:

~/.opam/4.00.1/lib/ocaml/graphics.cma

[1] https://github.com/hcarty/ocamlbrew
[2] http://opam.ocamlpro.com/doc/Quick_Install.html

On 08/26/2013 01:07 PM, Secret wrote:
> Whenever I try to run
>
>     #load graphics.cma
>
> I receive a "Cannot find file graphics.cma" message.
>
> I'm on Fedora Linux.
>
> I went to usr/lib/ocaml and graphics.cma was NOT there. Not sure if it's
> related.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [Caml-list] Cannot find graphics.cma
  2013-08-26  4:07 [Caml-list] Cannot find graphics.cma Secret
  2013-08-26  4:22 ` Francois Berenger
@ 2013-08-26  5:48 ` David Allsopp
  1 sibling, 0 replies; 3+ messages in thread
From: David Allsopp @ 2013-08-26  5:48 UTC (permalink / raw)
  To: caml-list

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

graphics.cma is provided in the ocaml-runtime package - I'm not sure if you can install the main ocaml package without it pulling in the ocaml-runtime package, but is ocaml-runtime included in the output of:

sudo yum list "ocaml*"

under Installed packages?

Note that in order to use graphics.cma in the toploop, you'll also need ocaml-x11 which provides dllgraphics.so

HTH,


David

From: caml-list-request@inria.fr [mailto:caml-list-request@inria.fr] On Behalf Of Secret
Sent: 26 August 2013 06:07
To: caml-list@inria.fr
Subject: [Caml-list] Cannot find graphics.cma

Whenever I try to run

   #load graphics.cma

I receive a "Cannot find file graphics.cma" message.

I'm on Fedora Linux.

I went to usr/lib/ocaml and graphics.cma was NOT there. Not sure if it's related.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-26  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-26  4:07 [Caml-list] Cannot find graphics.cma Secret
2013-08-26  4:22 ` Francois Berenger
2013-08-26  5:48 ` David Allsopp

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).