[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)

From: Gregory Marton
Subject: (no subject)
Date: Sun, 1 Jun 2008 07:25:24 -0400 (EDT)

Dear guile devel folks,

Having failed to reach either:
     Unrouteable address
    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::"))

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)

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?


------ __@   Gregory A. Marton                http://csail.mit.edu/~gremio/
--- _`\<,_                                                                .
-- (*)/ (*)           Dancers are the athletes of God. --Einstein

reply via email to

[Prev in Thread] Current Thread [Next in Thread]