[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Custom repository (for chicken .so files)

From: Sridhar Ratna
Subject: Re: [Chicken-users] Custom repository (for chicken .so files)
Date: Tue, 19 Sep 2006 14:22:55 +0530

On 9/15/06, felix winkelmann <address@hidden> 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
":";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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]