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 4C8BA7EEF8 for ; Mon, 29 Jun 2015 08:30:39 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of modlfo@gmail.com) identity=pra; client-ip=209.85.223.177; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="modlfo@gmail.com"; x-sender="modlfo@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of modlfo@gmail.com designates 209.85.223.177 as permitted sender) identity=mailfrom; client-ip=209.85.223.177; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="modlfo@gmail.com"; x-sender="modlfo@gmail.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@mail-ie0-f177.google.com) identity=helo; client-ip=209.85.223.177; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="modlfo@gmail.com"; x-sender="postmaster@mail-ie0-f177.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BkAgCD5ZBVlLHfVdFbg2VfqwkBBoFQhhCMIoYAAoEqTAEBAQEBARIBAQEBBwsLCR8whCMBAQQSJggBGxwBAQMMBgULDQkWDwkDAgECARERAQUBHAYNAQcBAR6HdwEDEgQBoyM+MY0qgnmKVAoZJw1XhR0BAQEBAQEBAQIBAQEBAQEWAQUOhg6FLoRtGQeEKwEElASEWYZ8gTpChjoijhk1gRUXhAttgkgBAQE X-IPAS-Result: A0BkAgCD5ZBVlLHfVdFbg2VfqwkBBoFQhhCMIoYAAoEqTAEBAQEBARIBAQEBBwsLCR8whCMBAQQSJggBGxwBAQMMBgULDQkWDwkDAgECARERAQUBHAYNAQcBAR6HdwEDEgQBoyM+MY0qgnmKVAoZJw1XhR0BAQEBAQEBAQIBAQEBAQEWAQUOhg6FLoRtGQeEKwEElASEWYZ8gTpChjoijhk1gRUXhAttgkgBAQE X-IronPort-AV: E=Sophos;i="5.13,697,1427752800"; d="scan'208";a="138206135" Received: from mail-ie0-f177.google.com ([209.85.223.177]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 29 Jun 2015 08:30:38 +0200 Received: by iebmu5 with SMTP id mu5so108491555ieb.1 for ; Sun, 28 Jun 2015 23:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=yy+VQ+wFMoNJvJye3wTzkkQnEibj6i23IQawyHQTZJk=; b=uxdNKqEb+2xd76ox34xaNgcU14zQ/BbmcpwHx9i9HE8zW8iL3nUQUDI4b2hDD65Eyy vDuRTS0Egm0VqcMtrQnLJJrJgsk05HrBl/t43QdOSi9dWzeagYQeekDLrggCRYfHLAKe ZRYD5IK+JYCdobI5phwC4om5gafNk4jFXLjxt8pajHy/93j4tcgG3F2ASowNn2sJSFo9 ACpEJ9G6mamStHAgugfnKLRbzeWxarVQv66cf0ZFjyAIbH3h1+EMvd1RJw5BTXQLQ8uk WyQHrmk+nhNg5mFx3gYXgzINaFJi9AEu5FS02OisA/JNP1RUbk76qvPfX3Dlklis3lsc 9kMQ== X-Received: by 10.43.33.142 with SMTP id so14mr15575081icb.36.1435559437050; Sun, 28 Jun 2015 23:30:37 -0700 (PDT) Received: from [10.10.156.106] ([94.136.92.233]) by mx.google.com with ESMTPSA id q16sm4845169igr.12.2015.06.28.23.30.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jun 2015 23:30:36 -0700 (PDT) Message-ID: <5590E60E.2010004@gmail.com> Date: Mon, 29 Jun 2015 08:30:38 +0200 From: Leonardo Laguna Ruiz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Richard W.M. Jones" CC: caml-list@inria.fr References: <55895180.4080105@gmail.com> <20150626202649.GD31462@annexia.org> In-Reply-To: <20150626202649.GD31462@annexia.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Error when compiling 4.02.2 in centos I kept digging and found that if I install the BDF library I don't get that error. Maybe having this library installed changes the build process. Leonardo On 2015-06-26 22:26, Richard W.M. Jones wrote: > On Tue, Jun 23, 2015 at 02:30:56PM +0200, Leonardo Laguna Ruiz wrote: >> Hi, >> >> I'm trying to compile ocaml 4.02.2 in a computer with centos 6.6 using opam >> but I get the following error message: >> >> >> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -c -strict-sequence -w >> +27+32..39 -warn-error A -safe-string -I ../utils -I ../parsing -I ../typing >> -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel objinfo.ml >> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -o objinfo >> ../compilerlibs/ocamlcommon.cma ../compilerlibs/ocamlbytecomp.cma >> ../asmcomp/printclambda.cmo objinfo.cmo >> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -c -strict-sequence -w >> +27+32..39 -warn-error A -safe-string -I ../utils -I ../parsing -I ../typing >> -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel >> ../utils/warnings.ml >> File "../utils/warnings.ml", line 219, characters 6-7: >> Warning 27: unused variable c. >> File "../utils/warnings.ml", line 363, characters 20-25: >> Warning 27: unused variable slist. >> File "../utils/warnings.ml", line 1: >> *Error: Some fatal warnings were triggered (2 occurrences)* > Somehow you're using -warn-error A. Maybe opam added that? > > In any case I believe that the OCaml developers warn against turning > every warning into an error, although I cannot find where I read that. > > Rich. >