[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] request patch to fix ocaml on Deb8
On deb8, the ocaml config used during xen build is here: /etc/ocamlfind.conf #ocamlfind printconf destdir -> /usr/local/lib/ocaml/4.01.0 I prefer to use stdlib, not destdir. So thats what I use in the patch below. cat xen-deb8-common-make.patch ---------------------- snip -------------- diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make index d5478f6..fa5f9b0 100644--- a/tools/ocaml/common.make +++ b/tools/ocaml/common.make @@ -17,6 +17,6 @@ OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F VERSION := 4.1 -OCAMLDESTDIR ?= $(DESTDIR)$(shell $(OCAMLFIND) printconf destdir) +OCAMLDESTDIR ?= $(DESTDIR)$(shell $(OCAMLFIND) printconf stdlib) o= >$@.new && mv -f $@.new $@ --------------------------- snip ---------------------- On Wednesday, December 24, 2014 4:07 PM, Mark Pryor <tlviewer@xxxxxxxxx> wrote: Building xen-4.5-rc4 on Deb8 ---------- // fix to get ocaml to build in the normal dir export OCAMLDESTDIR=$(pwd)/dist/install/usr/lib/ocaml/ unless this env variable is set, it will default to the build tree, not the install tree. so maybe a patch will do, OCAMLDESTDIR=$(pwd)/dist/install/$OCAMLLIB make dist-tools export XEN_TARGET_ARCH=x86_64 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |