<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2006/02/36ea1d88fbdff2d62bf07e1c69839952"
  from="Erik de Castro Lopo &lt;ocaml-erikd@m...&gt;"
  author="Erik de Castro Lopo"
  date="2006-02-25T04:10:40"
  subject="Re: [Caml-list] ubuntu ocaml missing unix module"
  prev="2006/02/58b79c51b309263043849d99234fa5cb"
  next="2006/02/87492d48b7b7425a57ea516b1a7f2397"
  prev-in-thread="2006/02/58b79c51b309263043849d99234fa5cb"
  prev-thread="2006/02/1640d4314b4423c9ca49c8e5bba9d00a"
  next-thread="2006/02/87492d48b7b7425a57ea516b1a7f2397"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="ubuntu ocaml missing unix module">
<msg 
  url="2006/02/58b79c51b309263043849d99234fa5cb"
  from="Brendan Miller &lt;catphive.lists@g...&gt;"
  author="Brendan Miller"
  date="2006-02-25T03:58:19"
  subject="ubuntu ocaml missing unix module">
<msg 
  url="2006/02/36ea1d88fbdff2d62bf07e1c69839952"
  from="Erik de Castro Lopo &lt;ocaml-erikd@m...&gt;"
  author="Erik de Castro Lopo"
  date="2006-02-25T04:10:40"
  subject="Re: [Caml-list] ubuntu ocaml missing unix module">
</msg>
</msg>
</thread>

<contents>
Brendan Miller wrote:

&gt; has anyone else run into this? on ocaml 3.08.3-3ubuntu5(breazy) the
&gt; implementation of the Unix module doesn't seem to be included.

I'm running Breezy and I've got:

    erikd@mingus &gt; ls -l /usr/lib/ocaml/3.08.3/unix.*
    -rw-r--r--  1 root root 59880 Aug 24  2005 /usr/lib/ocaml/3.08.3/unix.a
    -rw-r--r--  1 root root 22277 Aug 24  2005 /usr/lib/ocaml/3.08.3/unix.cma
    -rw-r--r--  1 root root 20956 Aug 24  2005 /usr/lib/ocaml/3.08.3/unix.cmi
    -rw-r--r--  1 root root 10054 Aug 24  2005 /usr/lib/ocaml/3.08.3/unix.cmx
    -rw-r--r--  1 root root   698 Aug 24  2005 /usr/lib/ocaml/3.08.3/unix.cmxa
    -rw-r--r--  1 root root 52002 Aug 24  2005 /usr/lib/ocaml/3.08.3/unix.mli

&gt; I get this
&gt; error when trying to use functions in UnixLabels or Unix
&gt; 
&gt; No implementations provided for the following modules:
&gt;   UnixLabels referenced from net.cmx
&gt; 
&gt; anyone know how to fix this? I'm a little frustrated, as I don't want to
&gt; remove this package and mess up everything that depends on it...

I've never used the UnixLabels module, but I do know that if I want
to use the Unix module (and some others like Str) I have to explicitly
link it by adding unix.cmxa to the link line so that I have something
like this in my Makefile:

    $(OCAMLOPT) -o &lt;target exeutable&gt; str.cmxa &lt;list of .cmx files&gt;

HTH,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
Dar al-Harb : http://en.wikipedia.org/wiki/Dar_al-Harb

</contents>

</message>

