gpt4 book ai didi

perl - apache2-Ubuntu 中的 Bugzilla 安装问题

转载 作者:太空宇宙 更新时间:2023-11-03 16:55:45 25 4
gpt4 key购买 nike

运行时

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

安装 mod_perl 的命令,用于在 apache2 Ubuntu 中安装 bugzilla。我收到以下错误。我已经安装了 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 ''

最佳答案

要解决 perl 库问题,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

重新运行,应该会更正它。

关于perl - apache2-Ubuntu 中的 Bugzilla 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20138092/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com