On Thursday, April 18, 2013 2:12:37 AM UTC-4,
edu5...@gmail.com wrote:
> I wonder how to use Racket for CGI in a hosting service. The problem is that Racket requires a lot of libraries from its collections. Many inexpensive hosting services offer a sand box where Racket cannot find a clear path to the collections. Is there an easy way to bundle everything into a single executable file? Something like save-lisp-and-die in SBCL. Another options would be to inform Racket the relative position of the collections.
You can generate a single executable from Racket using the 'raco' tool, in particular the 'exe' subcommand.
You can also configure where Racket finds the collections using the PLTCOLLECTS environment variable.
If you can provide more info about what happens when Racket tries to find the collections, we can maybe give other suggestions as well.
Also, I encourage you to check out the racket users mailing list and the #racket irc channel (both described here:
http://racket-lang.org/community.html ) where more Racketeers hang out and can perhaps provide more help.
Sam