Welcome to the CHICKEN Scheme pasting service

here's my dumb alt repo script added by zbigniew the magnificent on Thu Sep 27 22:44:44 2012

PREFIX=$HOME/tmp/chicken-doc
LIBDIR=$PREFIX/lib/chicken/6
CPATH=$HOME/local/chicken-4.7.0.6
EGGS="chicken-doc"

# create the prefix lib dir, simply (`mkdir -p $LIBDIR` should also work)
$CPATH/bin/chicken-install -p $PREFIX matchable
# initialize repo so we can install into it
$CPATH/bin/chicken-install -i $LIBDIR
# install chicken-doc and all deps into clean repo
CHICKEN_REPOSITORY=$LIBDIR $CPATH/bin/chicken-install -p $PREFIX $EGGS

### chicken-doc specific

# make parent dir for chicken-doc's data dir (as it is not created by chicken-install -i)
mkdir -p $PREFIX/share/chicken
# init repo
# CHICKEN_PREFIX=$PREFIX $PREFIX/bin/chicken-doc-admin -i

## to chicken-install into your repo, etc. you must set CHICKEN_REPOSITORY=$LIBDIR
##   and leave CHICKEN_PREFIX empty;
## this is because your CHICKEN_PREFIX does not hold a full install of chicken and
## chicken-install relies on csc, csi being in the PREFIX, not the PATH

## to use chicken-doc you must set CHICKEN_PREFIX=$PREFIX, or set both
##   CHICKEN_REPOSITORY=$LIBDIR and CHICKEN_DOC_REPOSITORY=/path/to/cdoc-repo;
## this is because the default repo is looked for in CHICKEN_PREFIX.

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the result of `(let ((- +)) (- 4 3 8))'?
Visually impaired? Let me spell it for you (wav file) download WAV