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=1.7 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 4E99FBB84 for ; Thu, 17 Jul 2008 03:17:27 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIAAKc6fkhA6aq9eGdsb2JhbACSA0MBDAMEBgcRA5ZYhwY X-IronPort-AV: E=Sophos;i="4.31,199,1215381600"; d="scan'208";a="27395480" Received: from rn-out-0910.google.com ([64.233.170.189]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 Jul 2008 03:17:26 +0200 Received: by rn-out-0910.google.com with SMTP id v46so3357221rnb.20 for ; Wed, 16 Jul 2008 18:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=geemrXHUjyF6Xyn26/7K8K1FCtGtr62T3KSzLnss6Bg=; b=k1HdXLonUz6aGSBmwA3UDZE2NKeeNjS72TleDy42uL81HNuAbxJdeNGEx+yzRZAGtl q8enXbTu7ZtAtPlepldVO6qJajN5TqSB7QKQSOdJAt+kOWamzZ6tar7e/pwuH/x+tvFE 84MWkn0ZFa3orMteFW2q9wcKhskulnemIcL/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=s5R3f34d2o3voXSu1eKufE+ycSHU3R2j391zNWVfbDUHopzO6BwApyfvJR2JhCHf4n SikPgnvEM9TrAmbVNQ8D9b+RdEGX3RyZMDcwp0DnsRgs5bLBuq1WwsCOm5q0pgfXiLDl FTCjPrPQhCytGR8UkFP2EuV4fgsz3tSAlT/PE= Received: by 10.115.107.5 with SMTP id j5mr1069700wam.193.1216257445248; Wed, 16 Jul 2008 18:17:25 -0700 (PDT) Received: by 10.115.22.5 with HTTP; Wed, 16 Jul 2008 18:17:25 -0700 (PDT) Message-ID: Date: Wed, 16 Jul 2008 18:17:25 -0700 From: "Nathaniel Gray" To: "Caml Mailing List" Subject: Findlib fails to build on OS X Leopard MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam: no; 0.00; findlib:01 findlib:01 lib:01 stdlib:01 ocamlc:01 -where:01 lib:01 bug:01 cheers:01 sed:01 sed:01 workaround:03 gnu:03 std:03 std:03 My colleague is trying to install GODI but it's choking on findlib 1.2.2. Specifically, the command used to locate the std. lib. in get_stdlib is not compatible with OS X's sed: ocamlc -where | sed "s/\r//" || ... The version of sed included with Leopard doesn't support backslash-escapes like \r. Instead, it treats '\r' just like 'r', so this turns '/Users/blah/...' into '/Uses/blah/...' and the std. lib. can't be found. Until this bug is fixed the workaround is to install gnu sed. Cheers, -n8 -- >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->