From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan Schukat" Newsgroups: gmane.lisp.guile.bugs Subject: bug#13848: Aw: Re: bug#13848: Statically linking guile-2.0. Date: Sun, 7 Apr 2013 18:20:24 +0200 (CEST) Message-ID: 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>, <87ehemy742.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 X-Trace: ger.gmane.org 1365354090 10901 80.91.229.3 (7 Apr 2013 17:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Apr 2013 17:01:30 +0000 (UTC) Cc: 13848-done@debbugs.gnu.org To: "Ludovic =?UTF-8?Q?Court=C3=A8s?=" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Apr 07 19:01:32 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 1UOsyA-00036w-K1 for guile-bugs@m.gmane.org; Sun, 07 Apr 2013 19:01:30 +0200 Original-Received: from localhost ([::1]:45188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOsyA-0004CY-5O for guile-bugs@m.gmane.org; Sun, 07 Apr 2013 13:01:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOsKk-0002B8-VC for bug-guile@gnu.org; Sun, 07 Apr 2013 12:20:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOsKa-0005bN-O9 for bug-guile@gnu.org; Sun, 07 Apr 2013 12:20:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOsKa-0005bE-Kc for bug-guile@gnu.org; Sun, 07 Apr 2013 12:20:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UOsNu-0008Qo-2F for bug-guile@gnu.org; Sun, 07 Apr 2013 12:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan Schukat" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 07 Apr 2013 16:24:02 +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.136535184132402 (code D ref 13848); Sun, 07 Apr 2013 16:24:02 +0000 Original-Received: (at 13848-done) by debbugs.gnu.org; 7 Apr 2013 16:24:01 +0000 Original-Received: from localhost ([127.0.0.1]:38620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UOsNr-0008QY-PU for submit@debbugs.gnu.org; Sun, 07 Apr 2013 12:24:00 -0400 Original-Received: from mout.web.de ([212.227.15.4]:52077) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UOsNn-0008QN-Qf for 13848-done@debbugs.gnu.org; Sun, 07 Apr 2013 12:23:57 -0400 Original-Received: from 3capp-webde-bs08.server.lan ([172.19.170.8]) by mriweb.server.lan (mriweb002) with ESMTPA (Nemesis) id 0LgLlK-1UueFw17J6-00nybY; Sun, 07 Apr 2013 18:20:24 +0200 Original-Received: from [85.177.94.129] by 3capp-webde-bs08.server.lan with HTTP; Sun Apr 07 18:20:24 CEST 2013 Importance: normal Sensitivity: Normal In-Reply-To: <87ehemy742.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:DSvqPvFss+2uoztqULxmMQTXz7LJ9s42o6lOXTSmw8K WSiLoPchE7KxbVzWp3/evpt99CaO/J7YMXDCZhNzpqrG+2KwMZ JxGcCgykSw+pmihVKetXugTtEMVos9eoSU6ARAYzPyK4kDqMVT X9VV68Zcf2Wv2Qq4KQcqYlW5q79d1wvRyLlRhwgpuguPMzkLol ER7aH5fBAaMhCbhsDJi307/n3x7TgdGnrTn6SEqSuj910cPE/x EFZuKRi6WMxkiaICqseIyED9VFJ+BAGbEud/IPJC4c8Di8+ccO T0d4QfUaOVOqDnAhalljx+dgTVC 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-Mailman-Approved-At: Sun, 07 Apr 2013 13:01:26 -0400 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:7071 Archived-At:
Embarrassing. Typo. I really appreciate you still putting up with me here :)
 
With the correct variable name it doesn't recompile, the eventual result of running it is the same though: the program hangs whith the last output being loading q.scm. Which is strange, since that doesn't seem to be a very complicated module.
 
Also it doesn't seem to be a module used during the build process.
 
Regards
 
Jan Schukat
 
Gesendet: Sonntag, 07. April 2013 um 12:20 Uhr
Von: "Ludovic Courtès" <ludo@gnu.org>
An: "Jan Schukat" <shookie@email.de>
Cc: "Andy Wingo" <wingo@pobox.com>, 13848-done@debbugs.gnu.org
Betreff: Re: bug#13848: Statically linking guile-2.0.
Hi Jan,

Jan Schukat <shookie@email.de> 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="/c/Users/shookie/guiletest/lib/share/guile/2.0" and
> GUILE_LOAD_COMPILE_PATH=""/c/Users/shookie/guiletest/lib/lib/guile/2.0/ccache"

You miss a ‘D’ here: ‘GUILE_LOAD_COMPILED_PATH’.

> 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’s probably because of the above.

> Here is output from that case:
>
> $ export
> GUILE_LOAD_PATH="/c/Users/shookie/guiletest/lib/share/guile/2.0/"
> GUILE_LOAD_COMPILED_PATH="/c/Users/shookie/guiletest/lib(lib/guile/2.0/ccache/";./lib/bin/guile
>
>
> 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’s probably because of the conversion that MinGW
does when reading the environment variable (see
<http://www.mingw.org/wiki/Posix_path_conversion>.)

So that means that the file names obtained by ‘configure’ should be
rewritten in Windows style, I suppose. I’m not sure exactly how this
should be done though. Suggestions?

Ludo’.