<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Don Green wrote at 10/24/2012 02:07 PM:
<blockquote
cite="mid:CANeurs+r+Ec+57bJBfSv1E9e1sbQAP+wG42mWQUVWDk0CyyMww@mail.gmail.com"
type="cite">
<style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
        --></style>Am
I setting PLTCOLLECTS environment
variable correctly</blockquote>
<br>
You're just bumping into an arcane Unix thing, not a Racket problem.<br>
<br>
You have to either put the "PLTCOLLECTS=" at the beginning of the same
command that invokes "racket", or you have to use "export".<br>
<br>
The following two examples should work (note the backslash at the end
of one of the lines, for the command that spans multiple lines).<br>
<br>
#! /bin/sh<br>
PLTCOLLECTS="/home/don/.plt-scheme/4.2.1/collects:" \<br>
/home/don/bin/racket -t
/home/don/.plt-scheme/4.2.1/collects/DG/hello-world.ss
<br>
<br>
#! /bin/sh<br>
export PLTCOLLECTS="/home/don/.plt-scheme/4.2.1/collects:"<br>
/home/don/bin/racket -t
/home/don/.plt-scheme/4.2.1/collects/DG/hello-world.ss
<br>
<br>
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.
<a class="moz-txt-link-freetext" href="http://www.neilvandyke.org/mcfly-tools/">http://www.neilvandyke.org/mcfly-tools/</a><br>
<br>
Neil<br>
<br>
</body>
</html>