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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 84D6ABB84 for ; Thu, 11 Sep 2008 12:20:54 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As8AAHONyEhKfU4anGdsb2JhbACSJT4BAQEBAQgDCgcRnk+GWgEChAc X-IronPort-AV: E=Sophos;i="4.32,378,1217800800"; d="scan'208";a="29058261" Received: from ey-out-2122.google.com ([74.125.78.26]) by mail4-smtp-sop.national.inria.fr with ESMTP; 11 Sep 2008 12:20:54 +0200 Received: by ey-out-2122.google.com with SMTP id 6so124340eyi.15 for ; Thu, 11 Sep 2008 03:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=Plew/hrO7SvhFWSAPl2hOWNGh3ZWnWOjWjL87yEUjv8=; b=m2pg1e3fCHp9WcyPxVb5E/BUxK20IdlJp6hnsGVnGzSRmQlRm5uayuagNT6kSHniuN oZcbsvY6LIAkIuxsq4PeaXQ0Nnz+S70NosljgKwU3SSn3E15D2bh1Em+sRJKOUY/YcDq bA72AlHvQ5q+kPFij6OlUo5wXfy2MWIEMfHMA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=p6t7XBeFR0I+YHa3eV/OCO9cxdFSicEkzC0Zo8owLNLYXBkct0LUq0GI/vpyu/qqE7 4f9zf6i5AoSvGs9WO6Ek/2HBPc17rxvjfjdUjY5wstI9TabtVp1VdClex0JMoZFqTgKq U89e+YEwMRIhfCd/LkT0OaX6EfIVEZR7X9h8c= Received: by 10.210.110.5 with SMTP id i5mr3134819ebc.2.1221128453865; Thu, 11 Sep 2008 03:20:53 -0700 (PDT) Received: from ?10.10.30.6? ( [88.27.249.46]) by mx.google.com with ESMTPS id m5sm17005828gve.3.2008.09.11.03.20.52 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Sep 2008 03:20:53 -0700 (PDT) Message-Id: From: Joel Reymont To: caml-list@yquem.inria.fr Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: pervasives.cmi is not a compiled interface Date: Thu, 11 Sep 2008 11:20:51 +0100 X-Mailer: Apple Mail (2.926) X-Spam: no; 0.00; pervasives:01 cmi:01 ocaml:01 'make:01 opt':01 byte:01 usr:01 ocamlopt:01 usr:01 lib:01 ocaml:01 cmxa:01 lib:01 cmxa:01 cmx:01 This must be a simple issue but I can't figure it out. I built ocaml from source using 'make world.opt'. I'm using ocamlbuild as my build system. cat build.sh #!/bin/sh ocamlbuild -classic-display $* ./build.sh src/test.byte /usr/local/bin/ocamlopt.opt -I /usr/local/lib/ocaml/ocamlbuild unix.cmxa /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild + /usr/local/bin/ocamlopt.opt -I /usr/local/lib/ocaml/ocamlbuild unix.cmxa /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild /usr/local/lib/ocaml/pervasives.cmi is not a compiled interface Command exited with code 2. What am I doing wrong? Thanks, Joel -- wagerlabs.com