Open fhars opened 11 years ago
compiling obus fails for me:
./setup-dev.exe -build W: Field XMETAType is set but matching plugin is not enabled. W: No exported module defined for library obus-syntax W: Field XMETAType is set but matching plugin is not enabled. W: No exported module defined for library obus-syntax W: Cannot find source file matching module 'Policy_kit_interfaces' in library obus-policykit W: Cannot find source file matching module 'Policy_kit_interfaces' in library obus-policykit W: Cannot find source file matching module 'UDisks_interfaces' in library obus-udisks W: Cannot find source file matching module 'UDisks_interfaces' in library obus-udisks W: Cannot find source file matching module 'UPower_interfaces' in library obus-upower W: Cannot find source file matching module 'UPower_interfaces' in library obus-upower W: Cannot find source file matching module 'Nm_interfaces' in library obus-network-manager W: Cannot find source file matching module 'Nm_interfaces' in library obus-network-manager W: Cannot find source file matching module 'Notification_interfaces' in library obus-notification W: Cannot find source file matching module 'Notification_interfaces' in library obus-notification W: Cannot find source file matching module 'Hal_interfaces' in library obus-hal W: Cannot find source file matching module 'Hal_interfaces' in library obus-hal W: Cannot find source file matching module 'OBus_interfaces' in library obus W: Cannot find source file matching module 'OBus_interfaces' in library obus /opt/godi/bin/ocamlopt.opt -I /opt/godi/lib/ocaml/std-lib/ocamlbuild unix.cmxa /opt/godi/lib/ocaml/std-lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /opt/godi/lib/ocaml/std-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild ocamlfind ocamldep -package xmlm -package type_conv -package lwt.unix -package lwt.syntax.log -package lwt.syntax -package lwt.react -package camlp4.quotations.o -package camlp4.lib -package camlp4.extend -modules src/oBus_address.mli > src/oBus_address.mli.depends ocamlfind ocamldep -package xmlm -package type_conv -package lwt.unix -package lwt.syntax.log -package lwt.syntax -package lwt.react -package camlp4.quotations.o -package camlp4.lib -package camlp4.extend -modules src/oBus_uuid.mli > src/oBus_uuid.mli.depends ocamlfind ocamlc -c -g -I src -package xmlm -package type_conv -package lwt.unix -package lwt.syntax.log -package lwt.syntax -package lwt.react -package camlp4.quotations.o -package camlp4.lib -package camlp4.extend -I src -o src/oBus_uuid.cmi src/oBus_uuid.mli ocamlfind ocamlc -c -g -I src -package xmlm -package type_conv -package lwt.unix -package lwt.syntax.log -package lwt.syntax -package lwt.react -package camlp4.quotations.o -package camlp4.lib -package camlp4.extend -I src -o src/oBus_address.cmi src/oBus_address.mli ocamlfind ocamldep -package type_conv -package camlp4.quotations.o -package camlp4 -syntax camlp4o -modules syntax/pa_obus.ml > syntax/pa_obus.ml.depends ocamlfind ocamlc -c -g -package type_conv -package camlp4.quotations.o -package camlp4 -syntax camlp4o -I syntax -o syntax/pa_obus.cmo syntax/pa_obus.ml + ocamlfind ocamlc -c -g -package type_conv -package camlp4.quotations.o -package camlp4 -syntax camlp4o -I syntax -o syntax/pa_obus.cmo syntax/pa_obus.ml File "syntax/pa_obus.ml", line 16, characters 9-1049: Error: This function expects too many arguments, it should have type Camlp4.PreCast.Syntax.Ast.expr option -> Camlp4.PreCast.Ast.ctyp -> Camlp4.PreCast.Ast.str_item Command exited with code 2. E: Failure("Command '/opt/godi/bin/ocamlbuild src/obus.cma src/obus.cmxs src/obus.cmxa src/obus.a src/obus-idl.cma src/obus-idl.cmxs src/obus-idl.cmxa src/obus-idl.a syntax/obus-syntax.cma bindings/hal/obus-hal.cma bindings/hal/obus-hal.cmxs bindings/hal/obus-hal.cmxa bindings/hal/obus-hal.a bindings/notification/obus-notification.cma bindings/notification/obus-notification.cmxs bindings/notification/obus-notification.cmxa bindings/notification/obus-notification.a bindings/network-manager/obus-network-manager.cma bindings/network-manager/obus-network-manager.cmxs bindings/network-manager/obus-network-manager.cmxa bindings/network-manager/obus-network-manager.a bindings/upower/obus-upower.cma bindings/upower/obus-upower.cmxs bindings/upower/obus-upower.cmxa bindings/upower/obus-upower.a bindings/udisks/obus-udisks.cma bindings/udisks/obus-udisks.cmxs bindings/udisks/obus-udisks.cmxa bindings/udisks/obus-udisks.a bindings/policykit/obus-policykit.cma bindings/policykit/obus-policykit.cmxs bindings/policykit/obus-policykit.cmxa bindings/policykit/obus-policykit.a tools/obus_gen_interface.native tools/obus_dump.native tools/obus_gen_client.native tools/obus_gen_server.native tools/obus_xml2idl.native tools/obus_idl2xml.native tools/obus_introspect.native examples/bus_functions.native examples/eject.native examples/hello.native examples/list_services.native examples/monitor.native examples/notify.native examples/ping.native examples/pong.native examples/signals.native examples/network_manager.native examples/battery_monitoring.native -tag debug' terminated with error code 10") make: *** [build] Fehler 1
ocaml 3.12.1, oasis 0.3.0.
You should probably put a strongly worded warning on type_conv version compatibility into the README.md. It also misses the dependency on rubber for the doc target.
type_conv
README.md
compiling obus fails for me:
ocaml 3.12.1, oasis 0.3.0.