[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: felix winkelmann
Subject: Re: [Chicken-users] Custom repository (for chicken .so files)
Date: Tue, 19 Sep 2006 11:57:03 +0200

On 9/19/06, Sridhar Ratna <address@hidden> wrote:

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?


(repository-path "/home/htdocs/chicken")

before doing the require.


reply via email to

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