> On Mar 8, 2023, at 7:39 PM, T. Kurt Bond <tkurtb...@gmail.com> wrote: > > I have a program that uses SRFI-19. It works fine when compiled on macOS > using CHICKEN from brew. However, when I compile it on Fedora 36 x86_64, > when run it issues the following errpr" > > Error: (file-exists?) system error while trying to access file: > "/usr/share/chicken/srfi-29-bundles/en/us/utf-8/srfi-19" > > Call history: > > utf8-case-map.scm:50: utf8-lolevel#write-utf8-char > utf8-case-map.scm:224: loop > utf8-case-map.scm:222: utf8-lolevel#read-utf8-char > utf8-case-map.scm:223: char-downcase-locale > utf8-case-map.scm:215: char-downcase* > utf8-case-map.scm:143: char-map-multi-case > utf8-case-map.scm:117: loop > utf8-case-map.scm:117: loop > utf8-case-map.scm:117: loop > utf8-case-map.scm:117: loop > utf8-case-map.scm:117: loop > utf8-case-map.scm:117: loop > utf8-case-map.scm:117: loop > utf8-case-map.scm:144: char-downcase-single > utf8-case-map.scm:50: utf8-lolevel#write-utf8-char > utf8-case-map.scm:224: loop <-- > > When I look, the file /usr/share/chicken/srfi-29-bundles/en/us/utf-8/srfi-19 > does not exist. Indeed, the directory > /usr/share/chicken/srfi-29-bundles/en/us/utf-8 does not exist. Instead, it's > at /usr/share/chicken/srfi-29-bundles/en/srfi-19. (Which is where the egg's > srfi-19.install.sh <http://srfi-19.install.sh/> installs it.) And it is in > the same place on macOS, but I do not get this error there. > > Any ideas?
sorry, i do not know why the system error but path makes sense: when there is something like “LANG=en_US.UTF-8” in the environment the bundle search begins at “.../en/us/utf-8/srfi-19”, then “.../en/us/srfi-19”, & “.../en/srfi-19”; dropping specifiers in a most to least order. (i'm using macOS with the LANG setting) > -- > T. Kurt Bond, tkurtb...@gmail.com <mailto:tkurtb...@gmail.com>, > https://tkurtbond.github.io <https://tkurtbond.github.io/>