[racket] -S / --search doesn't work on Windows?

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Nov 30 13:23:53 EST 2010

Did you have an empty element in the PLTCOLLECTS to splice the default
search paths into?

(Something like ";C:\Program Files (x86)\Racket\collects" on windows,
where the initial semicolon makes an empty path indicating where the
default paths go into.)


An hour and a half ago, Greg Hendershott wrote:
> Turns out on the Windows machine I had a PLTCOLLECTS environment
> variable (I was under the impression I needed to set that for Quack).
> 
> Apparently if a PLTCOLLECTS env var exists, it causes -S / --search to
> be ignored.
> 
> I'm not sure if that is as-intended. Anyway, I deleted PLTCOLLECTS.
> 
> On Tue, Nov 30, 2010 at 6:42 AM, Greg Hendershott
> <greghendershott at gmail.com> wrote:
> > It's not due to slash vs. backslash, or to the folder not existing.
> >
> > Even simpler example:
> >
> > c:\Users\Greg\>racket -S C:\Users\Greg -e (current-library-collection-paths)
> > '(#<path:C:\Program Files (x86)\Racket\collects>)
> >
> > The path supplied by -S is still missing.
> >
> > On OS X it is included.
> >
> > On Tue, Nov 30, 2010 at 6:36 AM, Greg Hendershott
> > <greghendershott at gmail.com> wrote:
> >> Mac OS X:
> >>
> >> bash-3.2$ ./racket -S /Users/greg/.emacs.d/lisp/geiser/scheme/racket/
> >> Welcome to Racket v5.0.
> >>> (current-library-collection-paths)
> >> '(#<path:/Users/greg/Library/Racket/5.0/collects>
> >>  #<path:/Applications/Racket v5.0/collects>
> >>  #<path:/Users/greg/.emacs.d/lisp/geiser/scheme/racket/>)
> >>>
> >>
> >> Notice that the -S path is included.
> >>
> >>
> >> Windows 7:
> >>
> >> c:> racket -S C:/Users/Greg/site/geiser/scheme/racket
> >> Welcome to Racket v5.0.2
> >>>(current-library-collection-paths)
> >> '(#<path:C:\Program Files (x86)\Racket\collects>)
> >>>
> >>
> >> Notice that the -S path isn't included.
> >>
> >> I'm pretty sure this was a problem in 5.0.0 on Windows, too.
> >>
> >
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users

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


Posted on the users mailing list.