Problem solved. It may be related to the fact that I did not have mysql.h installed on my system, but I am not completely sure because I did a bunch of other things, including changing mysql-fluid from standalone installation to git based patch on the original clsql.
Warren On Mar 21, 1:19 am, Warren Lynn <[email protected]> wrote: > Hi, > > I was trying to get the clsql based demo working, but I immediately > bumped into an issue. > > I started the demo with following line: > (weblocks-clsql-demo:start-weblocks-clsql-demo :port 8000 :debug t) > > And when I click on the "next" on the default greeting page (the page > that says "Roses are red..."), I got an error (in the web browser): > > erred while invoking #<COMPILE-OP (:VERBOSE NIL) {1004DA3381}> on > #<CL-SOURCE-FILE "clsql-uffi" {100502D881}> > > When I try to compile clsql-uffi.lisp manually, I got a bunch of > warnings, but a single error: > > clsql-uffi.lisp:141:9: > error: > (in macroexpansion of (CONVERT-FROM-FOREIGN-STRING CHAR-PTR :NULL- > TERMINATED-P ...)) > (hint: For more precise location, try *BREAK-ON-SIGNALS*.) > error while parsing arguments to DEFMACRO CONVERT-FROM-FOREIGN- > STRING: > unknown keyword: :ENCODING; expected one of :NULL-TERMINATED- > P, :LOCALE, :LENGTH > > It surprised me as my understanding is clsql has been around for quite > a while and is very stable, but it has compilation problems? I am a > newbie to both weblocks and lisp, can anyone enlighten me what could > have gone wrong? > > I am running weblocks stable 0.8.3 with sbcl 1.0.31 on Ubuntu 8.10. I > installed everything (except cl-fluid) using clbuild. > > Without clsql working, I can not use weblocks. So I hope my > exploration does not stop here. Thanks a lot for any help/advice. > > Warren -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
