新しいblogに移行しました

新ブログ "All Yout Bugs Are Belong To Ass" に移行しました!

2009-05-27

[Linux]タイムゾーンの設定方法

トリアタマなので、メモ。

タイムゾーンを JST-9 に設定

# cp /usr/share/zoneinfo/Japan /etc/localtime

2009-05-15

[Perl]Encode/ConfigLocal.pmが無いと言われたら

なんか、「Can't locate Encode/ConfigLocal.pm」 とか言われたんです。この前。

で、ぐぐってみると、[perl] Encodeモジュールインストール後のCan't locate Encode/ConfigLocal.pm in @INC - おいぬま日報(不定期)に、書いてあったんです。

「enc2xs -C というコマンドを実行して、Encode/ConfigLocal.pmを生成すればいいようです。」


ほほぉ〜。どれどれ。

# enc2xs -C
require Encode::Detect;
require Encode::Detect::Detector;
require Encode::Detect;
require Encode::Detect::Detector;
require Encode::Detect;
require Encode::Detect::Detector;
require Encode;
require Encode::Config;
require Encode::Unicode;
require Encode::Symbol;
require Encode::TW;
require Encode::CJKConstants;
require Encode::GSM0338;
require Encode::JP;
require Encode::Encoding;
require Encode::CN;
require Encode::Encoder;
require Encode::Alias;
require Encode::Byte;
require Encode::EBCDIC;
require Encode::KR;
require Encode::Guess;
require Encode::KR::2022_KR;
require Encode::MIME::Header;
require Encode::MIME::Name;
require Encode::MIME::Header::ISO_2022_JP;
require Encode::CN::HZ;
require Encode::JP::JIS7;
require Encode::JP::H2Z;
require Encode::Unicode::UTF7;
require Encode::KR::2022_KR;
require Encode::MIME::Header;
require Encode::MIME::Header::ISO_2022_JP;
require Encode::CN::HZ;
require Encode::JP::JIS7;
require Encode::JP::H2Z;
require Encode::Unicode::UTF7;
require Encode;
require Encode::Config;
require Encode::Unicode;
require Encode::Symbol;
require Encode::TW;
require Encode::CJKConstants;
require Encode::GSM0338;
require Encode::JP;
require Encode::Encoding;
require Encode::CN;
require Encode::Encoder;
require Encode::Alias;
require Encode::Byte;
require Encode::EBCDIC;
require Encode::KR;
require Encode::Guess;
require Encode::KR::2022_KR;
require Encode::MIME::Header;
require Encode::MIME::Name;
require Encode::MIME::Header::ISO_2022_JP;
require Encode::CN::HZ;
require Encode::JP::JIS7;
require Encode::JP::H2Z;
require Encode::Unicode::UTF7;
$Encode::ExtModule{'Detect'} = "Encode::Detect";
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode
/usr/lib/perl5/5.8.8/Encode
Generating /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode/ConfigLocal.pm...


無事にEncode::ConfigLocalが生成されたみたいです。