From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Neil Jerram" Newsgroups: gmane.lisp.guile.user Subject: Re: Guile module system problem Date: Tue, 20 Jan 2009 12:15:54 +0000 Message-ID: <49dd78620901200415w2b013eeiff6062136f0f07de@mail.gmail.com> References: <1eb53f5d0901200218n227d2db0le7f511bf7f8fbf57@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232454231 9872 80.91.229.12 (20 Jan 2009 12:23:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2009 12:23:51 +0000 (UTC) Cc: guile-user@gnu.org To: "Panicz Maciej Godek" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jan 20 13:25:02 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LPFfB-0002I1-F0 for guile-user@m.gmane.org; Tue, 20 Jan 2009 13:25:01 +0100 Original-Received: from localhost ([127.0.0.1]:58375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPFdu-0004S9-2v for guile-user@m.gmane.org; Tue, 20 Jan 2009 07:23:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPFWS-00047R-3X for guile-user@gnu.org; Tue, 20 Jan 2009 07:16:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPFWQ-00046e-Dd for guile-user@gnu.org; Tue, 20 Jan 2009 07:15:59 -0500 Original-Received: from [199.232.76.173] (port=32786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPFWP-00046S-1U for guile-user@gnu.org; Tue, 20 Jan 2009 07:15:57 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.157]:6671) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPFWO-00081l-Nh for guile-user@gnu.org; Tue, 20 Jan 2009 07:15:56 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l26so1585024fgb.30 for ; Tue, 20 Jan 2009 04:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+iY9YASToQGMiwKD4zXPbSgmfeewRyddUWkuakfnCm4=; b=h2KtVBaLhymXsR/uqX2lUsHmesCS36T5fRA6gEaDgt8jzISsQVdjCLmhJRMxigo3Q+ +tYPhwgjQR08vKexQGkLsULaEvXk3qmxNxnBrwWcbC+wzy8fHOHQlQOimR0hVwvBeIvS XFO2pTYPjJ7No1dWPMZYtTnQxJDDCbGqb0njE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=G9f9xGYLHlbBiKT9HoGEnSqxq9PGYKw3cu7RzbXOSIbbD9uGfFnAx8zdI9KC/ndhKv +MGNX6bNNfYkA3051JDX5gkSpzI9I2pgfhzceSqGD/bbTw78yEnxEJaaye0BcV95TUKD RRYYDNPEg+j5lLyavk2yIArXJ2usP0dvWLNoA= Original-Received: by 10.86.60.14 with SMTP id i14mr1062204fga.21.1232453755003; Tue, 20 Jan 2009 04:15:55 -0800 (PST) Original-Received: by 10.86.3.18 with HTTP; Tue, 20 Jan 2009 04:15:54 -0800 (PST) In-Reply-To: <1eb53f5d0901200218n227d2db0le7f511bf7f8fbf57@mail.gmail.com> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7069 Archived-At: 2009/1/20 Panicz Maciej Godek : > Hi, I've been trying to move some of my code into > loadable guile modules. I made a directory "modules" > in my project tree and moved the module in there. > > I ran into some problems. Here's how I load the > module: > (set! %load-path (cons "." %load-path)) > (load-module (modules goose)) > At this point, guile signals an error (unbound variable). Please try `use-modules' instead of `load-module'. Neil