更新时间:2022-12-07 11:15:29
安装Perl模块的最简单方法是使用CPAN:
The simplest way to install Perl modules is to use CPAN:
% perl -MCPAN -eshell
CPAN[1]> install DBI
就您而言,您似乎缺少一些标头-在尝试安装DBI之前,尝试安装内核标头RPM(使用up2date,yum,apt-get等).
In your case it looks like you are missing some headers - try installing the kernel-headers RPM (using up2date, yum, apt-get, etc.) before trying to install DBI.