I think there might be confusion between "raco make" and "raco setup"?<br><br>Robby<br><br>On Sunday, August 21, 2011, Ray Racine <<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>> wrote:<br>
> Yes.<br>> raco make either makes the entire racket default collection (and the one in you home path which will ignore for now). Or one can tell it to only make a single library in the default collection, <br>> e.g., raco make compiler<br>
> So by default raco doesn't "see" my collection at /code/rktlib.<br>> One trick is to planet "link" it, even though I'm not really using planet libraries.<br>> /usr/local/racket/bin/raco planet link rktlib c1.plt 1 0 /code/rktlib/c1<br>
> Then a raco make seems to first scan through all the racket collections and then finally compiles my rktlib. But most time I just want to raco make my rktlib quickly. However, trying to tell raco to just build my rktlib fails. "raco make rktlib" fails as it can't find my collection. <br>
> The problem here is raco doesn't take any sort of arg parameter which is the path to my rktlib collection. Now I can work around this by setting the PLTCOLLECTION environment var but I'm already 2 kludges deep into a rather simple thing. To compile a simple local collection, I first trick it as some sort of planet development link and then stumble across that there is this environment variable backdoor.<br>
> In the past, I just shrug, go with it and figure I'm just missing something. This time I want to figure out where I keep wandering off the reservation.<br>> On Sun, Aug 21, 2011 at 12:33 PM, Jens Axel Søgaard <<a href="mailto:jensaxel@soegaard.net">jensaxel@soegaard.net</a>> wrote:<br>
>><br>>><br>>> 2011/8/21 Ray Racine <<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>><br>>> <br>>>><br>>>> Works, so now compile it to zos.<br>>><br>>> ... <br>
>>><br>>>> > (require compiler/compiler)<br>>>> > (compile-collection-zos "c1")<br>>>> for-each: expects type <proper list> as 2nd argument, given: #<void>; other arguments were: #<procedure:.../compiler/cm.rkt:594:4><br>
>><br>>> ... <br>>>><br>>>> Next question, what am I doing wrong?<br>>><br>>> Have you tried using "raco make c1.rkt" to compile the files?<br>>> <a href="http://docs.racket-lang.org/raco/make.html?q=raco%20make">http://docs.racket-lang.org/raco/make.html?q=raco%20make</a> <<a href="http://docs.racket-lang.org/raco/make.html?q=raco%20make">http://docs.racket-lang.org/raco/make.html?q=raco%20make</a>><br>
>> -- <br>>> Jens Axel Søgaard<br>>><br>>><br>><br>>