mysql - clsql trouble in SBCL -


i'm trying clsql working (used use cl-mysql, looking @ alternatives). attempting play around @ point, , i'm getting stopped @ connect

(connect '("localhost" "test" "user" "password") :database-type :mysql) 

gets me

erred while invoking #<compile-op (:verbose nil) {bdff0b9}> on #<clsql-uffi-source-file "clsql-uffi" "uffi" "clsql_uffi">    [condition of type asdf:operation-error]  backtrace:   0: ((sb-pcl::fast-method asdf:perform (asdf:compile-op clsql-uffi-system::clsql-uffi-source-file)) ..)   1: ((lambda (sb-pcl::.pv. sb-pcl::.next-method-call. sb-pcl::.arg0. sb-pcl::.arg1.)) ..)   2: ((lambda ()))   3: ((flet sb-thread::with-recursive-lock-thunk))   4: ((flet #:without-interrupts-body-[call-with-recursive-lock]324))   5: (sb-thread::call-with-recursive-lock ..)   6: ((flet sb-c::with-it))   7: ((sb-pcl::fast-method asdf:operate (t t)) #<unavailable argument> #<unavailable argument> asdf:load-op :clsql-mysql)[:external]   8: ((lambda (sb-pcl::.pv. sb-pcl::.next-method-call. sb-pcl::.arg0. sb-pcl::.arg1. sb-int:&more sb-pcl::.dfun-more-context. sb-pcl::.dfun-more-count.)) ..)   9: (connect ("localhost" "test" "user" "password"))[:external]  10: (sb-int:simple-eval-in-lexenv (connect '("localhost" "test" "user" "password") :database-type :mysql) #<null-lexenv>)  11: ((lambda ()))  --more-- 

if follow accept restarts (trimmed above brevity) way through, to

attempt call undefined alien function.    [condition of type sb-kernel::undefined-alien-function-error]  restarts:  0: [retry] retry slime interactive evaluation request.  1: [abort] return slime's top level.  2: [terminate-thread] terminate thread (#<thread "worker" running {bd63789}>)  backtrace:   0: (sb-kernel::undefined-alien-function-error)   1: ("foreign function: #x806774b")   2: ("foreign function: #x8052f2d")   3: ("foreign function: #x80565c9")   4: ((sb-pcl::fast-method clsql-sys:database-connect (t (eql :mysql))) #<unavailable argument> #<unavailable argument> ("localhost" "test" "user" "password") :mysql)   5: (connect ("localhost" "test" "user" "password"))[:external]   6: (sb-int:simple-eval-in-lexenv (connect '("localhost" "test" "user" "password") :database-type :mysql) #<null-lexenv>)   7: ((lambda ()))  --more-- 

i'm using sbcl 1.0.40.0, debian 6.0, clsql installed using quicklisp , mysql v14.14 (although doubt issue mysql).

don't use accept restart. means "keep going though screwed up," , that's if ever want do.

do have mysql development libraries installed? have libmysqlclient.so?

one thing try: start fresh sbcl , quickload "clsql-uffi", trace clsql-uffi::find-and-load-foreign-library, (clsql:connect nil :database-type 'mysql) see if it's finding need, based on trace output.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -