IT技术博客大学习 共学习 共进步
全部 移动开发 后端 数据库 AI 算法 安全 DevOps 前端 设计 开发者

MT上“Name "Locale::Maketext::Lexicon" used only once:” 问题的解决: 改用Perl内置函数库

车东[Blog^2] 2010-08-01 19:56:30 累计浏览 2,236 次
本机暂存

    最近从服务器日志中经常发现MT的错误日志:

    Name "Locale::Maketext::Lexicon" used only once: possible typo at

     .../extlib/Locale/Maketext.pm line 653.,....

    解决方法:

    删除 mt/extlib/目录下的I18N/ 和 Locale/ 目录即可;

    原因:

    服务器上已经升级到Perl 5.10.x了: 很多国际化字符集方面的支持直接使用Perl内置的支持包即可。

    [chedong@titans ~/logs/chedong.com/http]$ perl -v

    This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi

    Copyright 1987-2007, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the

    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on

    this system using "man perl" or "perldoc perl". If you have access to the

    Internet, point your browser at http://www.perl.org/, the Perl Home Page.

同分类推荐文章

  1. 等了十年的 Go 链式管道,终于来了:seq 让你像写 Scala 一样写 Go (2026-06-25 18:38:18)
  2. Go 实验特性详解 (2026-06-21 10:05:27)
  3. amd64 微架构级别对 Go 程序性能提升多少? (2026-06-21 09:38:49)

查看更多 后端 文章 →

建议继续学习

  1. 使用gettext来支持PHP的多语言 (累计阅读 39,268)
  2. perl更新/修改/删除文本文件内容 (累计阅读 10,648)
  3. 404~遇见你是最美丽的错误 (累计阅读 9,351)
  4. perl大牛flw传说 (累计阅读 7,714)
  5. AWStats是一个基于Perl的WEB日志分析工具。 (累计阅读 7,176)
  6. perl模块Getopt::Std用法及实例-从命令行读取参数模块 (累计阅读 7,018)
  7. [Perl] Template::Toolkit 模板技术. (累计阅读 6,345)
  8. Perl命令行常见用法及技巧 (累计阅读 5,912)
  9. PHP将死,何以为继? (累计阅读 5,919)
  10. 在perl中连接和使用sqlite做数据存储 (累计阅读 5,813)