From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: Add OCaml. licenses: Add QPL. Date: Mon, 21 Jan 2013 10:43:28 +0100 Message-ID: <201301211043.28518.andreas@enge.fr> References: <1358732753-8220-1-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_A3Q/Qrncxw9zcVl" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxDun-000311-So for bug-guix@gnu.org; Mon, 21 Jan 2013 04:43:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxDuf-0002R4-0o for bug-guix@gnu.org; Mon, 21 Jan 2013 04:43:41 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:60151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxDue-0002Ok-O2 for bug-guix@gnu.org; Mon, 21 Jan 2013 04:43:32 -0500 In-Reply-To: <1358732753-8220-1-git-send-email-tipecaml@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --Boundary-01=_A3Q/Qrncxw9zcVl Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Am Montag, 21. Januar 2013 schrieb Cyril Roelandt: > "patch-shebang: ./otherlibs/labltk/examples_labltk/hello.tcl: warning: > no binary for interpreter `wish' found in $PATH" > > wish is provided by tk, and seems to require X, so I don't think it's > too bad. Hopefully, this is detected during configure, so that this does not get run. > Finally, a bunch of tests fail, and some of them cannot even be > launched: > "/nix/store/wqvmn0mmk68iwy88ljgqn57vjf15nf74-ocaml-4.00.1/bin/ocamlrun: > bad interpreter: No such file or directory" > > This is because OCaml assumes that "make install" has been run before > launching the tests. I'm not sure whether there's a clean solution to > this problem. WDYT ? Maybe you could patch the files to point to the location of the binary in the build tree? Andreas --Boundary-01=_A3Q/Qrncxw9zcVl Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit

Am Montag, 21. Januar 2013 schrieb Cyril Roelandt:

> "patch-shebang: ./otherlibs/labltk/examples_labltk/hello.tcl: warning:

> no binary for interpreter `wish' found in $PATH"

>

> wish is provided by tk, and seems to require X, so I don't think it's

> too bad.

 

Hopefully, this is detected during configure, so that this does not get run.

 

> Finally, a bunch of tests fail, and some of them cannot even be

> launched:

> "/nix/store/wqvmn0mmk68iwy88ljgqn57vjf15nf74-ocaml-4.00.1/bin/ocamlrun:

> bad interpreter: No such file or directory"

>

> This is because OCaml assumes that "make install" has been run before

> launching the tests. I'm not sure whether there's a clean solution to

> this problem. WDYT ?

 

Maybe you could patch the files to point to the location of the binary in the build tree?

 

Andreas

 

--Boundary-01=_A3Q/Qrncxw9zcVl--