* Could not get a file descriptor referring to the console
@ 2008-08-20 18:26 Jon Harrop
2008-08-21 12:42 ` [Caml-list] " Luc Maranget
0 siblings, 1 reply; 3+ messages in thread
From: Jon Harrop @ 2008-08-20 18:26 UTC (permalink / raw)
To: caml-list
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?!
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Could not get a file descriptor referring to the console
2008-08-20 18:26 Could not get a file descriptor referring to the console Jon Harrop
@ 2008-08-21 12:42 ` Luc Maranget
2008-08-21 12:47 ` Mark Shinwell
0 siblings, 1 reply; 3+ messages in thread
From: Luc Maranget @ 2008-08-21 12:42 UTC (permalink / raw)
To: Jon Harrop; +Cc: caml-list
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Could not get a file descriptor referring to the console
2008-08-21 12:42 ` [Caml-list] " Luc Maranget
@ 2008-08-21 12:47 ` Mark Shinwell
0 siblings, 0 replies; 3+ messages in thread
From: Mark Shinwell @ 2008-08-21 12:47 UTC (permalink / raw)
To: Luc Maranget; +Cc: caml-list
On Thu, Aug 21, 2008 at 02:42:43PM +0200, Luc Maranget wrote:
> /usr/bin/open (?)
...which exists on Mac OS X.
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-21 12:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-20 18:26 Could not get a file descriptor referring to the console Jon Harrop
2008-08-21 12:42 ` [Caml-list] " Luc Maranget
2008-08-21 12:47 ` Mark Shinwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox