using_chicken_on_sdf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
using_chicken_on_sdf [2021/03/17 20:44] – [Install Eggs] hc9 | using_chicken_on_sdf [2021/03/17 20:48] – [Play Around] hc9 | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Learn ===== | ===== Learn ===== | ||
- | To learn Scheme programming, | + | To learn Scheme programming, |
To learn about Chicken, check out the [[http:// | To learn about Chicken, check out the [[http:// | ||
Line 11: | Line 11: | ||
===== Play Around ===== | ===== Play Around ===== | ||
- | To play with Chicken, start the interactive interpreter by running csi. It should look like this: | + | To play with Chicken, start the interactive interpreter by running |
< | < | ||
Line 46: | Line 46: | ||
I'll assume you're running Bash as your shell and that you want to keep Chicken-related files in ~/chicken. First create a directory for a Chicken repository: | I'll assume you're running Bash as your shell and that you want to keep Chicken-related files in ~/chicken. First create a directory for a Chicken repository: | ||
+ | < | ||
mkdir -p ~/ | mkdir -p ~/ | ||
+ | </ | ||
Then install the repository: | Then install the repository: | ||
+ | < | ||
chicken-install -init ~/ | chicken-install -init ~/ | ||
+ | </ | ||
Then create some environment variables so Chicken will know to use your new repository for eggs, and will compile against SDF's system libraries when installing eggs: | Then create some environment variables so Chicken will know to use your new repository for eggs, and will compile against SDF's system libraries when installing eggs: | ||
+ | < | ||
export CHICKEN_INCLUDE_PATH=${HOME}/ | export CHICKEN_INCLUDE_PATH=${HOME}/ | ||
export CHICKEN_REPOSITORY=${HOME}/ | export CHICKEN_REPOSITORY=${HOME}/ | ||
export CSC_OPTIONS=" | export CSC_OPTIONS=" | ||
+ | </ | ||
(You may also wish to put the above lines in a shell startup file, like ~/ | (You may also wish to put the above lines in a shell startup file, like ~/ | ||
Line 62: | Line 68: | ||
Now you can install the readline egg: | Now you can install the readline egg: | ||
+ | < | ||
chicken-install readline | chicken-install readline | ||
+ | </ | ||
If the install was successful, we can check whether everything' | If the install was successful, we can check whether everything' |
using_chicken_on_sdf.txt · Last modified: 2021/03/17 20:52 by hc9