Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Facing issues in Bugzilla 4.2 installalation

996872Mar 14 2013 — edited Mar 15 2013
Hi All,

I have to install Bugzilla 4.2 on Oracle Linux 5.6 64 bit OS.
I have installed the prerequisites . Such as .

1.perl-5.16.2.tar.gz
2.mysql-5.6.3-m6-linux2.6-x86_64.tar.gz
3.Apache 2.2

After that I ran ./checksetup.pl --check-modules to check all perl modules .
It has shown some missing modules .
Then I ran /usr/bin/perl install-module.pl --all to install automatically .
Most of the modules got installed .But still facing some issues in installing the rest modules.

[sabhijit@cr-beaodi-01 bugzilla-4.2.5]$ ./checksetup.pl --check-modules
* This is Bugzilla 4.2.5 on perl 5.8.8
* Running on Linux 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010

Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.63
Checking for Digest-SHA (any) ok: found v5.83
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.78
Checking for DateTime-TimeZone (v0.71) ok: found v1.57
Checking for DBI (v1.41) ok: found v1.623
Checking for Template-Toolkit (v2.22) ok: found v2.24
Checking for Email-Send (v2.00) ok: found v2.198
Checking for Email-MIME (v1.904) ok: found v1.911
Checking for URI (v1.37) ok: found v1.60
Checking for List-MoreUtils (v0.22) ok: found v0.33
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.001) not found
Checking for DBD-SQLite (v1.29) ok: found v1.37
Checking for DBD-Oracle (v1.19) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v2.1) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for MIME-tools (v5.406) ok: found v5.504
Checking for libwww-perl (any) ok: found v6.04
Checking for XML-Twig (any) not found
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.53
Checking for Authen-SASL (any) ok: found v2.16
Checking for RadiusPerl (any) ok: found v0.22
Checking for SOAP-Lite (v0.712) ok: found v0.715
Checking for JSON-RPC (any) ok: found v1.03
Checking for JSON-XS (v2.0) ok: found v2.33
Checking for Test-Taint (any) ok: found v1.06
Checking for HTML-Parser (v3.40) ok: found v3.55
Checking for HTML-Scrubber (any) ok: found v0.09
Checking for Encode (v2.21) ok: found v2.49
Checking for Encode-Detect (any) ok: found v1.01
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.10
Subroutine File::Slurp::O_RDWR redefined at lib/File/Slurp.pm line 11
Subroutine File::Slurp::O_CREAT redefined at lib/File/Slurp.pm line 11
Subroutine File::Slurp::O_EXCL redefined at lib/File/Slurp.pm line 11
Checking for Daemon-Generic (any) ok: found v0.82
Checking for mod_perl (v1.999022) not found
Checking for Apache-SizeLimit (v0.96) not found
***********************************************************************
* 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 *
* XML-Twig * Move Bugs Between Installations, Automatic Update Notifications *
* mod_perl * mod_perl *
* Apache-SizeLimit * mod_perl *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:

GD: /usr/bin/perl install-module.pl GD
Chart: /usr/bin/perl install-module.pl Chart::Lines
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
XML-Twig: /usr/bin/perl install-module.pl XML::Twig
mod_perl: /usr/bin/perl install-module.pl mod_perl2
Apache-SizeLimit: /usr/bin/perl install-module.pl Apache2::SizeLimit


To attempt an automatic install of every required and optional module
with one command, do:

/usr/bin/perl install-module.pl --all

[sabhijit@cr-beaodi-01 bugzilla-4.2.5]$

I got the below error when trying to install the rest modules.


CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.112621)
CPAN: Module::CoreList loaded ok (v2.82)

CPAN.pm: Building L/LD/LDS/GD-2.49.tar.gz

**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
Warning: No success on command[usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl]
LDS/GD-2.49.tar.gz
/usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl -- NOT OK
Skipping test because of notest pragma
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
Installing Chart::Lines version 2.004006...
Chart::Lines is up to date (2.4.6).


CPAN.pm: Building P/PH/PHRED/Apache-SizeLimit-0.96.tar.gz

Can't find mod_perl installed
The error was: Can't locate mod_perl2.pm in @INC (@INC contains: /home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/x86_64-linux-thread-multi /home/sabhijit/Bugzilla/bugzilla-4.2.5/lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at Makefile.PL line 149.
Warning: No success on command[usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl]
PHRED/Apache-SizeLimit-0.96.tar.gz
/usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl -- NOT OK
Skipping test because of notest pragma


CPAN.pm: Building C/CA/CAPTTOFU/DBD-mysql-4.022.tar.gz

Can't exec "mysql_config": No such file or directory at Makefile.PL line 83.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located


PLEASE NOTE:

For 'make test' to run properly, you must ensure that the
database user 'sabhijit' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.

mysql> grant all privileges on test.* to 'sabhijit'@'localhost' identified by 's3kr1t';

You can also optionally set the user to run 'make test' with:

perl Makefile.PL --testuser=username

Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
Warning: No success on command[usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl]
CAPTTOFU/DBD-mysql-4.022.tar.gz
/usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl -- NOT OK
Skipping test because of notest pragma
Running make install
Make had some problems, won't install
[sabhijit@cr-beaodi-01 bugzilla-4.2.5]$



I could not able to install DBD-mysql (v4.001) on it .


Can anyone suggest what would be the solution ?

Thanks a ton !!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2013
Added on Mar 14 2013
7 comments
4,438 views