安装mod_perl时出错

时间:2013-01-16 11:45:00

标签: perl apache2 web-deployment mod-perl apxs2

安装mod_perl时出现如下所示的错误。 我使用的是Ubuntu 12.04,Apache2.2.22,Perl 5.14。 请让我知道如何解决它

root@hafsal-sparksupport:~/mod_perl-2.0.7# perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
Reading Makefile.PL args from @ARGV
   MP_APXS = /usr/local/apache2/bin/apxs
no conflicting prior mod_perl version found - good.
************* WARNING *************

  Your Perl is configured to link against libgdbm,
  but libgdbm.so was not found.
  You could just symlink it to /usr/lib/x86_64-linux-gnu/libgdbm.so.3.0.0


************* WARNING *************
[  error] Unable to determine server version, aborting.
[  error] Invalid MP_APXS specified?

1 个答案:

答案 0 :(得分:6)

安装libgdm dev软件包:

aptitude install libgdbm-dev