On 9/15/06, felix winkelmann <[EMAIL PROTECTED]> wrote:
You can just set the CHICKEN_REPOSITORY environment variable - it
should contain the path where you want eggs to be installed.

I couldn't make this work with CGI apps though.

-bash-2.05b$ head stream-cgi-test.cgi
#!/bin/sh
":";exec /usr/local/bin/csi -s $0 "$@"

;; Set chicken respository path for importing eggs
(use posix)
(setenv "CHICKEN_REPOSITORY" "/home/htdocs/chicken")

(use stream-cgi html-stream)

Doing a 'setenv' programatically still doesn't work. Chicken bails out with following error,

Error: (require) can not load extension: stream-cgi

I think, chicken doesn't find the repository path at the time of (use posix), but before even the script is execute.
 
Any idea on how to overcome this problem?


--
http://www.nearfar.org/
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to