Ok, I've figured out what went wrong, but I'm not sure why that happened.
Again, this is happening on macOS using homebrew to install CHICKEN Scheme
5.3.0.
The chickadee.install.sh commands that create .../share/chicken and copy
the directory chickadee to it use
/usr/local/Cellar/chicken/5.3.0/usr/local/Cellar/chicken/5.3.0/share/chicken
instead of /usr/local/Cellar/chicken/5.3.0/share/chicken. That is, it
repeats the /usr/local/Cellar/chicken/5.3.0/ part, so the files end up in
the wrong place.
Here are the commands from chickadee.install.sh:
mkdir -p
"${DESTDIR}"'/usr/local/Cellar/chicken/5.3.0/usr/local/Cellar/chicken/5.3.0/share/chicken'
cp -v -r '/Users/tkb/.cache/chicken-install/chickadee/chickadee'
"${DESTDIR}"'/usr/local/Cellar/chicken/5.3.0/usr/local/Cellar/chicken/5.3.0/share/chicken'
So, something is going wrong when chickadee.install.sh is generated.
I've added an issue in the chickadee github repository:
https://github.com/ursetto/chickadee/issues/1
On Thu, Dec 23, 2021 at 12:30 PM T. Kurt Bond <[email protected]> wrote:
> I'm using macOS with chicken from homebrew.
>
> I installed chicken-doc and then chickadee, but now when I run "chickadee
> serve" I get the following message:
>
> $ chickadee serve
>
>
> Error: (change-directory) cannot change current directory - No such file
> or directory: "/usr/local/Cellar/chicken/5.3.0/share/chicken/chickadee"
>
>
> Call history:
>
>
> spiffy.scm:548: chicken.condition#with-exception-handler
> spiffy.scm:548: ##sys#call-with-values
> spiffy.scm:548: scheme#eval
> <syntax> (let () (import openssl) ssl-port?)
> <syntax> (##core#let () (import openssl) ssl-port?)
> spiffy.scm:548: k691
> spiffy.scm:547: g694
> spiffy.scm:610: dynamic-import
> spiffy.scm:548: scheme#call-with-current-continuation
> spiffy.scm:548: chicken.condition#with-exception-handler
> spiffy.scm:548: ##sys#call-with-values
> spiffy.scm:548: scheme#eval
> <syntax> (let () (import openssl) ssl-port->tcp-port)
> <syntax> (##core#let () (import openssl) ssl-port->tcp-port)
> spiffy.scm:548: k691
> spiffy.scm:547: g694 <--
>
>
> And, indeed, that directory is missing. I've uninstalled chickadee and
> installed it again, but that made no difference.
>
> Any idea of what is going wrong?
> --
> T. Kurt Bond, [email protected], https://tkurtbond.github.io
>
--
T. Kurt Bond, [email protected], https://tkurtbond.github.io