caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Building ocamlbuild with opam fails after opam switch <version>
@ 2016-06-25 13:57 Soegtrop, Michael
  2016-06-25 15:37 ` Gabriel Scherer
  0 siblings, 1 reply; 6+ messages in thread
From: Soegtrop, Michael @ 2016-06-25 13:57 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

Dear OCaml Users,

Opam works fine for me with the system installed OCaml, but after an opam switch I cannot build ocamlbuild or any package depending on it any more.

Building ocamlbuild fails because it explicitly checks if there is already a system installed ocamlbuild:

# ERROR: Preinstalled ocamlbuild detected at /usr/local/lib/ocaml/ocamlbuild
# Installation aborted; if you want to bypass this safety check, pass CHECK_IF_PREINSTALLED=false to make
# make: *** [Makefile:333: check-if-preinstalled] Error 2

Of cause I can just follow this advice and remove this check, but I wonder how others handle this.

Best regards,

Michael

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

[-- Attachment #2: Type: text/html, Size: 3284 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-25 20:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-25 13:57 [Caml-list] Building ocamlbuild with opam fails after opam switch <version> Soegtrop, Michael
2016-06-25 15:37 ` Gabriel Scherer
2016-06-25 15:57   ` Soegtrop, Michael
2016-06-25 16:27     ` Gabriel Scherer
2016-06-25 17:32       ` Soegtrop, Michael
2016-06-25 20:06         ` Gabriel Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).