Jose San Leandro <[email protected]> writes: > Hi, > > I guess the line to change is: > > (setf *default-store* (apply #'make-instance 'fluid-database > :connection-spec args))) > > I'm not sure about the change. I've read clsql discourages using fluid and > recommends using with-database macro instead. > I have similar problems when trying to install weblocks via quicklisp. > > Could someone give some more hints?
Of course. As suggested by Leslie, the only two files to change are "weblocks-clsql.asd" "clsql.lisp" located in "src/store/clsql" I attached a diff of the changes for your convenience. Let me know if you need more help. Bye, Andrea. -- Software vuol dire conoscenza! Per questo dev'essere un bene comune! Usa software libero e contribisci a cambiare il mondo: http://www.softwarelibero.it http://www.fsf.org http://www.gnu.org -- 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.
diff -c /home/andy/quicklisp/dists/quicklisp/archives/weblocks-20110418-hg/src/store/clsql/ /home/andy/quicklisp/dists/quicklisp/software/weblocks-20110418-hg/src/store/clsql diff -c /home/andy/quicklisp/dists/quicklisp/archives/weblocks-20110418-hg/src/store/clsql//clsql.lisp /home/andy/quicklisp/dists/quicklisp/software/weblocks-20110418-hg/src/store/clsql/clsql.lisp --- /home/andy/quicklisp/dists/quicklisp/archives/weblocks-20110418-hg/src/store/clsql//clsql.lisp 2011-04-09 16:11:31.000000000 +0200 +++ /home/andy/quicklisp/dists/quicklisp/software/weblocks-20110418-hg/src/store/clsql/clsql.lisp 2011-05-10 02:06:43.373486007 +0200 @@ -15,8 +15,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defmethod open-store ((store-type (eql :clsql)) &rest args) (setf *default-caching* nil) - (setf *default-store* (apply #'make-instance 'fluid-database - :connection-spec args))) + (setf *default-store* (apply #'connect args))) (defmethod close-store ((store database)) (when (eq *default-store* store) diff -c /home/andy/quicklisp/dists/quicklisp/archives/weblocks-20110418-hg/src/store/clsql//weblocks-clsql.asd /home/andy/quicklisp/dists/quicklisp/software/weblocks-20110418-hg/src/store/clsql/weblocks-clsql.asd --- /home/andy/quicklisp/dists/quicklisp/archives/weblocks-20110418-hg/src/store/clsql//weblocks-clsql.asd 2011-04-09 16:11:31.000000000 +0200 +++ /home/andy/quicklisp/dists/quicklisp/software/weblocks-20110418-hg/src/store/clsql/weblocks-clsql.asd 2011-05-16 18:16:07.180003770 +0200 @@ -11,6 +11,6 @@ :author "Slava Akhmechet" :licence "LLGPL" :description "A weblocks backend for clsql." - :depends-on (:closer-mop :metatilities :clsql :clsql-fluid :weblocks) + :depends-on (:closer-mop :metatilities :clsql :weblocks) :components ((:file "clsql"))) Diff finished. Mon May 16 19:28:00 2011
