From christoph.senjak at googlemail.com Sun May 9 15:06:05 2010 From: christoph.senjak at googlemail.com (Christoph Senjak) Date: Sun, 9 May 2010 17:06:05 +0200 Subject: [cl-markdown-devel] error when compiling with clisp Message-ID: Hello. I cant compile cl-markdown under clisp. I get the following error-message: ;; Compiling file /home/clisp2/clbuild/source/cl-markdown/dev/html.lisp ... *** - FUNCALL: undefined function #:|binding-generator45339| The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION '#:|binding-generator45339|). RETRY :R2 Retry STORE-VALUE :R3 You may input a new value for (FDEFINITION '#:|binding-generator45339|). RETRY :R4 Retry performing # on #. ACCEPT :R5 Continue, treating # on # as having been successful. ABORT :R6 Abort main loop Break 1 MARKDOWN[2]> I updated to the latest checkout of metabang-bind and cl-markdown, and under sbcl, at least it compiles only with (similar) warnings. But on clisp, I cannot compile. Can anybody help? Regards, Christoph From christoph.senjak at googlemail.com Sun May 9 15:06:05 2010 From: christoph.senjak at googlemail.com (Christoph Senjak) Date: Sun, 9 May 2010 17:06:05 +0200 Subject: [cl-markdown-devel] error when compiling with clisp Message-ID: Hello. I cant compile cl-markdown under clisp. I get the following error-message: ;; Compiling file /home/clisp2/clbuild/source/cl-markdown/dev/html.lisp ... *** - FUNCALL: undefined function #:|binding-generator45339| The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION '#:|binding-generator45339|). RETRY :R2 Retry STORE-VALUE :R3 You may input a new value for (FDEFINITION '#:|binding-generator45339|). RETRY :R4 Retry performing # on #. ACCEPT :R5 Continue, treating # on # as having been successful. ABORT :R6 Abort main loop Break 1 MARKDOWN[2]> I updated to the latest checkout of metabang-bind and cl-markdown, and under sbcl, at least it compiles only with (similar) warnings. But on clisp, I cannot compile. Can anybody help? Regards, Christoph From dherring at tentpost.com Sun May 9 16:04:31 2010 From: dherring at tentpost.com (Daniel Herring) Date: Sun, 9 May 2010 12:04:31 -0400 (EDT) Subject: [cl-markdown-devel] error when compiling with clisp In-Reply-To: References: Message-ID: On Sun, 9 May 2010, Christoph Senjak wrote: > I cant compile cl-markdown under clisp. I get the following error-message: > > ;; Compiling file /home/clisp2/clbuild/source/cl-markdown/dev/html.lisp ... > *** - FUNCALL: undefined function #:|binding-generator45339| ... > I updated to the latest checkout of metabang-bind and cl-markdown, and > under sbcl, at least it compiles only with (similar) warnings. But on > clisp, I cannot compile. Try applying the attached patch to metabang-bind. - Daniel -------------- next part -------------- From 499bca0937d1a35c6e14e15a6db69769db32ca81 Mon Sep 17 00:00:00 2001 From: D Herring Date: Fri, 28 Aug 2009 00:17:37 -0400 Subject: [PATCH] Work around a clisp bug. Clisp has trouble passing gensyms between forms created by a macro. see e.g. http://sourceforge.net/tracker/index.php?func=detail&aid=836838&group_id=1355&atid=101355 This mangling should be unique for each name/s. --- dev/macros.lisp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dev/macros.lisp b/dev/macros.lisp index 2dd8424..7c07315 100644 --- a/dev/macros.lisp +++ b/dev/macros.lisp @@ -54,7 +54,8 @@ instead #+(or) (gignores (gensym "ignores"))) (cond (multiple-names? - (setf main-method-name (gensym "binding-generator")) + (setf main-method-name + (intern (format nil "~A_~A" 'bind-generate-bindings (car name/s)))) ) (t (setf main-method-name 'bind-generate-bindings) -- 1.7.0.5 From christoph.senjak at googlemail.com Sun May 9 22:02:10 2010 From: christoph.senjak at googlemail.com (Christoph Senjak) Date: Mon, 10 May 2010 00:02:10 +0200 Subject: [cl-markdown-devel] error when compiling with clisp In-Reply-To: <6A78B220-7D62-4F6D-80E2-328F5E40E6E8@metabang.com> References: <6A78B220-7D62-4F6D-80E2-328F5E40E6E8@metabang.com> Message-ID: Hello. Thanks, it works. 2010/5/9 Gary King : > Thanks Daniel, > > That's great! I'll work on pulling this back into metabang-bind. > > > > > On May 9, 2010, at 12:04 PM, Daniel Herring wrote: > >> On Sun, 9 May 2010, Christoph Senjak wrote: >> >>> I cant compile cl-markdown under clisp. I get the following error-message: >>> >>> ;; Compiling file /home/clisp2/clbuild/source/cl-markdown/dev/html.lisp ... >>> *** - FUNCALL: undefined function #:|binding-generator45339| >> ... >>> I updated to the latest checkout of metabang-bind and cl-markdown, and >>> under sbcl, at least it compiles only with (similar) warnings. But on >>> clisp, I cannot compile. >> >> Try applying the attached patch to metabang-bind. >> >> - Daniel<0001-Work-around-a-clisp-bug.patch>_______________________________________________ >> cl-markdown-devel mailing list >> cl-markdown-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel > > -- > Gary Warren King, metabang.com > Cell: (413) 559 8738 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM * gwking on twitter > > From gwking at metabang.com Sun May 9 21:22:22 2010 From: gwking at metabang.com (Gary King) Date: Sun, 9 May 2010 17:22:22 -0400 Subject: [cl-markdown-devel] error when compiling with clisp In-Reply-To: References: Message-ID: <6A78B220-7D62-4F6D-80E2-328F5E40E6E8@metabang.com> Thanks Daniel, That's great! I'll work on pulling this back into metabang-bind. On May 9, 2010, at 12:04 PM, Daniel Herring wrote: > On Sun, 9 May 2010, Christoph Senjak wrote: > >> I cant compile cl-markdown under clisp. I get the following error-message: >> >> ;; Compiling file /home/clisp2/clbuild/source/cl-markdown/dev/html.lisp ... >> *** - FUNCALL: undefined function #:|binding-generator45339| > ... >> I updated to the latest checkout of metabang-bind and cl-markdown, and >> under sbcl, at least it compiles only with (similar) warnings. But on >> clisp, I cannot compile. > > Try applying the attached patch to metabang-bind. > > - Daniel<0001-Work-around-a-clisp-bug.patch>_______________________________________________ > cl-markdown-devel mailing list > cl-markdown-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter From dherring at tentpost.com Sun May 9 23:10:27 2010 From: dherring at tentpost.com (Daniel Herring) Date: Sun, 9 May 2010 19:10:27 -0400 (EDT) Subject: [cl-markdown-devel] error when compiling with clisp In-Reply-To: <6A78B220-7D62-4F6D-80E2-328F5E40E6E8@metabang.com> References: <6A78B220-7D62-4F6D-80E2-328F5E40E6E8@metabang.com> Message-ID: On Sun, 9 May 2010, Gary King wrote: > That's great! I'll work on pulling this back into metabang-bind. Hi Gary, For some reason, I was never fully comfortable with that patch. Maybe I just wasn't comfortable with the metabang-bind internals? Maybe I wasn't sure of the guaranteed uniqueness of (car name/s)? Maybe the symbol's package name should also be used? Its been too long to remember the exact details. - Daniel > On May 9, 2010, at 12:04 PM, Daniel Herring wrote: > >> On Sun, 9 May 2010, Christoph Senjak wrote: >> >>> I cant compile cl-markdown under clisp. I get the following error-message: >>> >>> ;; Compiling file /home/clisp2/clbuild/source/cl-markdown/dev/html.lisp ... >>> *** - FUNCALL: undefined function #:|binding-generator45339| >> ... >>> I updated to the latest checkout of metabang-bind and cl-markdown, and >>> under sbcl, at least it compiles only with (similar) warnings. But on >>> clisp, I cannot compile. >> >> Try applying the attached patch to metabang-bind. >> >> - Daniel<0001-Work-around-a-clisp-bug.patch>_______________________________________________ >> cl-markdown-devel mailing list >> cl-markdown-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel > > -- > Gary Warren King, metabang.com > Cell: (413) 559 8738 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM * gwking on twitter > >