Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Racket for CGI

64 views
Skip to first unread message

edu5...@gmail.com

unread,
Apr 18, 2013, 2:12:37 AM4/18/13
to
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.

M. Strobel

unread,
Apr 18, 2013, 3:29:14 AM4/18/13
to
Am 18.04.2013 08:12, schrieb edu5...@gmail.com:
> 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.
>

Good luck!

Such simple things seem to be too easy for the Scheme community to do, they are only
interested in more challenging projects like web servers.

The fact that other languages are successfully widely used this way does not count,
because success does not count.

Maybe the users should count...

Greetings from a frustrated user

/Str.

Sam Tobin-Hochstadt

unread,
Apr 18, 2013, 9:29:23 AM4/18/13
to
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

gavino_learning

unread,
Apr 25, 2013, 10:21:05 PM4/25/13
to
dont be frustrated racket is nice

easy to install

esp on your own cloud node
0 new messages