justanotheruser
04-06-2010, 09:37 AM
I was wondering if anyone had any success installing a flavor of Common Lisp and / or Haskell on either Hostmonster or its sister company Bluehost?
I've seen a tutorial online for running a Lisp script as a CGI script, thereby negating (?) the need for mod_lisp to be added into Apache (I hope).
I can get bash and perl scripts to execute in my cgi-bin directory. I also installed Clozure Common Lisp in a subdirectory of my home directory. I did have to copy the ccl64 script that starts the Lisp REPL into my /home1/username/bin directory before I could just start Lisp without the ./ (I tried editing my PATH but must not have done it correctly).
I can enter a Lisp REPL and execute commands, but I copy the sample Lisp as CGI script from the online tutorial, and modify my path to the interpreter to be #!/home1/username/bin/ccl64, I get no output in the browser. When I view source in the browser, the only thing present is this:
<!-- SHTML Wrapper - 500 Server Error -->
I'll switch to a VPS host if I ultimately need to, but the drawback to that is even if they use a 64bit operating system, the hypervisor is 32bit, so trying to benchmark any multicore programming experiments would be flawed. I assume here in this shared hosting environment, code written to map to specific physical cores would actually do what you expect, and benchmarks would be more accurate (?), so that's why I'd very like to get it working on Hostmonster if at all possible.
Any suggestions greatly appreciated :)
I've seen a tutorial online for running a Lisp script as a CGI script, thereby negating (?) the need for mod_lisp to be added into Apache (I hope).
I can get bash and perl scripts to execute in my cgi-bin directory. I also installed Clozure Common Lisp in a subdirectory of my home directory. I did have to copy the ccl64 script that starts the Lisp REPL into my /home1/username/bin directory before I could just start Lisp without the ./ (I tried editing my PATH but must not have done it correctly).
I can enter a Lisp REPL and execute commands, but I copy the sample Lisp as CGI script from the online tutorial, and modify my path to the interpreter to be #!/home1/username/bin/ccl64, I get no output in the browser. When I view source in the browser, the only thing present is this:
<!-- SHTML Wrapper - 500 Server Error -->
I'll switch to a VPS host if I ultimately need to, but the drawback to that is even if they use a 64bit operating system, the hypervisor is 32bit, so trying to benchmark any multicore programming experiments would be flawed. I assume here in this shared hosting environment, code written to map to specific physical cores would actually do what you expect, and benchmarks would be more accurate (?), so that's why I'd very like to get it working on Hostmonster if at all possible.
Any suggestions greatly appreciated :)