aifad icon indicating copy to clipboard operation
aifad copied to clipboard

FreeBSD build/install

Open ndowens opened this issue 7 years ago • 3 comments

===> 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

ndowens avatar Aug 18 '18 00:08 ndowens

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

mmottl avatar Aug 18 '18 02:08 mmottl

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

ndowens avatar Aug 18 '18 03:08 ndowens

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.

mmottl avatar Aug 18 '18 04:08 mmottl