aurochs icon indicating copy to clipboard operation
aurochs copied to clipboard

Unbound module Aurochs_pack?

Open philtomson opened this issue 12 years ago • 1 comments

I installed Aurochs on a new system and then went to build the astsaver example:

$ cd examples/astsaver $ make Finished, 1 target (0 cached) in 00:00:00.

  • /home/phil/godi-3.12.1.0/bin/ocamlc.opt -c -I +aurochs_lib -o astsaver.cmo astsaver.ml File "astsaver.ml", line 3, characters 0-17: Error: Unbound module Aurochs_pack Command exited with code 2. Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00. make: *** [all] Error 10

Why is this?

philtomson avatar Mar 10 '12 22:03 philtomson

I found that the make file was calling the system OCaml (at /usr/bin/ocaml) instead of the Godi OCaml 3.12 which is in my path. Not sure why :

OCAML_DIR=$(shell ocamlc -where)

(from the Makefile) Is calling the /usr/bin/ocamlc instead of the godi ocamlc in my path. I ended up hardcoding it so that it explicitly calls mine:

OCAML_DIR=$(shell /home/phil/godi-3.12.1.0/bin/ocamlc -where)

(kind of a hack...)

philtomson avatar Mar 11 '12 01:03 philtomson