hi, i'm using win32 with apache2 installed..
i try to start tbnl (loading went fine..), using (tbnl:start-tbnl), and it just stops, give me a new line, and stops, when i type an enter, it give me a new line, on the bottom, it says pipeline request... (swank: listener-eval " "), then stops again.. is this normal? When i try to load the test page from the web browser (http://localhost/tbnl/test/test.lisp) it gave me a server error
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
i put in the lines to httpd.config:
LispServer 127.0.0.1 3000 "tbnl" <Location /tbnl> SetHandler lisp-handler </Location>
anyone know what's happening?
Hi!
On Tue, 1 Feb 2005 07:29:09 -0500, Jason Wang randomtalk@gmail.com wrote:
hi, i'm using win32 with apache2 installed..
i try to start tbnl (loading went fine..), using (tbnl:start-tbnl), and it just stops, give me a new line, and stops, when i type an enter, it give me a new line, on the bottom, it says pipeline request... (swank: listener-eval " "), then stops again.. is this normal? When i try to load the test page from the web browser (http://localhost/tbnl/test/test.lisp) it gave me a server error
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
i put in the lines to httpd.config:
LispServer 127.0.0.1 3000 "tbnl" <Location /tbnl> SetHandler lisp-handler
</Location>
anyone know what's happening?
The message you got from Apache most likely means that TBNL wasn't started yet. To further investigate your problem we first need to know which Lisp implementation you are using. AllegroCL? LispWorks? Something else? And which version?
Also, the SWANK part in your email very much looks like you're working with SLIME. Try to isolate the problem by starting the TBNL test suite directly from your Lisp listener without using SLIME and see if that makes a difference.
Let us know what comes out of this.
Cheers, Edi.
mmm.. yes, i'm using slime with emacs, i'm using a program named lisp in a box : http://common-lisp.net/project/lispbox/, not sure if you've heard it before..
wondering, how do you start TBNL test suite directly from my lisp listener?
thanks alot for helping me :D
Jason
On Tue, 1 Feb 2005 17:44:34 -0500, Jason Wang randomtalk@gmail.com wrote:
mmm.. yes, i'm using slime with emacs, i'm using a program named lisp in a box : http://common-lisp.net/project/lispbox/, not sure if you've heard it before..
Yes, I have.
wondering, how do you start TBNL test suite directly from my lisp listener?
Depends on your Lisp implementation, as I said... :)
If you're using Lisp in a Box with CLISP you can't deploy TBNL at all. If you're using it with AllegroCL you start AllegroCL directly (from Windows' Start->Programs) and load and start TBNL from there.
If you're new to Common Lisp the problem you might encounter when doing this is how to install the libraries (and where) and how to load them. For this you can read my ASDF/ASDF-INSTALL tutorial at
and look at Bill Clementson's blog entry here:
http://home.comcast.net/~bc19191/blog/041113.html
If that doesn't help don't hesitate to ask more questions.
Cheers, Edi.
On Wed, 02 Feb 2005 21:19:22 +0100, Edi Weitz edi@agharta.de wrote:
On Tue, 1 Feb 2005 17:44:34 -0500, Jason Wang randomtalk@gmail.com wrote:
mmm.. yes, i'm using slime with emacs, i'm using a program named lisp in a box : http://common-lisp.net/project/lispbox/, not sure if you've heard it before..
Yes, I have.
wondering, how do you start TBNL test suite directly from my lisp listener?
Depends on your Lisp implementation, as I said... :)
If you're using Lisp in a Box with CLISP you can't deploy TBNL at all. If you're using it with AllegroCL you start AllegroCL directly (from Windows' Start->Programs) and load and start TBNL from there.
If you're new to Common Lisp the problem you might encounter when doing this is how to install the libraries (and where) and how to load them. For this you can read my ASDF/ASDF-INSTALL tutorial at
and look at Bill Clementson's blog entry here:
http://home.comcast.net/~bc19191/blog/041113.html
If that doesn't help don't hesitate to ask more questions.
Cheers, Edi.
mmm..
well, i followed Bill Clementson's blog, but then, i can't get it to work.. so as you said, Clisp won't work with TBNL.. so can you suggest a free CL editor + implementation that will work with TBNL?? the key word here is free, becuase i'm just 16, there is no way for me to afford anything more than free so far :|.. thanks alot! :D
Jason
On Wed, 2 Feb 2005 15:57:27 -0500, Jason Wang randomtalk@gmail.com wrote:
well, i followed Bill Clementson's blog, but then, i can't get it to work.. so as you said, Clisp won't work with TBNL.. so can you suggest a free CL editor + implementation that will work with TBNL?? the key word here is free, becuase i'm just 16, there is no way for me to afford anything more than free so far :|.. thanks alot! :D
Well, if you can't afford anything more than free then dump Windows and install Linux instead, you'll find heaps of free software for that OS including several high-quality Common Lisp implementations like CMUCL and SBCL both of which will work with TBNL.
If you want to stick with Windows and you're just using this to learn Lisp you can install a free trial version of one of the commercial Lisps - both AllegroCL from Franz Inc. and LispWorks from LispWorks Ltd. will work with TBNL. AllegroCL can also be integrated into your Lisp In A Box setup AFAIK. LispWorks has its own IDE that's very easy to use.
Cheers, Edi.
On Wed, 02 Feb 2005 22:16:40 +0100, Edi Weitz edi@agharta.de wrote:
On Wed, 2 Feb 2005 15:57:27 -0500, Jason Wang randomtalk@gmail.com wrote:
well, i followed Bill Clementson's blog, but then, i can't get it to work.. so as you said, Clisp won't work with TBNL.. so can you suggest a free CL editor + implementation that will work with TBNL?? the key word here is free, becuase i'm just 16, there is no way for me to afford anything more than free so far :|.. thanks alot! :D
Well, if you can't afford anything more than free then dump Windows and install Linux instead, you'll find heaps of free software for that OS including several high-quality Common Lisp implementations like CMUCL and SBCL both of which will work with TBNL.
If you want to stick with Windows and you're just using this to learn Lisp you can install a free trial version of one of the commercial Lisps - both AllegroCL from Franz Inc. and LispWorks from LispWorks Ltd. will work with TBNL. AllegroCL can also be integrated into your Lisp In A Box setup AFAIK. LispWorks has its own IDE that's very easy to use.
Cheers, Edi.
hi, i have successfully installed TBNL, cl-ppcre, cl-who, kmrcl, md5, url-rewrite, cl-base64 on my windows computer :D thanks alot! do you have a tutorial that teaches how to build dynamic pages wtih lisp? also, is there anything that'll interface with mysql database? or do i need it? since in php, mysql is inseparable with php :| what do lisp usually use to store database like info? thanks alot for helping :D
On Sat, 5 Feb 2005 11:33:27 -0500, Jason Wang randomtalk@gmail.com wrote:
hi, i have successfully installed TBNL, cl-ppcre, cl-who, kmrcl, md5, url-rewrite, cl-base64 on my windows computer :D thanks alot!
Great! Congratulations!
do you have a tutorial that teaches how to build dynamic pages wtih lisp?
No, not really - maybe you can start with test.lisp in the TBNL distribution. Then there's also a lot of stuff about dynamic Lisp websites on the Web. One very inspiring text is Marc Battyani's ILC 2002 talk. You can find the text itself and a video of Marc's presentation here:
http://fresh.homeunix.net/files/ilc02/
In fact, you'll find all of the proceedings there, including more stuff about Lisp and the Web.
You can also look at CL-EMB for ideas:
http://common-lisp.net/project/cl-emb/
Lots of other stuff (some of which can be combined with TBNL) can be found here:
also, is there anything that'll interface with mysql database?
Sure, there's CLSQL
and there are more database options depending on what you want:
or do i need it? since in php, mysql is inseparable with php :| what do lisp usually use to store database like info?
Good question... :)
I think it's a common misconception (due to popular frameworks like PHP) that a web application must be based on an SQL database. There's no reason to assume that.
Many Lispers prefer other ways to persist their data and you'll also find lots of info about this if you google for it. One interesting approach is what the BKNR guys are doing:
(Seems to be down at the moment but once it's up again download and read the talk Manuel Odendahl gave in Hamburg last year. Or email Manuel directly.)
OK, hope that helps, Edi.
thanks alot :D i'll check them out :D mmm.. one question.. if i want to move my website to a dedicated root server.. how do i move lisp server to it also? i have full root access via SSH.. wat do you need to remotely install lisp stuff on to the root server? thanks alot! :D
Jason
On Sat, 5 Feb 2005 13:33:44 -0500, Jason Wang randomtalk@gmail.com wrote:
thanks alot :D i'll check them out :D
You're welcome.
mmm.. one question.. if i want to move my website to a dedicated root server.. how do i move lisp server to it also? i have full root access via SSH.. wat do you need to remotely install lisp stuff on to the root server?
If you have ssh access you do the same thing as if you had a terminal window open on your desktop machine (assuming this is Linux or some Unix variant).
How you actually install your Lisp depends on the specific compiler and the OS. On Debian in most cases you can install the Lisp compiler itself and most of the libraries with apt-get (from the "testing" branch). On Gentoo it's something similar, I think it's called 'emerge.' On other Linux distributions or on, say, FreeBSD it depends. For CMUCL, for example, you download (with, say, wget) the correct tarball from the CMUCL website and untar it in /usr/local - that should be it.
To install mod_lisp you can again use apt-get if you're on Debian (and probably emerge on Gentoo) - or you follow the instructions on the TBNL website to install it manually with apxs.
For the libraries - if you don't get them via apt-get or emerge you might want to try ASDF-INSTALL. A tutorial can be found here:
Does that help?
Cheers, Edi.