bugzilla在linux下的安装,跪求高手指点啊。。。
运行了下面的命令,中途报错,就退出了# /usr/bin/perl install-module.pl --all
然后运行了下面的命令:
# perl checksetup.pl
* This is Bugzilla 3.3.4 on perl 5.8.5
* Running on Linux 2.6.9-67.0.15.ELsmp #1 SMP Thu May 8 10:50:20 EDT 2008
Checking perl modules...
Checking for CGI.pm (v3.21) ok: found v3.43
Checking for Digest-SHA (any) ok: found v5.47
Checking for TimeDate (v2.21) ok: found v2.22
Checking for DateTime (v0.28) ok: found v0.50
Checking for DateTime-TimeZone (v0.71) ok: found v0.90
Checking for PathTools (v0.84) ok: found v0.87
Checking for DBI (v1.41) ok: found v1.608
Checking for Template-Toolkit (v2.15) ok: found v2.20
Checking for Email-Send (v2.00) ok: found v2.194
Checking for Email-MIME (v1.861)ok: found v1.863
Checking for Email-MIME-Modifier (v1.442)ok: found v1.444
Checking for URI (any) ok: found v1.30
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) found v2.9004
Checking for DBD-Oracle (v1.19) not found
The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) ok: found v3.13
Checking for MIME-tools (v5.406)ok: found v5.427
Checking for libwww-perl (any) ok: found v2.031
Checking for PatchReader (v0.9.4)ok: found v0.9.5
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) ok: found v0.31
Checking for Authen-SASL (any) ok: found v2.12
Checking for RadiusPerl (any) ok: found v0.13
Checking for SOAP-Lite (any) ok: found v0.710.08
Checking for HTML-Parser (v3.40) ok: found v3.60
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) ok: found v1.07
Checking for Daemon-Generic (any) ok: found v0.61
Checking for mod_perl (v1.999022)not found
***********************************************************************
* DATABASE ACCESS *
***********************************************************************
* In order to access your database, Bugzilla requires that the *
* correct "DBD" module be installed for the database that you are *
* running. See below for the correct command to run to install the *
* appropriate module for your database. *
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. Below that table are the*
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
*GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
*PerlMagick * Optionally Convert BMP Attachments to PNGs *
* mod_perl * mod_perl *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:
GD: /usr/bin/perl install-module.pl GD
Chart: /usr/bin/perl install-module.pl Chart::Base
Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image
GDTextUtil: /usr/bin/perl install-module.pl GD::Text
GDGraph: /usr/bin/perl install-module.pl GD::Graph
PerlMagick: /usr/bin/perl install-module.pl Image::Magick
mod_perl: /usr/bin/perl install-module.pl mod_perl2
YOU MUST RUN ONE OF THE FOLLOWING COMMANDS (depending on which database
you use):
PostgreSQL: /usr/bin/perl install-module.pl DBD::Pg
MySQL: /usr/bin/perl install-module.pl DBD::mysql
Oracle: /usr/bin/perl install-module.pl DBD::Oracle
To attempt an automatic install of every required and optional module
with one command, do:
/usr/bin/perl install-module.pl --all
按照上面的提示运行了下面的命令:
root@localhost bugzilla]#/usr/bin/perl install-module.pl DBD::mysql
运行后提示如下:
**
*
*
dbdimp.c:4407: error: dereferencing pointer to incomplete type
dbdimp.c:4408: error: dereferencing pointer to incomplete type
dbdimp.c:4409: error: dereferencing pointer to incomplete type
dbdimp.c:4409: error: dereferencing pointer to incomplete type
dbdimp.c:4417: error: dereferencing pointer to incomplete type
dbdimp.c:4417: error: dereferencing pointer to incomplete type
dbdimp.c:4418: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:4419: error: dereferencing pointer to incomplete type
dbdimp.c:4420: error: dereferencing pointer to incomplete type
dbdimp.c:4423: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_quote':
dbdimp.c:4583: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_last_insert_id':
dbdimp.c:4606: error: dereferencing pointer to incomplete type
make: *** 错误 1
/usr/bin/make-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
对linux不熟悉,这个是什么问题啊?请各位高手指点下啊,我的mysql是用免安装的,直接放在/usr/local/mysql下面,然后用/usr/local/mysql/support-files/my-medium.cnf替换掉/etc/my.cnf。mysql可以正常使用。
页:
[1]