So I finally got tbnl to run smoothly, using lispworks personal. It loads up on SBCL but there is something funny going on with the test pages. I can load one of these pages okay, but every second time i reload it, the browser just hangs there. when i reload it once again, then it works but the test page access count (info.html) has only increased by one, as if the previous request had never happened. I initially thought it was because i was on mac/intel, however tbnl/sbcl had the same problems hosted on linux, and it made no difference moving to the latest sbcl 0.9.15 either.
what could be wrong?
anyhow, happy that it's running in some form.
later, Keith
On Mon, 7 Aug 2006 12:25:03 -0400, "Keith Orpen" keithorpen@gmail.com wrote:
So I finally got tbnl to run smoothly, using lispworks personal. It loads up on SBCL but there is something funny going on with the test pages. I can load one of these pages okay, but every second time i reload it, the browser just hangs there. when i reload it once again, then it works but the test page access count (info.html) has only increased by one, as if the previous request had never happened. I initially thought it was because i was on mac/intel, however tbnl/sbcl had the same problems hosted on linux, and it made no difference moving to the latest sbcl 0.9.15 either.
what could be wrong?
Is your SBCL built with thread support and are you using a 2.6.x kernel?
2.6 kernel, yes (ubuntu 6.06, if that matters).
As for thread support, i thought i had configured this in the sense that i wrote it into the file customize-target-features.lisp:
(lambda (features) (flet ((enable (x) (pushnew x features)) (disable (x) (setf features (remove x features)))) ;; Threading support, available on x86/x86-64 Linux only. (enable :sb-thread)))
this is as it was given in the INSTALL documentation. However, after I built it, I see that it is not in the file local-target-features.lisp-expr ... should it be? I suspect I have built sbcl without thread support despite my intentions, but I'm not sure how to tell.
Keith
On 8/7/06, Edi Weitz edi@agharta.de wrote:
On Mon, 7 Aug 2006 12:25:03 -0400, "Keith Orpen" keithorpen@gmail.com wrote:
So I finally got tbnl to run smoothly, using lispworks personal. It loads up on SBCL but there is something funny going on with the test pages. I can load one of these pages okay, but every second time i reload it, the browser just hangs there. when i reload it once again, then it works but the test page access count (info.html) has only increased by one, as if the previous request had never happened. I initially thought it was because i was on mac/intel, however tbnl/sbcl had the same problems hosted on linux, and it made no difference moving to the latest sbcl 0.9.15 either.
what could be wrong?
Is your SBCL built with thread support and are you using a 2.6.x kernel?
On Tue, 8 Aug 2006 10:45:08 -0400, "Keith Orpen" keithorpen@gmail.com wrote:
I suspect I have built sbcl without thread support despite my intentions, but I'm not sure how to tell.
I think you'll have to ask the SBCL experts. I usually don't use SBCL.
It turns out I do have threading enabled. I examined *features* and it does contain :sb-thread. So, perhaps some other features are necessary for this to work. In particular, it seems the kernel needs NPTL support (native posix thread library). According to getconf, I have that also. There are some bugs floating around that reference ubuntu and sbcl though; I guess probably it is some low-level problem related to my particular linux config.
I will keep looking and in the meantime lispworks will be the alternative.
regards, Keith
On 8/8/06, Edi Weitz < edi@agharta.de> wrote:
On Tue, 8 Aug 2006 10:45:08 -0400, "Keith Orpen" keithorpen@gmail.com wrote:
I suspect I have built sbcl without thread support despite my intentions, but I'm not sure how to tell.
I think you'll have to ask the SBCL experts. I usually don't use SBCL.
keithorpen@gmail.com wrote:
this is as it was given in the INSTALL documentation. However, after I built it, I see that it is not in the file local-target-features.lisp-expr ... should it be? I suspect I have built sbcl without thread support despite my intentions, but I'm not sure how to tell.
If (FIND :SB-THREAD *FEATURES*) returns NIL, you don't have thread support. Otherwise you do.