8 Dec 2008 17:13
How do I replace my broken ':perform' forms?
Thom Goodsell <thom.goodsell <at> mac.com>
2008-12-08 16:13:00 GMT
2008-12-08 16:13:00 GMT
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,(Continue reading)
RSS Feed