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 C05967F7AF for ; Fri, 25 Sep 2015 10:35:41 +0200 (CEST) IronPort-PHdr: 9a23:tUxVdRQrqKSEYBEOTtFSBWsPfNpsv+yvbD5Q0YIujvd0So/mwa64ZxKN2/xhgRfzUJnB7Loc0qyN4/ymBTxLuc/JmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvip9uPM04Q3XKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGfayQ6NtRrVdCHEiMnspzMztrxjKCwWVtVUGVWBD2D9SRUDl4QvgFN+ltyrhqudn2CSAJ+X4V705Xzm+qatmHky7wBwbPiI0pTmEwvd7i7hW9Uqs Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=misterherr@freenet.de; spf=None smtp.mailfrom=misterherr@freenet.de; spf=None smtp.helo=postmaster@mout0.freenet.de Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of misterherr@freenet.de) identity=pra; client-ip=195.4.92.90; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="misterherr@freenet.de"; x-sender="misterherr@freenet.de"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of misterherr@freenet.de) identity=mailfrom; client-ip=195.4.92.90; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="misterherr@freenet.de"; x-sender="misterherr@freenet.de"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mout0.freenet.de) identity=helo; client-ip=195.4.92.90; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="misterherr@freenet.de"; x-sender="postmaster@mout0.freenet.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DRAQD6BgVWnFpcBMNdgniFE79EglYCgTY8EAEBAQEBAQEBEAEBAQEBBg0JCSEugh2CCAEBBCNVEQkCBAETCRYLAgIJAwIBAgFFEwgBAReHfQEWAwGaJ50rjkwJgTIBhBgBCyCLcIUUF4JSgUMFkj6DKQGOWYcwBI46g204gjwcgVaKWwEBAQ X-IPAS-Result: A0DRAQD6BgVWnFpcBMNdgniFE79EglYCgTY8EAEBAQEBAQEBEAEBAQEBBg0JCSEugh2CCAEBBCNVEQkCBAETCRYLAgIJAwIBAgFFEwgBAReHfQEWAwGaJ50rjkwJgTIBhBgBCyCLcIUUF4JSgUMFkj6DKQGOWYcwBI46g204gjwcgVaKWwEBAQ X-IronPort-AV: E=Sophos;i="5.17,585,1437429600"; d="scan'208,217";a="148538660" Received: from mout0.freenet.de ([195.4.92.90]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2015 10:35:41 +0200 Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout0.freenet.de with esmtpa (ID misterherr@freenet.de) (port 25) (Exim 4.85 #1) id 1ZfOTj-0000aB-G5 for caml-list@inria.fr; Fri, 25 Sep 2015 10:35:39 +0200 Received: from localhost ([::1]:48497 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID misterherr@freenet.de) (Exim 4.85 #1) id 1ZfOTj-00059E-C1 for caml-list@inria.fr; Fri, 25 Sep 2015 10:35:39 +0200 Received: from mx15.freenet.de ([195.4.92.25]:53759) by mjail0.freenet.de with esmtpa (ID misterherr@freenet.de) (Exim 4.85 #1) id 1ZfOQL-0000Zv-RH for caml-list@inria.fr; Fri, 25 Sep 2015 10:32:09 +0200 Received: from x5ce04ac9.dyn.telefonica.de ([92.224.74.201]:38589 helo=suse132-intel.home.loc) by mx15.freenet.de with esmtpsa (ID misterherr@freenet.de) (TLSv1.2:DHE-RSA-AES128-SHA:128) (port 465) (Exim 4.85 #1) id 1ZfOQL-0002Yu-LG for caml-list@inria.fr; Fri, 25 Sep 2015 10:32:09 +0200 To: caml-list@inria.fr References: From: "Mr. Herr" X-Enigmail-Draft-Status: N1110 Message-ID: <56050688.5070908@freenet.de> Date: Fri, 25 Sep 2015 10:32:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------020808080709080602010407" X-Originated-At: 92.224.74.201!38589 Subject: Re: [Caml-list] Can't run the program with ocamlrun This is a multi-part message in MIME format. --------------020808080709080602010407 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 25.09.2015 04:57, =E5=BF=83=E5=A6=82=E7=83=9B=E5=85=89 wrote: > Hi,everybody, > I wanna run the program with ocamlrun.After that I input "./paparazzi"in = the > directory, it just returns:"-bash: ./paparazzi: /opt/local/bin/ocamlrun: = bad > interpreter: No such file or directory" And I have installed opam and oc= aml > with homebrew for my osx(10.10.5).What may cause the problem like this?Th= ank you! > > Yours! Hi, your description about what you exactly did, how the program was compiled, = is not very clear, so this is a guess: Maybe your executable was compiled with a version of ocamlc different from = the version of ocamlrun. Solution: recompile. Recommendation: if compiling with "ocamlc -o someexe ..." add option -custo= m to avoid the version problem. /Str. --------------020808080709080602010407 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On 25.09.2015 04:57, =E5=BF=83=E5=A6=82= =E7=83=9B=E5=85=89 wrote:
Hi,everybody,
I wanna run the program with ocamlrun.After that I input "./paparazzi"in the directory, it just returns:"-bash: ./paparazzi: /opt/local/bin/ocamlrun: bad interpreter: No such file or directory" =C2=A0And I have installed opam=C2=A0and ocaml with=C2=A0homebrew=C2=A0for my osx(10.10.5).Wh= at may cause the problem like this?Thank you!

Yours!
Hi,

your description about what you exactly did, how the program was compiled, is not very clear,
so this is a guess:

Maybe your executable was compiled with a version of ocamlc different from the version of ocamlrun.

Solution: recompile.
Recommendation: if compiling with "ocamlc -o someexe ..." add option -custom to avoid the version problem.

/Str.

--------------020808080709080602010407--