[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ocamlfind and ocamldestdir



Sylvain Le Gall a écrit :
Hello,

It's probably the use of debuild that I do not quite get, but I'd like to know in more detail how you guys get to do this.


Take example on other packages, e.g. ocaml-libvirt:
http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-libvirt.git

Thanks.

By the way,

http://pkg-ocaml-maint.alioth.debian.org/ocaml_packaging_policy.html/x565.html

is not up to date.

You can also take a look at various build log:
http://buildd.debian.org/pkg.cgi?pkg=ocaml-libvirt

(see the use of OCAMLDESTDIR which is a findlib variable added to make
invocation)

Yes, I finally noticed that. I took my example from the inotify bindings. But somehow, I get the following statement:

ocamlfind install -destdir /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2 pgocaml META pgocaml.a pgocaml.cma pgocaml.cmxa pGOCaml.cm[ix] pa_pgsql.cmo
ocamlfind: Bad configuration: Cannot mkdir /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml because a path component does not exist or is not a directory

This seems weird to me, since I do not see a similar complaint, or a similar folder being created when I run debuild -i -us -uc -b on the inotify package.

Regards
Guillaume Yziquel.


Reply to: