From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile 1.9.7 vs. 1.8.7 Date: Thu, 28 Jan 2010 15:22:11 +0100 Message-ID: <87tyu6ux64.fsf@gnu.org> References: <20100128122550.GA2540@laura.suse.cz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1264689204 31283 80.91.229.12 (28 Jan 2010 14:33:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 14:33:24 +0000 (UTC) Cc: bug-guile@gnu.org To: Petr Gajdos Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jan 28 15:33:21 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NaVQp-0002GD-MI for guile-bugs@m.gmane.org; Thu, 28 Jan 2010 15:33:20 +0100 Original-Received: from localhost ([127.0.0.1]:55104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaVQn-0001DK-B6 for guile-bugs@m.gmane.org; Thu, 28 Jan 2010 09:33:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaVGL-0001cR-BO for bug-guile@gnu.org; Thu, 28 Jan 2010 09:22:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaVGD-0001YV-Uq for bug-guile@gnu.org; Thu, 28 Jan 2010 09:22:24 -0500 Original-Received: from [199.232.76.173] (port=33758 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaVGD-0001YL-KP for bug-guile@gnu.org; Thu, 28 Jan 2010 09:22:17 -0500 Original-Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:28807) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1NaVGC-0006lf-QD for bug-guile@gnu.org; Thu, 28 Jan 2010 09:22:17 -0500 X-IronPort-AV: E=Sophos;i="4.49,359,1262559600"; d="scan'208";a="42639668" Original-Received: from laptop-147-210-128-170.labri.fr (HELO nixey) ([147.210.128.170]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 28 Jan 2010 15:22:13 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?iso-8859-1?Q?Pluvi=F4se?= an 218 de la =?iso-8859-1?Q?R=E9volution?= 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: <20100128122550.GA2540@laura.suse.cz> (Petr Gajdos's message of "Thu, 28 Jan 2010 13:25:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4474 Archived-At: Hello, Petr Gajdos writes: > Information on=20 > > http://www.gnu.org/software/guile/manual/html_node/SLIB-installation.html > > doesn't lead to proper slib installation for me. I am using slib3b2 > which seems to be installing well this way with 1.8.7. I don't know if > this is bug in guile or slib or it is my fault. > > The result is: [...] > 3 (boot-closure (define base:define define)) Indeed, this expression works with first-class macros in 1.8 but no longer works in 1.9. I don=E2=80=99t think 1.9 will ever get support for t= his back, so I guess the right solution would be to adapt SLIB=E2=80=99s guile.= init. (This can be done using =E2=80=98(cond-expand (guile-2 ...))=E2=80=99.) Would you like to coordinate with the SLIB maintainer to fix this? > While guile 1.8.7 is starting less than one second, it takes > approximatelly 12 seconds to start guile 1.9.7 on the same system, > even if I run That=E2=80=99s weird. Are you sure all the .scm files under module/ got compiled and that the resulting .go files were installed and are in the search path? In my experience Guile 1.9 starts faster than 1.8. > When I install and run guile first time, I get the following: > > laura:/> guile > ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=3D0 > ;;; or pass the --no-autocompile argument to disable. > ;;; compiling /usr/share/guile/1.9/ice-9/r5rs.scm > ;;; compiling /usr/share/guile/1.9/system/base/compile.scm It=E2=80=99s a sign that these files weren=E2=80=99t compiled when you buil= t Guile. Please run =E2=80=98make=E2=80=99 again in the build tree. This should cre= ate module/ice-9/r5rs.go, etc., such that these won=E2=80=99t need to be auto-compiled when Guile starts. [...] > Exception during displaying of backtrace: unbound-variable > > ERROR: In procedure module-lookup: > ERROR: Unbound variable: compile-file *This* is a real bug I guess. :-) Thanks for your report, Ludovic.