[plt-scheme] mzc question: module paths

From: John W. Small (jsmall at atlantech.net)
Date: Tue Sep 17 14:40:41 EDT 2002

I'm trying to use mzc to embedded a module in MrScheme:

    mzc --exe cgi-test  cgi-test.scm

The error message is bad module path in require ...

I didn't see a command line flag for setting the module
path root directory.   Is there an environment variable
setting that handles this?  Or do I have to hard code
absolute module paths in my source?

; cgi-test.scm  source

(module cgi-test

(require (lib "cgi.ss" "net")  (lib "xml.ss" "xml"))

(output-http-headers)

(write-xml/content 
 (xexpr->xml
   '(html
      (title "My First CGI Web Page")
      (body 
   (h1 "Hello World")))))
)

Thanks!

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20020917/bf495b02/attachment.html>

Posted on the users mailing list.