From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 1194F7FEFE for ; Sat, 25 Jun 2016 15:57:41 +0200 (CEST) IronPort-PHdr: 9a23:hpf0mx2J+ZORTgPmsmDT+DRfVm0co7zxezQtwd8ZsegQLfad9pjvdHbS+e9qxAeQG96Ks7Qc2qGI7ejJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMzfbWtXNaDxJrpn8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM85fxGdvOE7B102kvpT4r9Zf9HEasPsk84tEUL7mV6U+V71RSjo8eShh78TusVzHTBCTznoaSGQf1BRSVVvr9hb/C93KtSb1qvB6wG3SGMz9Tbk5XX7qu6JqQx/hhSNBLDk0/33NjdRYjaRHrRbnrBt6ld2HKLqJPeZzK/uONegRQnBMC55c Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=michael.soegtrop@intel.com; spf=Pass smtp.mailfrom=michael.soegtrop@intel.com; spf=None smtp.helo=postmaster@mga04.intel.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of michael.soegtrop@intel.com) identity=pra; client-ip=192.55.52.120; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="michael.soegtrop@intel.com"; x-sender="michael.soegtrop@intel.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of michael.soegtrop@intel.com designates 192.55.52.120 as permitted sender) identity=mailfrom; client-ip=192.55.52.120; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="michael.soegtrop@intel.com"; x-sender="michael.soegtrop@intel.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mga04.intel.com) identity=helo; client-ip=192.55.52.120; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="michael.soegtrop@intel.com"; x-sender="postmaster@mga04.intel.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CqAQAtjW5Xh3g0N8BcgnCBJH0GpyWSfoF7FwEChX4CgSI5EwEBAQEBAQEBEQEBAQgNCQkhJAuCMoIhLRxCASpWJgEEG4gnAacjoAQMJYYpiQ6CRwtAGIIvBYgHhyaJTgYBgTCcKo9/IAKCS4FXbohJAX4BAQE X-IPAS-Result: A0CqAQAtjW5Xh3g0N8BcgnCBJH0GpyWSfoF7FwEChX4CgSI5EwEBAQEBAQEBEQEBAQgNCQkhJAuCMoIhLRxCASpWJgEEG4gnAacjoAQMJYYpiQ6CRwtAGIIvBYgHhyaJTgYBgTCcKo9/IAKCS4FXbohJAX4BAQE X-IronPort-AV: E=Sophos;i="5.26,527,1459807200"; d="scan'208,217";a="182677268" Received: from mga04.intel.com ([192.55.52.120]) by mail3-smtp-sop.national.inria.fr with ESMTP; 25 Jun 2016 15:57:39 +0200 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 25 Jun 2016 06:57:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,527,1459839600"; d="scan'208,217";a="994923903" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by fmsmga001.fm.intel.com with ESMTP; 25 Jun 2016 06:57:36 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.10]) by irsmsx105.ger.corp.intel.com ([169.254.7.51]) with mapi id 14.03.0248.002; Sat, 25 Jun 2016 14:57:35 +0100 From: "Soegtrop, Michael" To: "caml-list@inria.fr" Thread-Topic: Building ocamlbuild with opam fails after opam switch Thread-Index: AdHO6W0XX4yJyci9SQuDtdlOQMdzJw== Date: Sat, 25 Jun 2016 13:57:35 +0000 Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B393@IRSMSX102.ger.corp.intel.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: multipart/alternative; boundary="_000_0F7D3B1B3C4B894D824F5B822E3E5A172CF1B393IRSMSX102gercor_" MIME-Version: 1.0 Subject: [Caml-list] Building ocamlbuild with opam fails after opam switch --_000_0F7D3B1B3C4B894D824F5B822E3E5A172CF1B393IRSMSX102gercor_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Dear OCaml Users, Opam works fine for me with the system installed OCaml, but after an opam s= witch 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=3Dfalse 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 --_000_0F7D3B1B3C4B894D824F5B822E3E5A172CF1B393IRSMSX102gercor_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

Dear OCaml Users,

 

Opam works fine for me with the system installed OCa= ml, but after an opam switch I cannot build ocamlbuild or any package depen= ding on it any more.

 

Building ocamlbuild fails because it explicitly chec= ks if there is already a system installed ocamlbuild:

 

# ERROR: Preinstalled ocamlbuild detected at /usr/lo= cal/lib/ocaml/ocamlbuild

# Installation aborted; if you want to bypass this s= afety check, pass CHECK_IF_PREINSTALLED=3Dfalse to make

# make: *** [Makefile:333: check-if-preinstalled] Er= ror 2

 

Of cause I can just follow this advice and remove th= is 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

--_000_0F7D3B1B3C4B894D824F5B822E3E5A172CF1B393IRSMSX102gercor_--