[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SrPersist and sql-c-char question
- To: PLT <plt-scheme@fast.cs.utah.edu>
- Subject: Re: SrPersist and sql-c-char question
- From: Francisco Solsona <solsona@acm.org>
- Date: 12 Mar 2001 12:10:17 +0000
- In-Reply-To: <NBBBLCLOKKHAGMJBNHDMOEDKFEAA.apeake@comac.com> ("Alex Peake"'s message of "Mon, 12 Mar 2001 09:38:15 -0800")
- Mail-Copies-To: nobody
- Organization: Universidad Nacional Autónoma de México
- References: <NBBBLCLOKKHAGMJBNHDMOEDKFEAA.apeake@comac.com>
- Sender: owner-plt-scheme@fast.cs.utah.edu
- User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Cuyahoga Valley)
"Alex Peake" <apeake@comac.com> writes:
Hello Alex,
> When I:
> (define odbc-version 3.5)
> (require-library "schemeql.ss" "schemeql")
>
> I get:
> d:\drscheme\.\collects\setup\..\..\collects\schemeql\driver/odbc.ss:
> 29.29-29.57: unit: unbound identifier get-diag-field
>
> Is that something obvious?
Yes, obvious and very silly of me. :-( Sorry, the problem is the file
"schemeqlr.ss" where I include the file "driver/odbc.ss", and as you
can see it uses unix's syntax. The fast solution is to edit that
file, there you will find something like:
(>= odbc-version 3.5)
(unit/sig schemeql:schemeql^
(import
srpersist:odbc-3.5^
schemeql:util^
[c : schemeql:cursor^]
(odbc-version))
(include (build-path "driver" "odbc.ss"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
put this instead of "driver/odbc.ss"
I guess that should to the trick. This bug is new, since I am working
(not much, though) on a text-based DBMS, so I put the SrPersist
dependent code in the driver{/|\}odbc.ss file.
I have placed a new .plt file in the ftp that includes this
correction. I haven't had the chance to test SchemeQL in other
platforms different to Unix (FreeBSD, and Linux with MySQL), so:
*thank you* for trying SchemeQL out, and I hope I can be of any
assistance.
--Francisco
P.S. I have also SchemeQL on a CVS server, in case you prefer the
development version. See the beginning of "doc.txt" for instructions.