[racket] Delivering / distributing an application that uses places

From: Ryan Culpepper (ryan at cs.utah.edu)
Date: Tue Jan 24 18:24:13 EST 2012

On 01/24/2012 11:42 AM, Brian Mastenbrook wrote:
> On 11/15/2011 08:22 PM, Matthew Flatt wrote:
>>>> On 11/04/2011 11:40 AM, Brian Mastenbrook wrote:
>>>>> I can't figure out how to distribute an application that uses places.
>> I've pushed a repair for the current development version.
>> (Unfortunately, I see no workaround that would make v5.2 and earlier
>> work.)
> This has been working fine for me for applications that use the `place'
> form, but applications using `db' and the #:use-place argument to
> `sqlite3-connect' still do not work out of the box:
> standard-module-name-resolver: collection not found:
> "db/private/generic" in any of: ()
> === context ===
> standard-module-name-resolver
> I take it this is a result of the use of `dynamic-place' instead of
> `place'? In any event, I can work around this by adding (require
> db/private/generic/place-server) to my module.

Thanks for the report. The problem was indeed due to my using 
dynamic-place; I've added a use of define-runtime-module-path-index so 
the compiler knows about the dependency.


Posted on the users mailing list.