Skip to contentSkip to conversation

tools/ocaml: build failure

DISCUSSION Christoph Egger 3 participants 4 messages Dec 2, 2010 – Dec 10, 2010

lore
Share & tools
lore
#0 lore raw

Hi!

compiling tools/ocaml fails with

ocamlfind: Command not found

I have ocaml 3.11.1 installed. Is there any new dependency?

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw
Quoted 7 lines · Christoph Egger

Hi!

compiling tools/ocaml fails with

ocamlfind: Command not found

I have ocaml 3.11.1 installed. Is there any new dependency?

I think ocamlfind is distributed separately from the base ocaml distribution. On Debian it is in ocaml-findlib.

ocamlfind was always part of the tools/ocaml requirements but I think it only actually got exposed by 22424:e908bfa58cd4.

Ian.

#2 lore raw
Quoted 11 lines · On Thursday 02 December 2010 16:24:11 Ian Campbell wrote:
Quoted 7 lines · Christoph Egger

Hi!

compiling tools/ocaml fails with

ocamlfind: Command not found

I have ocaml 3.11.1 installed. Is there any new dependency?

I think ocamlfind is distributed separately from the base ocaml distribution. On Debian it is in ocaml-findlib.

On pkgsrc, ocamlfind also comes in a seperate package called ocaml-findlib. I installed it and the build failure went away.

Quoted 2 lines

ocamlfind was always part of the tools/ocaml requirements but I think it only actually got exposed by 22424:e908bfa58cd4.

The build system should check for its presence.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#3 lore raw

Christoph Egger writes ("Re: [Xen-devel] tools/ocaml: build failure"):

Quoted 5 lines · On Thursday 02 December 2010 16:24:11 Ian Campbell wrote:
Quoted 2 lines

ocamlfind was always part of the tools/ocaml requirements but I think it only actually got exposed by 22424:e908bfa58cd4.

The build system should check for its presence.

Feel free to provide a patch that makes it do so :-). Look at the stuff in tools/check to see where to add it.

Ian.