Dependencies on cock (really hate that name btw, very embarrassing to be working with a young female co-worker and have to maneuver around saying the name out loud, reflects very poorly on Chicken Scheme IMHO) made installing a hassle. To solve it I had to comment out the @(... lines and the compile options.
I'm not sure what the right solution is and I don't know why installing on this system failed:
> chicken-install
retrieving ...
checking platform for `call-with-environment-variables' ...
checking dependencies for `call-with-environment-variables' ...
install order:
("call-with-environment-variables")
installing call-with-environment-variables: ...
changing current directory to .
'/p/blah/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"call-with-environment-variables\" \"\"))" 'call-with-environment-variables.setup'
'/p/blah/bin/csc' -feature compiling-extension -setup-mode call-with-environment-variables.scm -shared -optimize-leaf-routines -inline -output-file call-with-environment-variables.so -emit-import-library call-with-environment-variables -X cock
Error: (open-input-file) cannot open file - No such file or directory: "cock"
Error: shell command terminated with non-zero exit status 17920: '/p/blah/bin/chicken' 'call-with-environment-variables.scm' -output-file 'call-with-environment-variables.c' -dynamic -feature chicken-compile-shared -feature compiling-extension -setup-mode -optimize-leaf-routines -inline -emit-import-library call-with-environment-variables -extend cock
Error: shell command failed with nonzero exit status 256:
'/p/blah/bin/csc' -feature compiling-extension -setup-mode call-with-environment-variables.scm -shared -optimize-leaf-routines -inline -output-file call-with-environment-variables.so -emit-import-library call-with-environment-variables -X cock
Error: shell command terminated with nonzero exit code
17920
"'/p/blah/bin/csi' -bnq -setup-mode -e \"(requi...