Gauche-mongo with current Gauche (0.9.15)

Andreas Reuleaux <[email protected]>
Newsgroups gmane.lisp.scheme.gauche
Message-ID <87fr0qzwu9.fsf@laptop>
Hi, I am having issues with using Gauche-mongo
with a recent Gauche (0.9.15).

(cf https://practical-scheme.net/wiliki/wiliki.cgi/Gauche:Packages
and then:  https://github.com/ayatoy/Gauche-mongo)


When installing / configuring / and then trying to run the tests, I get:

$ git clone git://github.com/ayatoy/Gauche-mongo.git

$ cd Gauche-mongo/


$ ./configure --prefix=/home/rx/opt/Gauche
(this is where my Gauche lives)

$ make

$ make install

and then from within Gauche, for example for mongo.util (likewise for
the other mongo modules - cf the test.scm there):

gosh$ (use mongo.util)
*** ERROR: wrong number of arguments: $satisfy requires 1, but got 0
    While compiling "/home/rx/opt/gauche/share/gauche-0.98/site/lib/mongo/util.scm" at line 145: (define $mongo-uri-auth ($optional ($try ($do (user $mongo-uri-user) (($char #\:)) (pass $mongo-uri-p ...
    While loading "/home/rx/opt/gauche/share/gauche-0.98/site/lib/mongo/util.scm" at line 151
    While compiling "(input string port)" at line 1: (use mongo.util)
Stack Trace:
_______________________________________
  0  (report-error e)
  1  (%require feature)
  2  (%map1c pass1 (cdr form) cenv)
  3  (pass1 program cenv)
  4  (eval expr env)
        at "/home/rx/opt/gauche/share/gauche-0.98/0.9.15/lib/gauche/interactive.scm":359
  5  (evaluator exp (vm-current-module))
  6  (with-error-handler (^e (report-error e) #t) (^ () (let loop2 ...
gosh$ 


I should contact ayatoy - as I assume [?] - as it seems to me: Gauche-mongo is just
too old: last commit 14 years ago.


Which is a shame really, as I think: Gauche + Makiki + MongoDB + Htmx
(or whatever JavaScript framework of the jour) would make a nice stack!

Anyway: has anyone got this working? Thanks in advance.

-Andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.