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=3.5 required=5.0 tests=DNS_FROM_SECURITYSAGE, HTML_MESSAGE,SPF_SOFTFAIL,UNPARSEABLE_RELAY autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 33ED9BBAF for ; Wed, 22 Oct 2008 19:57:43 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoMGAEoG/0jAXQIngWdsb2JhbACCRC+QeAEBFiJDshSDTw X-IronPort-AV: E=Sophos;i="4.33,465,1220220000"; d="scan'208,217";a="19055600" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 22 Oct 2008 19:57:42 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m9MHvgYE023917 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 22 Oct 2008 19:57:42 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuwCAMMG/0iFzRNBkGdsb2JhbACCRC+QeAEBAQEJCwgJEESxfYNP X-IronPort-AV: E=Sophos;i="4.33,465,1220220000"; d="scan'208,217";a="16372249" Received: from rcpt-expgw.biglobe.ne.jp ([133.205.19.65]) by mail2-smtp-roc.national.inria.fr with ESMTP; 22 Oct 2008 19:57:40 +0200 Received: from smtp-gw.biglobe.ne.jp by rcpt-expgw.biglobe.ne.jp (kbkr/0208160408) with ESMTP id m9MHvZuX004553; Thu, 23 Oct 2008 02:57:35 +0900 X-Biglobe-Sender: Received: from [10.0.1.200] (219.186.94.38 [219.186.94.38]) by smtp-gw.biglobe.ne.jp id CAAEAC15AFDC; Thu, 23 Oct 2008 02:57:35 +0900 (JST) Cc: "Mark Shinwell" , Markus Mottl , Caml List Message-Id: <06FF3A9B-10CE-4336-B828-EE6FA4A291E0@mua.biglobe.ne.jp> From: Nobuyuki TOMIZAWA To: Ashish Agarwal In-Reply-To: Content-Type: multipart/alternative; boundary=Apple-Mail-1--569564308 Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: [Caml-list] problem installing janestreet core through godi Date: Thu, 23 Oct 2008 02:57:35 +0900 References: <20081022081635.GU14123@janestcapital.com> X-Mailer: Apple Mail (2.929.2) X-Miltered: at concorde with ID 48FF6996.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; mli:01 cpp:01 flags:01 gcc:01 flags:01 usr:01 usr:01 cpp:01 mli:01 gcc:01 4.2:98 4.2:98 symbolic:01 symbolic:01 caml-list:01 --Apple-Mail-1--569564308 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi, list, > Thank you for the replies. In type_class.ml and type_class.mli, I > replaced (*pp cpp $ARCH_FLAGS *) with (*pp gcc -E $ARCH_FLAGS *). Another option is to use /usr/bin/cpp-4.2 instead of /usr/bin/cpp. After making symbolic link ~/bin/cpp to /usr/bin/cpp-4.2 (and put `~/ bin' in PATH), I succeed to build bin-proto without source code modification. -- nobuyuki --Apple-Mail-1--569564308 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, list,

Thank you for the replies. In type_class.ml and type_class.mli, I replaced (*pp cpp $ARCH_FLAGS *) with (*pp gcc -E $ARCH_FLAGS *). 

Another option is to use /usr/bin/cpp-4.2 instead of /usr/bin/cpp.

After making symbolic link  ~/bin/cpp to /usr/bin/cpp-4.2 (and put `~/bin' in PATH),  I succeed to build bin-proto without source code modification.

-- nobuyuki
--Apple-Mail-1--569564308--