perl: warning: Setting locale failed. 错误处理


perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

这里给出在 Mac Lion (10.7) 和 Cygwin (Windows 10) 下的解决办法。 Continue reading “perl: warning: Setting locale failed. 错误处理”



yum -y install gcc gcc-c++ libtiff libtiff-devel libwww-perl make mysql-client mysql-devel ncurses-devel ngrep ntp openssl-devel patch perl-Crypt-SSLeay perl-DBI perl-DBD-MySQL perl-libwww-perl subversion

安装Perl Net::Server模块

perl -MCPAN -e 'install Net::Server'

安装Perl MIME::Lite模块

perl -MCPAN -e 'install MIME::Lite'

安装Perl HTML::Template模块

perl -MCPAN -e 'install HTML::Template'

安装Perl PDF::Report模块

perl -MCPAN -e 'install PDF::Report'

安装Perl Image::Size模块

perl -MCPAN -e 'install Image::Size'