Проблем с инсталирането на Bugzilla в apache2- Ubuntu

При бягане

sudo /usr/bin/perl install-module.pl mod_perl2

команда за инсталиране на mod_perl за инсталиране на bugzilla в apache2 Ubuntu. Получих следната грешка. Инсталирах apache2, MySql и Perl.

Checking for                 CPAN (v1.81)     ok: found v1.960001 
Checking for                 YAML (any)       ok: found v0.84 
Checking for   ExtUtils-MakeMaker (v6.31)     ok: found v6.82 
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 20 Nov 2013 19:08:54 GMT
Installing mod_perl2 version 2.000008...
Running install for module 'mod_perl2'
Running make for P/PH/PHRED/mod_perl-2.0.8.tar.gz
Checksum for /root/.cpan/source/authors/id/P/PH/PHRED/mod_perl-2.0.8.tar.gz ok

  CPAN.pm: Going to build P/PH/PHRED/mod_perl-2.0.8.tar.gz

Reading Makefile.PL args from @ARGV
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 *************

Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.

If you don't yet have Apache installed you can build Apache against
the Apache source code, but you won't be able to run the test suite (a
very important step). Therefore you may want to install Apache before
proceeding.


Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):  


Please provide the location of the Apache directory:  
[  error] Can't find dir ''
Please provide the location of the Apache directory:  
[  error] Can't find dir ''

person user2956452    schedule 22.11.2013    source източник
comment
има ли причина да не инсталирате просто sudo apt-get libapache2-mod-perl?   -  person ysth    schedule 22.11.2013


Отговори (1)


За да разрешите проблема с perl lib, cd /usr/lib/x86_64-linux-gnu/ след това свържете libgdbm.so.3.0.0 към libgdbm.so. ln -s libgdbm.so.3.0.0 libgdbm.so. Това трябва да изясни първото предупреждение.

За проблема с apxs трябва да инсталирате apache2-dev. в Ubuntu използвайте следната команда sudo apt-get install apache2-dev

Повторете и това трябва да го коригира.

person Bert Davis    schedule 11.06.2014