OCaml Forge

Detail: [#1273] cmxs build error on OCaml 3.11.2: only supported since ocamlbuild 3.12.0

Bugs: Browse | Download .csv | Monitor

[#1273] cmxs build error on OCaml 3.11.2: only supported since ocamlbuild 3.12.0

Date:
2013-04-24 09:15
Priority:
3
State:
Open
Submitted by:
Török Edwin (edwin)
Assigned to:
Nobody (None)
Product:
OASIS
Due in version:
None
Resolution:
None
Severity:
None
Version:
None
Component:
Plugin OCamlbuild
Operating System:
Linux
 
URL:
Summary:
cmxs build error on OCaml 3.11.2: only supported since ocamlbuild 3.12.0

Detailed description
According to http://caml.inria.fr/pub/distrib/ocaml-4.00/notes/Changes ocamlbuild support for .cmxs was introduced in 3.12.0.

OASIS enables building of cmxs for 3.11.2 though, which results in this error for example:
Solver failed:
Ocamlbuild knows of no rules that apply to a target named src/uutf.cmxs. This can happen if you ask Ocamlbuild to build a target with the wrong extension (e.g. .opt instead of .native) or if the source files live in directories that have not been specified as include directories.
Backtrace:
- Failed to build the target src/uutf.cmxs
- Building src/uutf.cmxs

The fix would be probably to change ocaml_lt_312 to ocaml_lt_320 for cmxs support.

Followup

Message
Date: 2013-04-24 10:08
Sender: Sylvain Le Gall

ACK. I think I have already a patch for that on my repository, need to push it for the next release.

Attached Files:

Changes:

No Changes Have Been Made to This Item