From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregory Marton Newsgroups: gmane.lisp.guile.bugs Subject: (no subject) Date: Sun, 1 Jun 2008 07:25:24 -0400 (EDT) Message-ID: Reply-To: Gregory Marton NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1212319548 12935 80.91.229.12 (1 Jun 2008 11:25:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2008 11:25:48 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Jun 01 13:26:28 2008 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.50) id 1K2lhj-0004fY-7N for guile-bugs@m.gmane.org; Sun, 01 Jun 2008 13:26:27 +0200 Original-Received: from localhost ([127.0.0.1]:59046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2lgx-0006od-51 for guile-bugs@m.gmane.org; Sun, 01 Jun 2008 07:25:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2lgl-0006jb-7r for bug-guile@gnu.org; Sun, 01 Jun 2008 07:25:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2lgj-0006ir-91 for bug-guile@gnu.org; Sun, 01 Jun 2008 07:25:26 -0400 Original-Received: from [199.232.76.173] (port=52240 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2lgi-0006im-SZ for bug-guile@gnu.org; Sun, 01 Jun 2008 07:25:24 -0400 Original-Received: from outgoing.csail.mit.edu ([128.30.2.149]:51238) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2lgi-0001D8-Ne for bug-guile@gnu.org; Sun, 01 Jun 2008 07:25:24 -0400 Original-Received: from fiji.csail.mit.edu ([128.30.44.35]) by outgoing.csail.mit.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1K2lgi-0000VM-B5 for bug-guile@gnu.org; Sun, 01 Jun 2008 07:25:24 -0400 Original-Received: from gremio (helo=localhost) by fiji.csail.mit.edu with local-esmtp (Exim 4.63) (envelope-from ) id 1K2lgi-0003rp-2S for bug-guile@gnu.org; Sun, 01 Jun 2008 07:25:24 -0400 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:3885 Archived-At: Dear guile devel folks, Having failed to reach either: guile-dbi-users@gna.org Unrouteable address guile-dbi-devel@gna.org Unrouteable address I turn to you. I installed guile-dbi-2.0.0 and guile-dbd-postgresql-2.0.0 on a debian system with guile 1.8.3, apparently successfully, and went to try a connection, but found: guile> (use-modules (dbi dbi)) guile> (define conn (dbi-open "postgresql" "myuser::mydb::")) Backtrace: In standard input: 2: 0* (define conn (dbi-open "postgresql" "myuser::mydb::")) 2: 1* (dbi-open "postgresql" "myuser::mydb::") standard input:2:14: In expression (dbi-open "postgresql" "myuser::mydb::"): standard input:2:14: Unbound variable: dbi-open ABORT: (unbound-variable) guile> (version) "1.8.3" locate tells me there is only one dbi.scm and while that dbi.scm doesn't mention a version, among the first things it does is to export dbi-open. Is there a way to check which module dbi got found? I don't know how to make sure that the right dbi.scm and its associated stuff are being used. What else might be at fault? Thanks, Grem -- ------ __@ Gregory A. Marton http://csail.mit.edu/~gremio/ --- _`\<,_ . -- (*)/ (*) Dancers are the athletes of God. --Einstein ~~~~~~~~~~~~~~~~-~~~~~~~~_~~~_~~~~~v~~~~^^^^~~~~~--~~~~~~~~~~~~~~~++~~~~~~~