From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#13848: Statically linking guile-2.0. Date: Sun, 07 Apr 2013 12:20:45 +0200 Message-ID: <87ehemy742.fsf@gnu.org> References: <5130D52F.3000704@email.de> <513612F7.90002@email.de> <87lia1kbd5.fsf@gnu.org> <513670C8.9000101@email.de> <874ngoazrt.fsf@gnu.org> <513B3CDA.1010409@email.de> <87txokxjf3.fsf@pobox.com> <6DCD2DC1-4838-448F-A056-CE5954C745A2@email.de> <87hakjxish.fsf@pobox.com> <87ehfnvz2d.fsf@pobox.com> <871ubmuasy.fsf@pobox.com> <87sj42qr4c.fsf@pobox.com> <10040EC0-D051-45D5-B5BE-E69159F9F2B7@email.de> <871ubjk5oe.fsf@pobox.com> <5143CC9D.1040302@email.de> <877gkqc837.fsf@gnu.org> <51562FDD.6060103@email.de> <874nfsbmsj.fsf@gnu.org> <515F5AE6.1050709@email.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365330108 25362 80.91.229.3 (7 Apr 2013 10:21:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Apr 2013 10:21:48 +0000 (UTC) Cc: 13848-done@debbugs.gnu.org To: Jan Schukat Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Apr 07 12:21:51 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UOmjP-0006Wx-1L for guile-bugs@m.gmane.org; Sun, 07 Apr 2013 12:21:51 +0200 Original-Received: from localhost ([::1]:41708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOmjO-0005pe-Gt for guile-bugs@m.gmane.org; Sun, 07 Apr 2013 06:21:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOmjF-0005pV-Fv for bug-guile@gnu.org; Sun, 07 Apr 2013 06:21:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOmjA-0003hI-Ab for bug-guile@gnu.org; Sun, 07 Apr 2013 06:21:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOmjA-0003hE-70 for bug-guile@gnu.org; Sun, 07 Apr 2013 06:21:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UOmmT-0007RX-SC for bug-guile@gnu.org; Sun, 07 Apr 2013 06:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 07 Apr 2013 10:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13848 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 13848-done@debbugs.gnu.org id=D13848.136533025728547 (code D ref 13848); Sun, 07 Apr 2013 10:25:01 +0000 Original-Received: (at 13848-done) by debbugs.gnu.org; 7 Apr 2013 10:24:17 +0000 Original-Received: from localhost ([127.0.0.1]:38006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UOmll-0007QN-CX for submit@debbugs.gnu.org; Sun, 07 Apr 2013 06:24:17 -0400 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:54409) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UOmli-0007QD-B5 for 13848-done@debbugs.gnu.org; Sun, 07 Apr 2013 06:24:15 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id ECE4B73E5; Sun, 7 Apr 2013 12:20:46 +0200 (CEST) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H2owBcZPiX2p; Sun, 7 Apr 2013 12:20:46 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 368A773E4; Sun, 7 Apr 2013 12:20:46 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Germinal an 221 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <515F5AE6.1050709@email.de> (Jan Schukat's message of "Sat, 06 Apr 2013 01:14:46 +0200") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7070 Archived-At: Hi Jan, Jan Schukat skribis: > But when I start the installed guile.exe, the output is like this and > it can't find the scheme modules: > > path: (/c/Users/shookie/guiletest/lib/share/guile/2.0 > /c/Users/shookie/guiletest/lib/share/guile/site/2.0 > /c/Users/shookie/guiletest/lib/share/guile/site > /c/Users/shookie/guiletest/lib/sh are/guile) > full_filename: #f > compiled_filename: #f > > So as I suspected a conflict between mingw-paths and windows paths. I > suspect the mingw paths in the installed exe are the static #defines > that configure sets up since those /c/User/... paths also show up when > you extract the strings fromthe binary with strings guile.exe|grep > "/lib". Yes. > Now when I export > GUILE_LOAD_PATH=3D"/c/Users/shookie/guiletest/lib/share/guile/2.0" and > GUILE_LOAD_COMPILE_PATH=3D""/c/Users/shookie/guiletest/lib/lib/guile/2.0/= ccache" You miss a =E2=80=98D=E2=80=99 here: =E2=80=98GUILE_LOAD_COMPILED_PATH=E2= =80=99. > before invoking the installed guile.exe it finds the modules, but it > doesn't seem to like compile path and tries to recompile all the > modules which eventually fails with a stall, usually at q.scm or > thread.scm That=E2=80=99s probably because of the above. > Here is output from that case: >=20 > $ export > GUILE_LOAD_PATH=3D"/c/Users/shookie/guiletest/lib/share/guile/2.0/" > GUILE_LOAD_COMPILED_PATH=3D"/c/Users/shookie/guiletest/lib(lib/guile/2.0/= ccache/";./lib/bin/guile=20 >=20 >=20 > path: (c:/Users/shookie/guiletest/lib/share/guile/2.0/ > /c/Users/shookie/guiletest/lib/share/guile/2.0 > /c/Users/shookie/guiletest/lib/share/guile/site/2.0 > /c/Users/shookie/guiletest/lib/share/guile/site > /c/Users/shookie/guiletest/lib/sh > are/guile) IIUC the difference is that the first element in the path starts with c:/ instead of /c. That=E2=80=99s probably because of the conversion that = MinGW does when reading the environment variable (see .) So that means that the file names obtained by =E2=80=98configure=E2=80=99 s= hould be rewritten in Windows style, I suppose. I=E2=80=99m not sure exactly how th= is should be done though. Suggestions? Ludo=E2=80=99.