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

FreeBSD build/install #2

Open
ndowens opened this issue Aug 18, 2018 · 3 comments
Open

FreeBSD build/install #2

ndowens opened this issue Aug 18, 2018 · 3 comments

Comments

@ndowens
Copy link

ndowens commented Aug 18, 2018

===> Building for aifad-2.2.1
--- all ---
dune build @install
getconf (internal)
getconf: no such configuration parameter `_NPROCESSORS_ONLN'
ocamlc src/.aifad.eobjs/typing.{cmi,cmti} (exit 2)
(cd _build/default && /usr/local/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -9 -principal -g -bin-annot -I src/.aifad.eobjs -I /usr/local/lib/ocaml/site-lib/bytes -I /usr/local/lib/ocaml/site-lib/cfg -I /usr/local/lib/ocaml/site-lib/pcre -I /usr/local/lib/ocaml/site-lib/res -I /usr/local/lib/ocaml/threads -no-alias-deps -o src/.aifad.eobjs/typing.cmi -c -intf src/typing.mli)
File "src/typing.mli", line 25, characters 15-31:
Error: Unbound module Cfg

@mmottl
Copy link
Owner

mmottl commented Aug 18, 2018

I'm not quite sure about your configuration. Are you using OPAM? If not, you may have to install my Cfg library manually first: https://github.com/mmottl/cfg

@ndowens
Copy link
Author

ndowens commented Aug 18, 2018

@mmottl That's the dependency I'm using mmottl/cfg

@mmottl
Copy link
Owner

mmottl commented Aug 18, 2018

I see, it's apparently in /usr/local/lib/ocaml/site-lib/cfg on your system. You may want to check whether it's really there. There should be a cfg.cmi file in that directory.

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

2 participants