[plt-scheme] Problem require-ing SLIB 3a2 with DrScheme (299.400)

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sat Dec 17 06:08:16 EST 2005

Peter Wright wrote:
> DrScheme 299.400, Linux, built from source.
> 
> I downloaded SLIB 3a2 from
> 
> http://swiss.csail.mit.edu/ftpdir/scm/slib3a2.zip
> 
> I unzipped the file, moved the resulting 'slib' directory into
> $PLTHOME/collects (same location as the 'mzlib' dir, as suggested by
> the DrScheme Help Desk). $PLTHOME is /opt/plt, if it matters.
> 
> Now trying to run just:
> 
> (require (lib "load.ss" "slibinit"))
> 
> gives me this response:
> 
> ../../../plt/collects/slibinit/init.ss::9553: string=?: expects type
> <string> as 2nd argument, given: #<path:/opt/plt/collects/slib>; other
> arguments were: ""
> 
> Any ideas re: what's wrong?

I haven't used SLIB in a long time, but I in

  (require (lib "load.ss" "slibinit"))

I think you should some kind of (load ...)
in stead. What does the HelpDesk say?

-- 
Jens Axel Søgaard






Posted on the users mailing list.