Re: clsql and asdf3
Faré <[email protected]> Thu, 21 Feb 2013 15:03:48 -0500
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <CAN7nBXeeqT+krgVxhA7Hqm7Qy_uxggKMswtAGkkNK4m4h+MXPw@mail.gmail.com> |
Dear Russ, thanks a lot, if it works for you, it should work for everyone. That's the whole point of making ASDF behavior more deterministic. —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org A mathematician is a machine for converting coffee into theorems. [A co-mathematician is a machine for converting cotheorems into fee.] On Thu, Feb 21, 2013 at 1:42 PM, Russ Tyndall <[email protected]> wrote: > Thanks again Faré, > > I cloned the asdf3 repository, and 'make'd it. Then in lisp I ran the > following forms and it loaded without error. I assume this means that > everything should work for you as well. Also I have a patch pending to > cleanup the encoding issues in that file. > > (load "asdf3/build/asdf.lisp") > (asdf:load-system :clsql-helper) > > Cheers, > Russ Tyndall > Acceleration.net > > > On 2/21/2013 11:42 AM, Faré wrote: >> >> Can you try loading with the latest ASDF from git? >> git://common-lisp.net/projects/asdf/asdf.git >> make >> >> Also, I noticed that this file has a non-UTF-8 character. Can you fix it? >> ./clsql-20130128-git/examples/sqlite3/init-func/example.lisp >> >> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• >> http://fare.tunes.org >> Complexity is the hallmark of stupidity >> — Erik Naggum >> >> >> On Thu, Feb 21, 2013 at 11:12 AM, Russ Tyndall <[email protected]> >> wrote: >>> >>> Thanks for the report Faré, >>> >>> A `grep -i` of the current source of clsql reveals none of these symbols. >>> I'm not sure where the undefined variables from clsql-helper would be >>> coming >>> from; those have never been referenced in clsql (clsql-helper is a >>> separate >>> utility package). Perhaps this is an error with loading clsql-helper? >>> >>> There is currently some code in clsql-helper that would reference >>> functions >>> that are undefined (they are methods overriding two different versions of >>> clsql). They will not conflict and the wrong one will not be called. I >>> ended up just writing a macro to not emit the code for the undefined >>> method >>> and that seemed to solve the load error/warning. >>> >>> I have also fixed the special variable forward references and pushed a >>> patch >>> to clsql-helper on github. This will presumably make it into the next >>> quicklisp. Please let me know if this does not solve the problems. >>> >>> Cheers, >>> Russ Tyndall >>> Acceleration.net >>> >>> >>> >>> On 2/20/2013 10:55 PM, Faré wrote: >>>> >>>> Free variable and/or forward reference to special variables = Bug that >>>> prevents compilation with ASDF3. >>>> Same for functions that remain undefined by end of system. >>>> >>>> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• >>>> http://fare.tunes.org >>>> The most exciting phrase to hear in science, the one that heralds new >>>> discoveries, is not "Eureka!" (I found it!) but "That's funny ..." >>>> — Isaac Asimov >>>> >>>> ; compilation unit finished >>>> ; Undefined functions: >>>> ; CLSQL-SYS::%SLOT-STOREDP CLSQL-SYS::%SLOT-VALUE-LIST >>>> ; Undefined variables: >>>> ; CLSQL-HELPER:*CONNECTION-SETTINGS* >>>> CLSQL-HELPER::*DEFAULT-LOG-FN* CLSQL-HELPER::*RECORD-THIS-DIRTY-SLOT* >>>> CLSQL-HELPER:+A-DAY+ CLSQL-HELPER:+A-MINUTE+ CLSQL-HELPER:+A-MONTH+ >>>> CLSQL-HELPER:+A-NEGATIVE-DAY+ CLSQL-HELPER:+A-NEGATIVE-HOUR+ >>>> CLSQL-HELPER:+A-NEGATIVE-MINUTE+ CLSQL-HELPER:+A-NEGATIVE-MONTH+ >>>> CLSQL-HELPER:+A-NEGATIVE-SECOND+ CLSQL-HELPER:+A-NEGATIVE-YEAR+ >>>> CLSQL-HELPER:+A-SECOND+ CLSQL-HELPER:+A-YEAR+ CLSQL-HELPER:+AN-HOUR+ >>>> ; caught 15 WARNING conditions >>>> ; caught 4 STYLE-WARNING conditions >>>> Unhandled SERIOUS-CONDITION of type COMPILE-FAILED-ERROR is signaled: >>>> Lisp compilation failed >>>> >>>> _______________________________________________ >>>> CLSQL mailing list >>>> [email protected] >>>> http://lists.b9.com/cgi-bin/mailman/listinfo/clsql >>> >>> > _______________________________________________ CLSQL mailing list [email protected] http://lists.b9.com/cgi-bin/mailman/listinfo/clsql