Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-10-2014, 01:22 AM   #1
LQ Newbie
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Install bugzilla 4.2.2 on Centos 6.5.

Iím sorry for putting following Centos issue here for I have not found appropriate distribution. If have, please just move this thread to there.

I want to install bugzilla 4.2.2 on Centos6.5. when I use /usr/bin/perl --all, in bugzilla folder, I got following issue:

Alert: While trying to 'dump' YAML file
with 'YAML' the following error was encountered:
  Undefined subroutine &main::main:: called at /var/www/html/bugzilla/lib/YAML/ line 6.

And plesae find the complete output,

# /usr/bin/perl --all
Checking for                 CPAN (v1.81)     ok: found v1.94 
Checking for                 YAML (any)       ok: found v0.89 
Checking for   ExtUtils-MakeMaker (v6.31)     ok: found v6.55_02 
Going to read '/root/.cpan/Metadata'
  Database was generated on Sun, 09 Feb 2014 15:06:25 GMT
Installing Template version 2.25...
Running install for module 'Template'
Running make for A/AB/ABW/Template-Toolkit-2.25.tar.gz
CPAN: Time::HiRes loaded ok (v1.9721)
Fetching with LWP:
Alert: While trying to 'dump' YAML file
with 'YAML' the following error was encountered:
  Undefined subroutine &main::main:: called at /var/www/html/bugzilla/lib/YAML/ line 6.
And this is the file, /var/www/html/bugzilla/lib/YAML/,

package YAML::Mo;
$YAML::Mo::VERSION = '0.89';
# use Mo qw[builder default import];
#   The following line of code was produced from the previous line by
#   Mo::Inline version 0.38
no warnings;my$M=__PACKAGE__.'::';*{$M.Object::new}=sub{my$c=shift;my$s=bless{@_},$c;my%n=%{$c.::.':E'};map{$s->{$_}=$n{$_}->()if!exists$s->{$_}}keys%n;$s};*{$M.import}=sub{import warnings;$^H|=1538;my($P,%e,%o)=caller.'::';shift;eval"no Mo::$_",&{$M.$_.::e}($P,\%e,\%o,\@_)for@_;return if$e{M};%e=(extends,sub{eval"no $_[0]()";@{$P.ISA}=$_[0]},has,sub{my$n=shift;my$m=sub{$#_?$_[0]{$n}=$_[1]:$_[0]{$n}};@_=(default,@_)if!($#_%2);$m=$o{$_}->($m,$n,@_)for sort keys%o;*{$P.$n}=$m},%e,);*{$P.$_}=$e{$_}for keys%e;@{$P.ISA}=$M.Object};*{$M.'builder::e'}=sub{my($P,$e,$o)=@_;$o->{builder}=sub{my($m,$n,%a)=@_;my$b=$a{builder}or return$m;my$i=exists$a{lazy}?$a{lazy}:!${$P.':N'};$i or ${$P.':E'}{$n}=\&{$P.$b}and return$m;sub{$#_?$m->(@_):!exists$_[0]{$n}?$_[0]{$n}=$_[0]->$b:$m->(@_)}}};*{$M.'default::e'}=sub{my($P,$e,$o)=@_;$o->{default}=sub{my($m,$n,%a)=@_;exists$a{default}or return$m;my($d,$r)=$a{default};my$g='HASH'eq($r=ref$d)?sub{+{%$d}}:'ARRAY'eq$r?sub{[@$d]}:'CODE'eq$r?$d:sub{$d};my$i=exists$a{lazy}?$a{lazy}:!${$P.':N'};$i or ${$P.':E'}{$n}=$g and return$m;sub{$#_?$m->(@_):!exists$_[0]{$n}?$_[0]{$n}=$g->(@_):$m->(@_)}}};my$i=\&import;*{$M.import}=sub{(@_==2 and not$_[1])?pop@_:@_==1?push@_,grep!/import/,@f:();goto&$i};@f=qw[builder default import];use strict;use warnings;

our $DumperModule = 'Data::Dumper';

my ($_new_error, $_info, $_scalar_info);

no strict 'refs';
*{$M.'Object::die'} = sub {
    my $self = shift;
    my $error = $self->$_new_error(@_);

*{$M.'Object::warn'} = sub {
    my $self = shift;
    return unless $^W;
    my $error = $self->$_new_error(@_);

# This code needs to be refactored to be simpler and more precise, and no,
# Scalar::Util doesn't DWIM.
# Can't handle:
# * blessed regexp
*{$M.'Object::node_info'} = sub {
    my $self = shift;
    my $stringify = $_[1] || 0;
    my ($class, $type, $id) =
"/var/www/html/bugzilla/lib/YAML/" [readonly] 81L, 3348C

Maybe the issue is with ďModule/Build.pmĒ or CPAN or YAML, but I donít know how to handle it.

Any suggestion is appreciated.

Old 02-11-2014, 11:30 AM   #2
LQ 5k Club
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,674
Blog Entries: 17

Rep: Reputation: Disabled shows you fixed this by installing YAML 0.74 ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
After installation of Bugzilla on linux machine, cannot see Bugzilla page on UI Linux - Software 0 03-15-2012 05:00 AM
Bugzilla on Centos 5.5 x81kilo Linux - Newbie 2 02-24-2011 01:13 AM
Bugzilla upgradation process in centos box nagababud Linux - Server 1 12-18-2009 03:11 AM
getting 403 forbidden message when try to access bugzilla on CENTOS server slasher_neo Linux - Newbie 1 07-24-2008 03:19 AM
Cant install bugzilla on Centos using YUM ALInux Linux - Software 6 06-01-2008 05:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration