[racket] How to Add to find-library-collection-paths? Continued...
Don Green wrote at 10/24/2012 02:07 PM:
> Am I setting PLTCOLLECTS environment variable correctly
You're just bumping into an arcane Unix thing, not a Racket problem.
You have to either put the "PLTCOLLECTS=" at the beginning of the same
command that invokes "racket", or you have to use "export".
The following two examples should work (note the backslash at the end of
one of the lines, for the command that spans multiple lines).
#! /bin/sh
PLTCOLLECTS="/home/don/.plt-scheme/4.2.1/collects:" \
/home/don/bin/racket -t
/home/don/.plt-scheme/4.2.1/collects/DG/hello-world.ss
#! /bin/sh
export PLTCOLLECTS="/home/don/.plt-scheme/4.2.1/collects:"
/home/don/bin/racket -t
/home/don/.plt-scheme/4.2.1/collects/DG/hello-world.ss
BTW, if your project will be open source software, I suggest using
PLaneT development links instead of "PLTCOLLECTS". PLaneT development
links have their own difficulties, but McFly Tools makes it easier.
http://www.neilvandyke.org/mcfly-tools/
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121024/402cafc4/attachment.html>