From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Linas Vepstas Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: use-module not finding module in guile-1.9.5 Date: Sun, 6 Dec 2009 15:09:53 -0600 Message-ID: <3ae3aa420912061309r58467a4clae6ed7dceaeec7ae@mail.gmail.com> Reply-To: linasvepstas@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1260133820 10488 80.91.229.12 (6 Dec 2009 21:10:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 21:10:20 +0000 (UTC) To: Guile Development , Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 06 22:10:13 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 1NHOMt-0007ao-Sz for guile-user@m.gmane.org; Sun, 06 Dec 2009 22:10:12 +0100 Original-Received: from localhost ([127.0.0.1]:46667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHOMt-0004kr-Iq for guile-user@m.gmane.org; Sun, 06 Dec 2009 16:10:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHOMg-0004kX-IS for guile-user@gnu.org; Sun, 06 Dec 2009 16:09:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHOMc-0004k5-0b for guile-user@gnu.org; Sun, 06 Dec 2009 16:09:58 -0500 Original-Received: from [199.232.76.173] (port=39355 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHOMb-0004k2-UG; Sun, 06 Dec 2009 16:09:53 -0500 Original-Received: from mail-gx0-f224.google.com ([209.85.217.224]:37911) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHOMb-0001iM-Ov; Sun, 06 Dec 2009 16:09:53 -0500 Original-Received: by gxk24 with SMTP id 24so3479819gxk.6 for ; Sun, 06 Dec 2009 13:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type; bh=PFrBfsdckL/3DN8c825Q9btmjqABcxQBxioAE8l5Nv4=; b=e0s0rJainxGdRun4gxS1rRJNAgE2XECN7uHR9UA7w9Ip+TzsMCjyd9lPy50QR7e+q+ tTsgj1QLvvhmHbXoGDTDCs7by+mjMW3D4pyjJBmwOvmpnPpIJMCBO9YFGY66Ql5xJzEi pRcE7XlzOXgTkE6gfnGrI6NYClhtgWl84GH9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=OlUmCBHE6EyDeAQHQi301VT4jbYqx80yI3Ncr54MXyMnn1N8/LyrpDB2bkQ+PE5hq6 V1gehLeJvSQaCTyZAJaWvBo7zHuopg7HrqQ2VqXCsrJsmLjB+aWsGDI3LBDAEN5xiB3g sgYe2bPtNrNArYO7lUD5maSVoUDgU+mNSZYcw= Original-Received: by 10.101.144.14 with SMTP id w14mr2603472ann.109.1260133793072; Sun, 06 Dec 2009 13:09:53 -0800 (PST) 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:7523 gmane.lisp.guile.devel:9741 Archived-At: Hi, I'm experiencing trouble loading a module in guile-1.9.5 I maintain the guile-dbi module at http://home.gna.org/guile-dbi/ and am having trouble getting guile-1.9.5 to find the module: $ /usr/local/bin/guile Guile Scheme interpreter 0.5 on Guile 1.9.5 Copyright (C) 2001-2008 Free Software Foundation, Inc. Enter `,help' for help. scheme@(guile-user)> (use-modules (dbi dbi)) Backtrace: In system/repl/common.scm: 85: 0* [repl-eval # #] In system/base/compile.scm: 239: 1 [compile (use-modules (dbi dbi)) #:key ...] In system/base/compile.scm: 185: 2 [lp # # # ...] In ice-9/boot-9.scm: 1775: 3 [save-module-excursion #] In unknown file: ?: 4* [dynamic-wind # ...] In language/scheme/compile-tree-il.scm: 32: 5* [#] In ice-9/psyntax-pp.scm: 11057: 6 [# # ...] In unknown file: ?: 7* [with-fluid* # c ...] In ice-9/psyntax-pp.scm: 6736: 8* [#{\chi-top-sequence\\\ 162}# (# *unspecified*) () (#) ...] In ice-9/psyntax-pp.scm: 6720: 9 [#{\dobody\\\ 866}# ((process-use-modules (list #)) *unspecified*) () ...] In ice-9/psyntax-pp.scm: 3311: 10 [#{\chi-top\\\ 166}# (process-use-modules (list (list #))) () ...] In ice-9/psyntax-pp.scm: 7854: 11 [#{\top-level-eval-hook\\\ 90}# # #] In unknown file: ?: 12* [primitive-eval ("noexpand" (process-use-modules (list #)))] ?: 13* [process-use-modules (((dbi dbi)))] In ice-9/boot-9.scm: 2992: 14* [process-use-modules (((dbi dbi)))] In unknown file: ?: 15* [map # ((#))] In ice-9/boot-9.scm: 2993: 16* [# ((dbi dbi))] In ice-9/boot-9.scm: 2144: 17 [resolve-interface (dbi dbi)] ERROR: In procedure resolve-interface: ERROR: no code for module (dbi dbi) scheme@(guile-user)> The basic dbi.scm is located in /usr/local/share/guile/site/dbi Copying it to /usr/share/guile/site/dbi does not help. The module is found, and works, with guile1.8.6 The total contents of dbi.scm is (define-module (dbi dbi)) (load-extension "libguile-dbi" "init_dbi") ; exported primitives (export dbi-open dbi-close dbi-query dbi-get_row dbi-get_status) --linas