From: maranget@yquem.inria.fr (Luc Maranget)
To: Jon Harrop <jon@ffconsultancy.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Could not get a file descriptor referring to the console
Date: Thu, 21 Aug 2008 14:42:43 +0200 [thread overview]
Message-ID: <20080821124243.GA16681@yquem.inria.fr> (raw)
In-Reply-To: <200808201926.58511.jon@ffconsultancy.com>
>
> I am trying to run the source code from MATIAS GIOVANNINI's wonderful article
> Aperiodic Tilings:
>
> http://alaska-kamtchatka.blogspot.com/2008/08/aperiodic-tilings.html
>
> but just get this error:
>
> $ ocamlopt unix.cmxa -o tiling tiling.ml
> $ ./tiling
> Couldnt get a file descriptor referring to the console
> Could not get a file descriptor referring to the console
>
> I'm using Debian. What's the solution?!
>
The responsible is function 'show' (Line 153).
It forks (Unix.system) a Unix command to display a postscript file.
The postcript viewer used is /usr/bin/open (?)
Just replace /usr/bin/open by a Postscript viewer,
installed on your machine. The viewer should take the name
of the postscript as its command line argument.
> --
> Dr Jon D Harrop, Flying Frog Consultancy Ltd.
--Luc
next prev parent reply other threads:[~2008-08-21 12:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 18:26 Jon Harrop
2008-08-21 12:42 ` Luc Maranget [this message]
2008-08-21 12:47 ` [Caml-list] " Mark Shinwell
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=20080821124243.GA16681@yquem.inria.fr \
--to=maranget@yquem.inria.fr \
--cc=caml-list@yquem.inria.fr \
--cc=jon@ffconsultancy.com \
/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