Subject: | Locale::Object won't build and install if locale is not default |
I tried to install Locale::Object using 'cpan' utility, and failed again
and again with mysterious errors. When trying to build and install it
by hand (manually), I have noticed that build and install doesn't work
if locale (LC_ALL etc.) is set to something other than default.
I have the following environmental variables set: LC_ALL=pl_PL and
LANG=pl_PL. When trying to build Locale::Object I got the following
mysterious error:
$ ./Build
/usr/bin/perl lib/copy-for-test.PL lib/copy-for-test
Couldn't make blib/ directory: Plik istnieje at lib/copy-for-test.PL
line 17.
lib/copy-for-test.PL failed at
/home/jnareb/perl5/lib/perl5/Module/Build/Base.pm line 2457.
Changing locale to default made ./Build work correctly:
$ LC_ALL=C ./Build
/usr/bin/perl lib/copy-for-test.PL lib/copy-for-test
(Sidenote: "Plik istnieje" means "File exists" in Polish)
I had no problems building any other module, including those required
for Locale::Object, like Test::Pod, Pod::Simple, DBD::SQLite, and DBI.
--------------------------------------------------------------
Locale-Object-0.78
perl, v5.8.6 built for i386-linux-thread-multi
Linux roke 2.6.14-11.1.aur.2 #1 Tue Jan 31 16:05:05 CET 2006 i686 athlon
i386 GNU/Linux