On Sun, Jul 3, 2011 at 8:54 AM, Nandan Bagchee <[email protected]>wrote:
> work. I'd enjoy a new tutorial in a style that doesn't use >> continuations. > > > http://github.com/nunb/weblocks-tutorial ... suggestions? > > >> No worries about snappyvote source, I just thought >> that'd be a low-energy way to contribute. I'm glad you pointed to >> elephant, cl-selenium, postmodern, and stefil - it's instructive to >> know what the community is using. >> >> > Well, especially on the elephant side I think some more detail would be > useful to the community. > > cl-prevalence is in use by default, and elephant/bdb seems almost > deprecated (future elephant releases will use cl-prevalence) and hard to get > working on some platforms (OSX 10.5 comes to mind). > > I actually develop on a mac with OSX 10.5 and then deploy to a debian server. Configuring elephant was not exactly strait forward and took a little bit of trial and error. I use the darcs elephant-1.0 branch instead of pulling from quicklisp. I had some trouble with the quicklisp version but it could be user error on my part. The critical piece I think was to get the proper version of bdb install, which is bdb4.7. I installed this with macports "sudo port install db47". Next I set up the my-config.sexp file under elephant-1.0/ with the following: #+darwin ((:COMPILER . :GCC) (:BERKELEY-DB-VERSION . "4.7") (:BERKELEY-DB-INCLUDE-DIR . "/opt/local/include/db47/") (:BERKELEY-DB-LIB-DIR . "/opt/local/lib/db47/") (:BERKELEY-DB-LIB . "/opt/local/lib/db47/libdb-4.7.dylib") (:BERKELEY-DB-DEADLOCK . "/opt/local/bin/db47_deadlock") (:BERKELEY-DB-CACHESIZE . 20971520) (:BERKELEY-DB-MAX-LOCKS . 2000) (:BERKELEY-DB-MAX-OBJECTS . 2000) (:BERKELEY-DB-MAP-DEGREE2 . T) (:BERKELEY-DB-MVCC) (:CLSQL-LIB-PATHS) (:PREBUILT-LIBRARIES) (:WARN-WHEN-DROPPING-PERSISTENT-SLOTS . T) (:RETURN-NULL-ON-MISSING-INSTANCE . T) (:NO-DESERIALIZATION-PACKAGE-FOUND-ACTION . :WARN)) #+linux ((:COMPILER . :GCC) (:BERKELEY-DB-VERSION . "4.7") (:BERKELEY-DB-INCLUDE-DIR . "/usr/include/") (:BERKELEY-DB-LIB-DIR . "/usr/lib/") (:BERKELEY-DB-LIB . "/usr/lib/libdb-4.7.so") (:BERKELEY-DB-DEADLOCK . "/usr/bin/db4.7_deadlock") (:BERKELEY-DB-CACHESIZE . 20971520) (:BERKELEY-DB-MAX-LOCKS . 2000) (:BERKELEY-DB-MAX-OBJECTS . 2000) (:BERKELEY-DB-MAP-DEGREE2 . T) (:BERKELEY-DB-MVCC) (:CLSQL-LIB-PATHS) (:PREBUILT-LIBRARIES) (:WARN-WHEN-DROPPING-PERSISTENT-SLOTS . T) (:RETURN-NULL-ON-MISSING-INSTANCE . T) (:NO-DESERIALIZATION-PACKAGE-FOUND-ACTION . :WARN)) I don't have much experience with cl-prevalance but Elephant works well for me for now. I may try cl-prevalence in a future project. Hope this helps, Anthony -- 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.
