How do I replace my broken ':perform' forms?
Thom Goodsell <[email protected]> Mon, 08 Dec 2008 11:13:00 -0500
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Sorry if this has been covered, or if it's just really obvious, but I couldn't find anything helpful in the archives. I recently (i.e., about 15 minutes ago) got a new version of asdf.lisp when I updated my copy of ccl, and it broke a behavior I've been using. I *believe* that I was using the behavior incorrectly, and that the change was a bugfix, though I could be misunderstanding the svn logs. In my defsystem, I have the following bit of code: :perform (load-op :before (op c) ;; the before method runs after dependencies are loaded, ;; but before the components are loaded, so clsql-mysql is available (pushnew #p"/usr/local/mysql/lib/" ; local development (symbol-value (find-symbol "*FOREIGN-LIBRARY-SEARCH-PATHS*" :clsql-sys))) (asdf:oos 'asdf:load-op 'clsql-mysql)) It appears, now, that my comment is not correct. The idea is that I want to load all the systems from :depends-on, which includes clsql. Then I want to set up clsql-sys:*foreign-library-search-paths* to include the correct version of the MySQL libraries. Finally, I want to load the mysql components of clsql. Does anyone have advice on the Right Way (or even just a good way) to do this? Thanks, Thom ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/