<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm trying to use mzc to embedded a module in
MrScheme:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> mzc --exe cgi-test
cgi-test.scm</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The error message is bad module path in require
...</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I didn't see a command line flag for setting the
module</FONT></DIV>
<DIV><FONT size=2>path root directory. Is there an environment
variable</FONT></DIV>
<DIV><FONT size=2>setting that handles this? Or do I have to hard
code</FONT></DIV>
<DIV><FONT size=2>absolute module paths in my source?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>; cgi-test.scm source</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(module cgi-test</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(require (lib "cgi.ss" "net") (lib "xml.ss"
"xml"))</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(output-http-headers)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(write-xml/content
<BR> (xexpr->xml<BR>
'(html<BR> (title "My First CGI Web
Page")<BR> (body <BR> (h1 "Hello
World")))))<BR>)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>John</FONT></DIV>
<DIV> </DIV></BODY></HTML>