Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbound module Aurochs_pack? #1

Open
philtomson opened this issue Mar 10, 2012 · 1 comment
Open

Unbound module Aurochs_pack? #1

philtomson opened this issue Mar 10, 2012 · 1 comment

Comments

@philtomson
Copy link

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
Copy link
Author

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...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant