From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.user Subject: Re: guile-2.0 on mingw: the sequel Date: Fri, 23 Aug 2013 09:38:48 +0300 Message-ID: <83vc2wj4hz.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1377239952 17626 80.91.229.3 (23 Aug 2013 06:39:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2013 06:39:12 +0000 (UTC) Cc: guile-user@gnu.org To: Panicz Maciej Godek Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Aug 23 08:39:12 2013 Return-path: Envelope-to: guile-user@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 1VCl1a-0003G1-Qt for guile-user@m.gmane.org; Fri, 23 Aug 2013 08:39:10 +0200 Original-Received: from localhost ([::1]:35361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCl1a-0006gE-FH for guile-user@m.gmane.org; Fri, 23 Aug 2013 02:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCl1K-0006dU-GW for guile-user@gnu.org; Fri, 23 Aug 2013 02:39:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCl1D-0004vB-45 for guile-user@gnu.org; Fri, 23 Aug 2013 02:38:54 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:41336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCl1C-0004v2-SY for guile-user@gnu.org; Fri, 23 Aug 2013 02:38:47 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MRZ00B000U7YP00@a-mtaout21.012.net.il> for guile-user@gnu.org; Fri, 23 Aug 2013 09:38:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MRZ00BKO14KV640@a-mtaout21.012.net.il>; Fri, 23 Aug 2013 09:38:45 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10672 Archived-At: > Date: Thu, 22 Aug 2013 22:25:02 +0200 > From: Panicz Maciej Godek > > I managed to go through the compilation process, > and (after modifying meta/Makefile.am according to Eli's > patch) to make install. This compilation process includes compiling all the Scheme files that come with Guile. Since you say it succeeded, I don't understand what you say later, see below. Do you see a lot of *.go files in the directory where you built Guile? > When I ran guile-2.0, I got the following message: > === > Throw without catch before boot: > Throw to key misc-error with args ("primitive-load-path" "Unable to find > file ~S in load path" ("ice-9/boot-9") #f)Aborting. This seems to say that Guile cannot find its Scheme files. > Supplying GUILE_LOAD_PATH=/usr/share/guile/2.0 explicitly > helped a little If that helped to avoid the failure to load, you probably didn't specify a correct --prefix at configure time, or your "make install" somehow didn't DTRT. > but only during the first run -- it compiled some files from that > directory and proceeded to the prompt. This is what I don't understand: which files it needed to compile, and why? The compilation of Scheme files is part of the build process, which you say you ran successfully to completion. What am I missing? > The Windows environment doesn't seem to be particularly > developer-friendly (or maybe I just don't know the right > tools) Which developer-friendly features do you lack? Perhaps it's a matter of installing or configuring what is already available out there. > but I'd truly appreciate some help. Let's start with the basics. Please describe: . Which build of what version of the GC library did you use, and where did you get the Windows build of that library? Likewise for other build dependencies, like libunistring, libiconv, etc. -- please tell where you got each one of them. . How did you configure Guile? If you used any --prefix argument, please tell to which Windows directory does that prefix map on your system? . Did you see any warning or error messages during the build, and if so, please show them. . Did you see all the Scheme files being byte-compiled? . What command(s) did you use to install the built Guile? . How do you run Guile after installing it? In particular, do you run it from the MSYS Bash or from the Windows cmd window? IOW, you didn't tell enough details about the build and the usage to be able to guess what possible problems could be in your way. FWIW, I've successfully ran Guile from the Windows prompt after building it, and successfully built GNU Make with Guile support. So it's definitely possible to do that with MinGW.