orbitz / opass

Simple password db

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

db package not found during build

j2labs opened this issue · comments

I have installed the latest stable release of Jane St's core and am using Ocaml 4.00.1.

make -C lib
make -C db .d
ocamlfind ocamldep -package core,sexplib,sexplib.syntax -syntax camlp4o db.mli > .d
make[2]: .d' is up to date. make -C db ocamlfind ocamlc -thread -I +camlp4 -package core,sexplib,sexplib.syntax -syntax camlp4o -c db.mli ocamlfind ocamlopt -thread -I +camlp4 -package core,sexplib,sexplib.syntax -syntax camlp4o -c db.ml ocamlfind ocamlopt -package core,sexplib,sexplib.syntax -syntax camlp4o -a -thread -I +camlp4 -o db.cmxa db.cmx ocamlfind ocamlc -thread -I +camlp4 -package core,sexplib,sexplib.syntax -syntax camlp4o -c db.ml ocamlfind ocamlc -package core,sexplib,sexplib.syntax -syntax camlp4o -custom -a -thread -I +camlp4 -o db.cma db.cmo make -C password .d ocamlfind ocamldep -package core password.ml password.mli > .d make[2]:.d' is up to date.
make -C password
ocamlfind ocamlc -thread -I +camlp4 -package core -c password.mli
ocamlfind ocamlopt -thread -I +camlp4 -package core -c password.ml
ocamlfind ocamlopt -package core -a -thread -I +camlp4 -o password.cmxa password.cmx
ocamlfind ocamlc -thread -I +camlp4 -package core -c password.ml
ocamlfind ocamlc -package core -custom -a -thread -I +camlp4 -o password.cma password.cmo
make -C editable .d
ocamlfind ocamldep -package core entry.ml form.ml engine.ml entry.mli form.mli engine.mli > .d
make[2]: .d' is up to date. make -C editable ocamlfind ocamlc -thread -I +camlp4 -package core -c entry.mli ocamlfind ocamlopt -thread -I +camlp4 -for-pack Editable -package core -c entry.ml ocamlfind ocamlc -thread -I +camlp4 -package core -c form.mli ocamlfind ocamlopt -thread -I +camlp4 -for-pack Editable -package core -c form.ml ocamlfind ocamlc -thread -I +camlp4 -package core -c engine.mli ocamlfind ocamlopt -thread -I +camlp4 -for-pack Editable -package core -c engine.ml ocamlfind ocamlopt -pack -o editable.cmx entry.cmx form.cmx engine.cmx ocamlfind ocamlopt -for-pack Editable -package core -a -thread -I +camlp4 -o editable.cmxa editable.cmx ocamlfind ocamlc -thread -I +camlp4 -package core -c entry.ml ocamlfind ocamlc -thread -I +camlp4 -package core -c form.ml ocamlfind ocamlc -thread -I +camlp4 -package core -c engine.ml ocamlfind ocamlc -pack -o editable.cmo entry.cmo form.cmo engine.cmo ocamlfind ocamlc -package core -custom -a -thread -I +camlp4 -o editable.cma editable.cmo make -C main .d ocamlfind ocamldep -package str,core,core_extended,db,password,editable forms.ml db_io.ml oui.ml import_1password.ml main.ml forms.mli db_io.mli oui.mli import_1password.mli > .d ocamlfind: Packagedb' not found
make[2]: *** No rule to make target `.d'. Stop.
make[1]: *** [main] Error 2
make: *** [all] Error 2

I fixed it by adjusting OCAMLPATH. I figure that should be part of the build process somehow.

Setting env variables in make doesn't work for me, still trying to figure out how to do it properly.

This should be fixed in commit 6694406, please verify if you get a chance.