> * Don Cohen <qba-fbheprsbetr-k2012@...> [2012-11-29 00:14:23 -0800]:
> I had the opportunity to build the clisp oracle interface recently
> and wanted to report a few small issues.
> After I finally got the configure to work, make ended with this:
> gcc -m64 ... -c oracle.c
> oracle.c:5:20: error: oiface.h: No such file or directory
> ... many errors due to missing file
Please take a look at clisp/build-dir/oracle/Makefile.
It should contain something like
srcdir = /home/sds/src/clisp/current/modules/oracle
CC = gcc
CPPFLAGS = -I$(srcdir)
which should ensure that the oiface.h is found.
> At this point, surprisingly, things seem to work.
> However another small problem, possibly in the documentation, is that for
> (ORACLE:FETCH &OPTIONAL result-type)
> it's not clear that the result-type values are symbols in the oracle
> package. In fact the code could be clarified in this respect as well:
> (oracle:fetch 'pairs)
> *** - Invalid result type 'PAIRS' given - should be 'ARRAY, 'PAIRS or
> in this case the error message seems not all that helpful
I reworked the error handling there, please pull from hg, rebuild and
report back the problems.
> > (oracle:fetch 'oracle::pairs)
> This works.
> Should the double colon really be required?
In that case we should also export HASH from ORACLE.
However, I am not sure that the names have been selected reasonably.
I think that we should use VECTOR instead of ARRAY, HASH-TABLE instead
of HASH and LIST instead of PAIRS, in which case no exporting will be
> In fact, wouldn't it be more reasonable to just accept anything
> string= to "PAIRS" as pairs ?
I am not sure. Where else do we do this for type specifiers?
> The programming model seems to allow only for only one query at a
> time, which seems problematic, but that perhaps should be another
indeed; you might want to contact John Hinsdale directly or submit your
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://ffii.org http://www.memritv.org http://think-israel.org
If money were measured in piles, I would have had a pit of it.