[Koha] error installing Date::Manip
MJ Ray
markj at cloaked.freeserve.co.uk
Wed Aug 6 21:45:10 NZST 2003
Md. Aftabuddin <aftab at cubmb.ernet.in> wrote:
> Is it some font problem ?
> How to install fonts in linux ?
No, it is a locale problem. What are locales? From "man perllocale":
Perl can understand language-specific data via the standardized (ISO C,
XPG4, POSIX 1.c) method called "the locale system". The locale system
is controlled per application using one pragma, one function call, and
several environment variables.
The problem is that Date::Manip contains characters that are invalid
in the "UTF-8" locale, which seems to be the default in RedHat 8.
How could we fix this? Back to the manual page:
The two quickest fixes are either to render Perl silent about any
locale inconsistencies or to run Perl under the default locale "C".
[...]
Perl can be run under the "C" locale by setting the environment vari-
able LC_ALL to "C".
Running the command:
export LC_ALL=C
sets the variable mentioned. After using that command, you should be able
to install Date::Manip by following the normal instructions. The command
only works until you logout/close the window you were using, so it doesn't
make any long-term change. Let us know if it works for you.
I think you're seeing the same problem when you open the file in your text
editor. It just can't display the character on the screen. Again, using
the above command before starting the editor should let it.
It's not your computer that is broken. It's just a "disagreement" between
its settings and Date::Manip. Hopefully someone from this list can fix it.
Unless someone tells me they've already done it, I'll let the author of
Date::Manip know.
--
MJR/slef My Opinion Only and possibly not of any group I know.
http://mjr.towers.org.uk/ jabber://slef@jabber.at
Creative copyleft computing services via http://www.ttllp.co.uk/
Thought: Edwin A Abbott wrote about trouble with Windows in 1884
More information about the Koha
mailing list