[plt-scheme] collection not found error at startup

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jun 27 08:29:39 EDT 2008

On Jun 27, Tamas K Papp wrote:
> On Fri, Jun 27, 2008 at 06:04:10AM -0400, Eli Barzilay wrote:
> > On Jun 27, Tamas K Papp wrote:
> > > On Fri, Jun 27, 2008 at 05:38:39AM -0400, Eli Barzilay wrote:
> > > > On Jun 27, Tamas K Papp wrote:
> > > > > Hi,
> > > > > 
> > > > > I am using the debian package of mzscheme.  Recently (must have been
> > > > > after an upgrade), it started giving me this error message at startup:
> > > > > 
> > > > > Welcome to MzScheme v4.0.1 [cgc], Copyright (c) 2004-2008 PLT Scheme Inc.
> > > > > lib: standard-module-name-resolver: collection not found: "scheme" in any of: (#<path:/home/tpapp/.plt-scheme/4.0.1/collects> #<path:/usr/lib/plt/collects>) in: (lib "scheme/init")
> > > > > standard-module-name-resolver: collection not found: "scheme" in any of: (#<path:/home/tpapp/.plt-scheme/4.0.1/collects> #<path:/usr/lib/plt/collects>)
> > > > 
> > > > Do you have a "/usr/lib/plt/collects/scheme" directory?
> > > 
> > > No, I have /usr/lib/plt/collects/mzscheme (not scheme), part of the
> > > mzscheme package.
> > > 
> > > Is it possible that the "scheme" (vs "mzscheme") is a leftover from
> > > some earlier conf file I have?  Where should I look for this?
> > 
> > It sounds like the debian package is not setup properly.  The `scheme'
> > collection *should* be there.
> > 
> > Another thing that looks strange is that you have the `cgc' version of
> > mzscheme, but the default builds should be `3m'.
> 
> Thanks Eli,
> 
> I submitted a bug report
> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488246)
> 
> A temporary workaround is to install drscheme, which has these
> files.

I didn't even realize that this is the mzscheme package.

* The problem seems to be that the debian package does its own
  division of the directories into what goes into the mzscheme package
  and what goes into the drscheme package.  We have a script that does
  that job and verifies that no dependencies are broken.  Another
  solution is to have a single plt-scheme distribution.

  In any case, there need to be some overall reworking of the
  directory choices, since in version 4 the collections tree changed
  significantly.

More problems that you may want to file bug reports about (or maybe
Ari will see this email anyway):

* The "big" package should be named `plt-scheme'

* Unless its distributed in source form, there shouldn't be a
  dependency on gcc.

* IMPORTANT: the build should not use cgc -- it should use the default
  3m.  The cgc version of mzscheme can suffer from potential memory
  leaks, and this is especially important with long-running processes
  like a web-server (and my guess is that the mzscheme package is
  particularly popular for running servers).

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.