Last active
June 17, 2023 09:34
-
-
Save ArooBaito/4756ae379d42f7302a7fd61037629d26 to your computer and use it in GitHub Desktop.
Solutions to common problems for setting up Chicken Scheme on Guix and Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; GUIX WSL | |
;; When chicken-installing an egg: "error: linux/errno.h - No such file or directory" | |
;; Solution: 'guix install glibc' then restart the system. | |
;; Source: https://www.mail-archive.com/[email protected]/msg11969.html | |
;; If running Guix via WSL, restart the system by doing | |
;; 'wsl -d guix --shutdown', then re-run your guix-init.sh with | |
;; wsl.exe -d guix /bin/busybox sh -c "/mnt/c/sys/misc/guix-init.sh" | |
;; See https://gist.github.com/vldn-dev/de379bf81a80ff0a53cd851bcc3bbff2 for installing Guix on WSL. | |
;; Windows | |
;; To get chicken-install to work at all, download win-bash and add all of the programs to your path to enable | |
;; the use of cp and other Linux only commands | |
;; For SRFI-18, you will get an error saying '""C:' is not a valid command. Go into the %appdata%/local for chicken-install, | |
;; and change the build.bat to run csi and csc instead of %CSI_PATH% and %CSC_PATH% | |
;; For inferior Scheme in emacs, it's (setq scheme-program-name "csi -:c") | |
;; Both | |
;; When chicken-installing an egg: "install: cannot stat ".../srfi-(number).types" No such file or directory" | |
;; Solution: 'chicken-install -purge' 'chicken-install (your egg here) -v' | |
;; Source: https://lists.nongnu.org/archive/html/chicken-users/2019-07/msg00010.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment