From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id DCD78BC37 for ; Tue, 9 Jun 2009 16:31:23 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgBAD8PLkqGnQCBjmdsb2JhbACYLQEBAQEHDQgJEAW3VIQKBQ X-IronPort-AV: E=Sophos;i="4.41,332,1241388000"; d="scan'208";a="29166720" Received: from shiva.jussieu.fr ([134.157.0.129]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 09 Jun 2009 16:31:23 +0200 Received: from hydrogene.pps.jussieu.fr (hydrogene.pps.jussieu.fr [134.157.168.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id n59EVMtO008413 for ; Tue, 9 Jun 2009 16:31:22 +0200 (CEST) X-Ids:166 Received: from [134.157.168.28] (nickel.pps.jussieu.fr [134.157.168.28]) by hydrogene.pps.jussieu.fr (8.13.4/jtpda-5.4) with ESMTP id n59EVKqw019752 for ; Tue, 9 Jun 2009 16:31:21 +0200 Message-ID: <4A2E7238.3070802@glondu.net> Date: Tue, 09 Jun 2009 16:31:20 +0200 From: =?ISO-8859-1?Q?St=E9phane_Glondu?= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Caml on CentOS: problem with -custom option References: <20090609083103.GA13816@pema> <20090609121731.GA4582@annexia.org> <20090609140100.GA30490@pema> In-Reply-To: <20090609140100.GA30490@pema> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.jussieu.fr [134.157.0.166]); Tue, 09 Jun 2009 16:31:22 +0200 (CEST) X-Virus-Scanned: ClamAV 0.94.2/9443/Tue Jun 9 15:29:37 2009 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 4A2E723A.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4A2E723A.002/134.157.168.1/hydrogene.pps.jussieu.fr/hydrogene.pps.jussieu.fr/ X-j-chkmail-Score: MSGID : 4A2E723A.002 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.031 -> S=0.031 X-j-chkmail-Status: Ham X-Spam: no; 0.00; -custom:01 -lcurses:01 -custom:01 ocaml:01 ocamlc:01 -where:01 makefile:01 trivial:01 bug:01 cheers:01 steph:98 config:01 caml-list:01 dependency:01 caml:02 Sébastien Hinderer a écrit : > Just out of curiosity: does anybody see what could cause the -lcurses > flag to be present when -custom is specified ? OCaml has probably been compiled this way. You can see configure options in `ocamlc -where`/Makefile.config. I guess this is just a trivial packaging bug (probably a missing dependency to whatever provides the curses library). The problem doesn't happen without -custom because there is no linking (using ld) involved. Cheers, -- Stéphane