Hi,
are there any instructions on building Core, Core_kernel, etc. from
GitHub source (i.e. not via OPAM or tarball)?
I wanted to add a feature to Core_kernel, but the build for Git tag
113.33.01+4.03 fails with this error:
----------
./setup.exe -build -j 8
W: No replace section found in file Makefile
W: Cannot find source file matching module 'core_kernel' in library core_kernel.
W: Use InterfacePatterns or ImplementationPatterns to define this file
with feature "source_patterns".
+ ocamlfind ocamlopt unix.cmxa -I
/Users/mmottl/.opam/4.03.0/lib/ocamlbuild
/Users/mmottl/.opam/4.03.0/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg
myocamlbuild.ml
/Users/mmottl/.opam/4.03.0/lib/ocamlbuild/ocamlbuild.cmx -o
myocamlbuild
File "
myocamlbuild.ml", line 71, characters 4-34:
Error: Unbound module Ppx_driver_ocamlbuild
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
E: Failure("Command ''/Users/mmottl/.opam/4.03.0/bin/ocamlbuild'
src/libcore_kernel_stubs.a src/dllcore_kernel_stubs.so
src/core_kernel.cma src/core_kernel.cmxa src/core_kernel.a
src/core_kernel.cmxs -use-ocamlfind -tag debug -j 8' terminated with
error code 10")
make: *** [build] Error 1
EXIT STATUS 2
---------
This doesn't happen with the distributed tarball of the exact same version.
Regards,
Markus
--
Markus Mottl
http://www.ocaml.info markus...@gmail.com