Hi,

I'm trying to use a Lisp file as a CGI script (using XAMPP 1.7.3, ECL 11.1.1, 
Windows 7 64-bit), but I'm struggling with some problems.

First I had to add these lines to "C:\xampp\apache\conf\httpd.conf":

AddHandler cgi-script .lisp
ScriptInterpreterSource Registry-Strict

After that I could use this:

#!/usr/bin/ecl -shell
(format t "Content-Type: text/plain~%~%")
(princ "test")

Now the issue I'm having is when I try to load Quicklisp. The first problem was 
that "(user-homedir-pathname)" returns "/" so it cannot find where Quicklisp is 
really installed, which in my case is "C:\Users\marcio\quicklisp". I then tried 
to hardcode the path:

#!/usr/bin/ecl -shell
(format t "Content-Type: text/plain~%~%")
(load "/Users/marcio/quicklisp/setup.lisp")

Which outputs:

;;; Loading "C:/Users/marcio/quicklisp/setup.lisp"
;;; Loading #P"C:/usr/bin/asdf.fas"
;;; Loading #P"C:/usr/bin/cmp.fas"
;;; Internal error:
;;;   ** Unable to find include directory

I guess this has something to do with "(compiler::ecl-include-directory)", but 
I'm not really sure where to go from here. Any suggestions?

Thanks,
-- 
Márcio Faustino

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to