[plt-scheme] MZC and SRFI?

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Mon Dec 4 22:31:19 EST 2006

Define the PLTCOLLECTS environment variable to be your PLT collects directory should solve your problem.

Chapter 16 of mzscheme manual contains more information about PLTCOLLECTS.

Chongkai


----- Original Message ----- 
From: Greg Johnston 
To: plt-scheme at list.cs.brown.edu 
Sent: Monday, December 04, 2006 8:08 PM
Subject: [plt-scheme] MZC and SRFI?


Hey,

I have a module I'm trying to compile which requires another which requires another which:
(require (only (lib "time.ss" "srfi" "19")
                 current-date
                 date->string 
                 date-week-number
                 string->date))

It compiles fine with "mzc --gui-exe srl gui.ss". When I run "./srl," however, I get this:
collection-path: collection not found: "srfi" in any of: () 

 === context ===
cloop
#f::351: loop

The program runs fine when interpreted.

Is this WAD, a bug, or my fault?

Thanks,
Greg

P.S. Gentoo x86, with PLT Scheme 360.




_________________________________________________
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.