← Back to team overview

ocaml-maint team mailing list archive

[Bug 343426] Re: ocamlbuildlib.cmxa is missing

 

Note that this problem is fixed in newer version of Ubuntu. So, I'll
change the status of this bug as "Fix released".

** Changed in: ocaml (Ubuntu)
       Status: New => Fix Released

-- 
ocamlbuildlib.cmxa is missing
https://bugs.launchpad.net/bugs/343426
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to ocaml in ubuntu.

Status in “ocaml” package in Ubuntu: Fix Released

Bug description:
Binary package hint: ocaml-nox

lsb_release -rd
----------------------
Description:	Ubuntu 8.04.1
Release:	8.04
(note that this system is a dell mini 9 netbook)

apt-cache policy ocaml-nox
---------------------------------------
ocaml-nox:
  Installed: 3.10.0-8
  Candidate: 3.10.0-8
  Version table:
 *** 3.10.0-8 0
        500 http://dell-mini.archive.canonical.com hardy/main Packages
        100 /var/lib/dpkg/status


apt-cache policy ocaml-native-compilers
----------------------------------------------------------
ocaml-native-compilers:
  Installed: (none)
  Candidate: 3.09.2-9ubuntu1
  Version table:
     3.09.2-9ubuntu1 0
        500 http://dell-mini.archive.canonical.com hardy/main Packages

---------------------

When I try to use ocamlbuild with a custom myocamlbuild.ml I get the following error:

Failure: Cannot found "ocamlbuildlib.cmxa" in ocamlbuild -where directory.
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:00.

/usr/bin/ocamlbuild is a symlink to /usr/bin/ocamlbuild.byte, so it seems incorrect that it depends on a native compiled library.

I am not sure exactly why ocamlbuildlib.cmxa is not installed (it is suppose to be a part of ocaml-nox, which I do have installed), but my thought is that it is because I do not have the ocaml-native-compilers package installed.  The issue is that my system seems to think that ocaml-native-compilers is only available in version 3.09 something whereas all of my other ocaml packages are version 3.10.


Please email me if further information is required.