Mark H Weaver <m...@netris.org> writes: > For now, I would try putting the following code at the beginning of your > custom 'install' phase: > > (setenv "LOCPATH" (getcwd)) > (zero? (system* "localedef" "--no-archive" > "--prefix" (getcwd) "-i" "en_US" > "-f" "UTF-8" "./en_US.UTF-8")) > (setlocale LC_ALL "en_US.UTF-8")
I just realized that the 'zero?' is pointless in that position. I would simply omit it, since if it fails the 'setlocale' should raise an exception anyway. Mark